Merge pull request #316486 from fabaff/pynetdicom-bump

python312Packages.pynetdicom: 2.0.2 -> 2.1.0
This commit is contained in:
Fabian Affolter 2024-06-02 08:49:39 +02:00 committed by GitHub
commit d4bd12836d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,19 +3,18 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
poetry-core,
pydicom,
pyfakefs,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
sqlalchemy,
}:
buildPythonPackage rec {
pname = "pynetdicom";
version = "2.0.2";
version = "2.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,30 +23,10 @@ buildPythonPackage rec {
owner = "pydicom";
repo = "pynetdicom";
rev = "refs/tags/v${version}";
hash = "sha256-/JWQUtFBW4uqCbs/nUxj1pRBfTCXV4wcqTkqvzpdFrM=";
hash = "sha256-gAgNSvNn5VsctqhbT/CzFVhwCEpZwGb1pOh0JwkuAW8=";
};
patches = [
(fetchpatch {
name = "fix-python-3.11-test-attribute-errors.patch";
url = "https://github.com/pydicom/pynetdicom/pull/754/commits/2126bd932d6dfb3f07045eb9400acb7eaa1b3069.patch";
hash = "sha256-t6Lg0sTZSWIE5q5pkBvEoHDQ+cklDn8SgNBcFk1myp4=";
})
(fetchpatch {
# https://github.com/pydicom/pynetdicom/pull/848
name = "replace-setup-with-setup_method1.patch";
url = "https://github.com/pydicom/pynetdicom/commit/09b4e0901445d46868668bc69a7b4f7f00cf6cbb.patch";
hash = "sha256-1ea1A/LU6qY+hd23b6H4OkKHQ0hI2/MYgBgZUZE0kRU=";
})
(fetchpatch {
# https://github.com/pydicom/pynetdicom/pull/848
name = "replace-setup-with-setup_method2.patch";
url = "https://github.com/pydicom/pynetdicom/commit/3966c2d749eeda718caccf9a88a0495d1823825d.patch";
hash = "sha256-C4MSfwwxDgr5T0XQMlR5j2wElPu83TqPhjyNDvfBjJs=";
})
];
build-system = [ setuptools ];
build-system = [ poetry-core ];
dependencies = [ pydicom ];