From 8f0ea2b4c09a28553907cd28a24f4e75aad82ebd Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Sat, 19 Jan 2013 18:21:23 +0100 Subject: [PATCH] pythonPackages: default to python's maintainers and platforms --- pkgs/development/python-modules/generic/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 8a70741c36b3..b014d93ba126 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -40,6 +40,8 @@ , preInstall ? "" , postInstall ? "" +, meta ? {} + , ... } @ attrs: # Keep extra attributes from ATTR, e.g., `patchPhase', etc. @@ -48,6 +50,12 @@ python.stdenv.mkDerivation (attrs // { name = namePrefix + name; + # default values for maintainers and platforms + meta = { + maintainers = python.meta.maintainers; + platforms = python.meta.platforms; + } // meta; + # checkPhase after installPhase to run tests on installed packages phases = "unpackPhase patchPhase configurePhase buildPhase installPhase checkPhase fixupPhase distPhase";