pythonPackages.wheel: move expression to separate file
This commit is contained in:
parent
49edb1138a
commit
10ee7b2bda
32
pkgs/development/python-modules/wheel/default.nix
Normal file
32
pkgs/development/python-modules/wheel/default.nix
Normal 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/;
|
||||||
|
};
|
||||||
|
}
|
@ -25922,28 +25922,7 @@ EOF
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wheel = buildPythonPackage rec {
|
wheel = callPackage ../development/python-modules/wheel { };
|
||||||
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/;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };
|
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user