pythonPackages: default to python's maintainers and platforms

This commit is contained in:
Florian Friesdorf 2013-01-19 18:21:23 +01:00
parent ff461b0755
commit 8f0ea2b4c0

View file

@ -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";