0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.importlib-resources: 6.4.5 -> 6.5.2

This commit is contained in:
Martin Weinelt 2025-01-19 21:15:55 +01:00
parent 815c84119d
commit 9cc52fdcb7
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch2,
pythonOlder,
# build-system
@ -23,7 +22,7 @@
buildPythonPackage rec {
pname = "importlib-resources";
version = "6.4.5";
version = "6.5.2";
pyproject = true;
disabled = pythonOlder "3.6";
@ -31,18 +30,9 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "importlib_resources";
inherit version;
hash = "sha256-mAhiodFsnhR6WWA2d/oqpf2CuH8iO2y4cGlbz86DAGU=";
hash = "sha256-GF+Hre9bzCiESdmPtPugfOp4vANkVd1ExfxKL+eP7Sw=";
};
patches = [
(fetchpatch2 {
# https://github.com/python/importlib_resources/issues/318
name = "python-3.13-compat.patch";
url = "https://github.com/python/importlib_resources/commit/8684c7a028b65381ec6c6724e2f9c9bea7df0aee.patch";
hash = "sha256-mb2V4rQPKyi5jMQ+yCf9fY3vHxB54BhvLzy2NNc0zNc=";
})
];
build-system = [
setuptools
setuptools-scm