Merge remote-tracking branch 'upstream/master' into stdenv-updates

This commit is contained in:
Rickard Nilsson
2013-01-20 16:53:21 +01:00
41 changed files with 537 additions and 127 deletions

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