Skip to content

Commit

Permalink
Merge pull request NixOS#259218 from bcdarwin/unbreak-pynetdicom-pyth…
Browse files Browse the repository at this point in the history
…on3.11

python311Packages.pynetdicom: unbreak tests
  • Loading branch information
NickCao authored Oct 5, 2023
2 parents 3740b47 + 406df5b commit 83c3b4a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/pynetdicom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pydicom
, pyfakefs
, pytestCheckHook
Expand All @@ -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
];
Expand Down

0 comments on commit 83c3b4a

Please sign in to comment.