Commit 406df5b0 authored by Ben Darwin's avatar Ben Darwin
Browse files

python311Packages.pynetdicom: unbreak tests

parent 10da0509
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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
  ];