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:
Theodore Ni 2023-07-28 02:24:32 -07:00 committed by Frederik Rietdijk
parent dd1256d2ca
commit 3cd71e0ae6

View File

@ -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";