auditwheel: move to python3Packages

Otherwise python310.pkgs.playwright fails to build because it uses
auditwheel for Python 3.11.
This commit is contained in:
Robert Schütz
2023-11-30 08:34:55 -08:00
parent c05d8bb3a0
commit 5e93ac2367
3 changed files with 24 additions and 10 deletions
@@ -1,32 +1,42 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
, pyelftools
, importlib-metadata
, pretend
, pytestCheckHook
# non-python dependencies
, bzip2
, patchelf
, python3
, fetchPypi
, gnutar
, unzip
}:
python3.pkgs.buildPythonApplication rec {
buildPythonPackage rec {
pname = "auditwheel";
version = "5.1.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-PuWDABSTHqhK9c0GXGN7ZhTvoD2biL2Pv8kk5+0B1ro=";
};
nativeBuildInputs = with python3.pkgs; [
pbr
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = [
pyelftools
setuptools
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
nativeCheckInputs = with python3.pkgs; [
nativeCheckInputs = [
pretend
pytestCheckHook
];
+1 -1
View File
@@ -1705,7 +1705,7 @@ with pkgs;
audiobookshelf = callPackage ../servers/audiobookshelf { };
auditwheel = callPackage ../tools/package-management/auditwheel { };
auditwheel = with python3Packages; toPythonApplication auditwheel;
amidst = callPackage ../tools/games/minecraft/amidst { };
+4
View File
@@ -886,6 +886,10 @@ self: super: with self; {
auditok = callPackage ../development/python-modules/auditok { };
auditwheel = callPackage ../development/python-modules/auditwheel {
inherit (pkgs) bzip2 gnutar patchelf unzip;
};
augeas = callPackage ../development/python-modules/augeas {
inherit (pkgs) augeas;
};