forked from mirrors/nixpkgs
Revert "buildSetupcfg: Include unzip for zip sources."
Misunderstood the error I was seeing.
This reverts commit 0d3eb70133
.
This commit is contained in:
parent
0d3eb70133
commit
603a369b89
|
@ -6,7 +6,7 @@
|
||||||
# * application: Whether this package is a python library or an
|
# * application: Whether this package is a python library or an
|
||||||
# application which happens to be written in python.
|
# application which happens to be written in python.
|
||||||
# * doCheck: Whether to run the test suites.
|
# * doCheck: Whether to run the test suites.
|
||||||
{ pkgs, pythonPackages }:
|
pythonPackages:
|
||||||
{ src, info, meta ? {}, application ? false, doCheck ? true }: let
|
{ src, info, meta ? {}, application ? false, doCheck ? true }: let
|
||||||
build = if application
|
build = if application
|
||||||
then pythonPackages.buildPythonApplication
|
then pythonPackages.buildPythonApplication
|
||||||
|
@ -16,9 +16,7 @@ in build {
|
||||||
|
|
||||||
inherit src meta doCheck;
|
inherit src meta doCheck;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = map (p: pythonPackages.${p}) (
|
||||||
pkgs.unzip
|
|
||||||
] ++ map (p: pythonPackages.${p}) (
|
|
||||||
(info.setup_requires or []) ++
|
(info.setup_requires or []) ++
|
||||||
(if doCheck then (info.tests_require or []) else []));
|
(if doCheck then (info.tests_require or []) else []));
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,7 @@ let
|
||||||
}));
|
}));
|
||||||
|
|
||||||
# See build-setupcfg/default.nix for documentation.
|
# See build-setupcfg/default.nix for documentation.
|
||||||
buildSetupcfg = import ../build-support/build-setupcfg
|
buildSetupcfg = import ../build-support/build-setupcfg self;
|
||||||
{ inherit pkgs; pythonPackages = self; };
|
|
||||||
|
|
||||||
graphiteVersion = "1.0.2";
|
graphiteVersion = "1.0.2";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue