Merge pull request #259218 from bcdarwin/unbreak-pynetdicom-python3.11
python311Packages.pynetdicom: unbreak tests
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user