diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-20 15:33:35 +0200 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-10-20 19:48:00 +0200 |
commit | 56727dc1ff430bc2d39b08601e03094de4ab189e (patch) | |
tree | aeb134a24d5f6759b9bbdb60824d453aba50775b /pkgs/development/python-modules/wheel | |
parent | 1fca2ab52dacc18bb0e7a152709924c585760737 (diff) | |
download | nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.tar nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.tar.gz nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.tar.bz2 nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.tar.lz nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.tar.xz nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.tar.zst nixlib-56727dc1ff430bc2d39b08601e03094de4ab189e.zip |
Python: setuptools/wheel/pip now bootstrap from source
Since wheel support was introduced in 2015 we always relied on pre-built wheels for bootstrapping. Now, we can bootstrap directly from the sources of these packages in git. The `bootstrapped-pip` packages is used to build `pip`, `setuptools` and `wheel`, after which those packages are used to build everything else. Note that when building `bootstrapped-pip` some errors are shown. These are not important, the build actually does succeed and work as intended.
Diffstat (limited to 'pkgs/development/python-modules/wheel')
-rw-r--r-- | pkgs/development/python-modules/wheel/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/wheel/default.nix b/pkgs/development/python-modules/wheel/default.nix index 0ba5b19597ee..8b6aa35b1ac6 100644 --- a/pkgs/development/python-modules/wheel/default.nix +++ b/pkgs/development/python-modules/wheel/default.nix @@ -2,7 +2,7 @@ , setuptools , pip , buildPythonPackage -, fetchPypi +, fetchFromGitHub , pytest , pytestcov , coverage @@ -15,9 +15,12 @@ buildPythonPackage rec { version = "0.33.6"; format = "other"; - src = fetchPypi { - inherit pname version; - sha256 = "10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646"; + src = fetchFromGitHub { + owner = "pypa"; + repo = pname; + rev = version; + sha256 = "1bg4bxazsjxp621ymaykd8l75k7rvcvwawlipmjk7nsrl72l4p0s"; + name = "${pname}-${version}-source"; }; checkInputs = [ pytest pytestcov coverage ]; |