mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
python3.pkgs.wheel: 0.38.4 -> 0.41.1
In this new version of wheel, the build backend changed from setuptools to flit-core. This is nice because it breaks a cycle between setuptools and wheel.
This commit is contained in:
parent
dd1256d2ca
commit
3cd71e0ae6
@ -1,21 +1,19 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, bootstrapped-pip
|
||||
, setuptools
|
||||
, flit-core
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wheel";
|
||||
version = "0.38.4";
|
||||
format = "other";
|
||||
version = "0.41.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pypa";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-yZLU0t/nz6kfnnoLL15bybOxN4+SJUaTJsCpGffl1QU=";
|
||||
name = "${pname}-${version}-source";
|
||||
hash = "sha256-/EaDJ2zI/ly2BrrGhiZGwiBYDVPYWTki+87UqtCS3bw=";
|
||||
postFetch = ''
|
||||
cd $out
|
||||
mv tests/testdata/unicode.dist/unicodedist/åäö_日本語.py \
|
||||
@ -25,16 +23,13 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
bootstrapped-pip
|
||||
setuptools
|
||||
flit-core
|
||||
];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "wheel" ];
|
||||
|
||||
# We add this flag to ignore the copy installed by bootstrapped-pip
|
||||
pipInstallFlags = [ "--ignore-installed" ];
|
||||
pythonImportsCheck = [ "wheel" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pypa/wheel";
|
||||
|
Loading…
Reference in New Issue
Block a user