forked from mirrors/nixpkgs
pythonPackages: default to python's maintainers and platforms
This commit is contained in:
parent
ff461b0755
commit
8f0ea2b4c0
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue