python312Packages.xdis: support new python minor versions (#350138)

This commit is contained in:
Aleksana
2024-10-27 12:08:27 +08:00
committed by GitHub
@@ -6,13 +6,14 @@
fetchpatch,
pytestCheckHook,
pythonOlder,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "xdis";
version = "6.1.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
@@ -24,7 +25,6 @@ buildPythonPackage rec {
};
# Backport magics for newer newer python versions
# 6.1.1 only supports up to 3.12.4 while nixpkgs is already on 3.12.5+
patches = [
(fetchpatch {
url = "https://github.com/rocky/python-xdis/commit/fcba74a7f64c5e2879ca0779ff10f38f9229e7da.patch";
@@ -34,9 +34,25 @@ buildPythonPackage rec {
url = "https://github.com/rocky/python-xdis/commit/b66976ff53a2c6e17a73fb7652ddd6c8054df8db.patch";
hash = "sha256-KO1y0nDTPmEZ+0/3Pjh+CvTdpr/p4AYZ8XdH5J+XzXo=";
})
(fetchpatch {
url = "https://github.com/rocky/python-xdis/commit/a9f50c0ba77cdbf4693388404c13a02796a4221a.patch";
hash = "sha256-gwMagKBY7d/+ohESTSl6M2IEjzABxfrddpdr58VJAk8=";
})
(fetchpatch {
url = "https://github.com/rocky/python-xdis/commit/d9e15acae76a413667912a10fbf8259711ed9c65.patch";
hash = "sha256-hpmKg+K1RiLSnmUIS8KtZRVBfvTO9bWbpsNhBFUM38o=";
})
(fetchpatch {
url = "https://github.com/rocky/python-xdis/commit/b412c878d0bc1b516bd01612d46d8830c36a14ad.patch";
hash = "sha256-W1JuIXYLO6iyjWiSnzCoXzFsedZjesq31gEPgrtjxas=";
})
];
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
click
six
];