python.pkgs.setuptools: 30.2.0 -> 36.0.1
This commit is contained in:
parent
bdd3f30739
commit
6dfbfd6a07
@ -1,18 +1,23 @@
|
|||||||
{ stdenv, lib, fetchurl, python, wrapPython }:
|
{ stdenv
|
||||||
|
, fetchPypi
|
||||||
|
, python
|
||||||
|
, wrapPython
|
||||||
|
, unzip
|
||||||
|
}:
|
||||||
|
|
||||||
|
# Should use buildPythonPackage here somehow
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "setuptools";
|
pname = "setuptools";
|
||||||
shortName = "${pname}-${version}";
|
version = "36.0.1";
|
||||||
name = "${python.libPrefix}-${shortName}";
|
name = "${python.libPrefix}-${pname}-${version}";
|
||||||
|
|
||||||
version = "30.2.0";
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
src = fetchurl {
|
extension = "zip";
|
||||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${shortName}.tar.gz";
|
sha256 = "e17c4687fddd6d70a6604ac0ad25e33324cec71b5137267dd5c45e103c4b288a";
|
||||||
sha256 = "f865709919903e3399343c0b3c42f95e9aeddc41e38cfb334fb2bb5dfa384857";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python wrapPython ];
|
buildInputs = [ python wrapPython unzip ];
|
||||||
doCheck = false; # requires pytest
|
doCheck = false; # requires pytest
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dst=$out/${python.sitePackages}
|
dst=$out/${python.sitePackages}
|
||||||
@ -27,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Utilities to facilitate the installation of Python packages";
|
description = "Utilities to facilitate the installation of Python packages";
|
||||||
homepage = http://pypi.python.org/pypi/setuptools;
|
homepage = http://pypi.python.org/pypi/setuptools;
|
||||||
license = with lib.licenses; [ psfl zpt20 ];
|
license = with licenses; [ psfl zpt20 ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
priority = 10;
|
priority = 10;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user