3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.wheel: move expression to separate file

This commit is contained in:
Frederik Rietdijk 2017-06-01 18:01:24 +02:00
parent 49edb1138a
commit 10ee7b2bda
2 changed files with 33 additions and 22 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, coverage
, jsonschema
}:
buildPythonPackage rec {
pname = "wheel";
version = "0.29.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648";
};
buildInputs = [ pytest pytestcov coverage ];
propagatedBuildInputs = [ jsonschema ];
# We add this flag to ignore the copy installed by bootstrapped-pip
installFlags = [ "--ignore-installed" ];
meta = {
description = "A built-package format for Python";
license = with lib.licenses; [ mit ];
homepage = https://bitbucket.org/pypa/wheel/;
};
}

View file

@ -25922,28 +25922,7 @@ EOF
};
};
wheel = buildPythonPackage rec {
name = "wheel-${version}";
version = "0.29.0";
src = pkgs.fetchurl {
url = "mirror://pypi/w/wheel/${name}.tar.gz";
sha256 = "1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648";
};
buildInputs = with self; [ pytest pytestcov coverage ];
propagatedBuildInputs = with self; [ jsonschema ];
# We add this flag to ignore the copy installed by bootstrapped-pip
installFlags = [ "--ignore-installed" ];
meta = {
description = "A built-package format for Python";
license = with licenses; [ mit ];
homepage = https://bitbucket.org/pypa/wheel/;
};
};
wheel = callPackage ../development/python-modules/wheel { };
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };