python311Packages.pynetdicom: unbreak tests

This commit is contained in:
Ben Darwin 2023-10-05 12:25:12 -04:00
parent 10da050984
commit 406df5b069

View file

@ -2,6 +2,7 @@
, stdenv , stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pydicom , pydicom
, pyfakefs , pyfakefs
, pytestCheckHook , pytestCheckHook
@ -23,6 +24,14 @@ buildPythonPackage rec {
hash = "sha256-/JWQUtFBW4uqCbs/nUxj1pRBfTCXV4wcqTkqvzpdFrM="; 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 = [ propagatedBuildInputs = [
pydicom pydicom
]; ];