python3Packages.setuptools: 50.3.1 -> 54.2.0
This commit is contained in:
parent
8ef8f6b43c
commit
252ae44416
@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
echo "Building setuptools wheel..."
|
echo "Building setuptools wheel..."
|
||||||
pushd setuptools
|
pushd setuptools
|
||||||
|
rm pyproject.toml
|
||||||
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
|
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python
|
, python
|
||||||
@ -13,7 +14,12 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "setuptools";
|
pname = "setuptools";
|
||||||
version = "50.3.1";
|
version = "54.2.0";
|
||||||
|
|
||||||
|
bootstrap = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/pypa/setuptools/v52.0.0/bootstrap.py";
|
||||||
|
sha256 = "sha256-HzhlnJvMskBfb3kVnYltdnjS63wt1GWd0RK+VQqrJQ8=";
|
||||||
|
};
|
||||||
|
|
||||||
# Create an sdist of setuptools
|
# Create an sdist of setuptools
|
||||||
sdist = stdenv.mkDerivation rec {
|
sdist = stdenv.mkDerivation rec {
|
||||||
@ -23,7 +29,7 @@ let
|
|||||||
owner = "pypa";
|
owner = "pypa";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "Z4KHB3Pv4wZPou/Vbp1DFDgDp47OTDfVChGP55GtIJE=";
|
sha256 = "sha256-ZHJZiwlWLHP4vf2TLwj/DYB9wjbRp0apVmmjsKCLPq0=";
|
||||||
name = "${pname}-${version}-source";
|
name = "${pname}-${version}-source";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -32,6 +38,7 @@ let
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
cp ${bootstrap} bootstrap.py
|
||||||
${python.pythonForBuild.interpreter} bootstrap.py
|
${python.pythonForBuild.interpreter} bootstrap.py
|
||||||
${python.pythonForBuild.interpreter} setup.py sdist --formats=gztar
|
${python.pythonForBuild.interpreter} setup.py sdist --formats=gztar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user