Merge pull request #259218 from bcdarwin/unbreak-pynetdicom-python3.11

python311Packages.pynetdicom: unbreak tests
This commit is contained in:
Nick Cao 2023-10-05 15:07:16 -04:00 committed by GitHub
commit 83c3b4aef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pydicom
, pyfakefs
, pytestCheckHook
@ -23,6 +24,14 @@ buildPythonPackage rec {
hash = "sha256-/JWQUtFBW4uqCbs/nUxj1pRBfTCXV4wcqTkqvzpdFrM=";
};
patches = [
(fetchpatch {
name = "fix-python-3.11-test-attribute-errors";
url = "https://github.com/pydicom/pynetdicom/pull/754/commits/2126bd932d6dfb3f07045eb9400acb7eaa1b3069.patch";
hash = "sha256-t6Lg0sTZSWIE5q5pkBvEoHDQ+cklDn8SgNBcFk1myp4=";
})
];
propagatedBuildInputs = [
pydicom
];