Commit b136e211 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pynetdicom: ignore PytestRemovedIn8Warning

parent 85f22fec
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
@@ -8,19 +8,20 @@
, pytestCheckHook
, sqlalchemy
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "pynetdicom";
  version = "2.0.2";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "pydicom";
    repo = pname;
    rev = "v${version}";
    repo = "pynetdicom";
    rev = "refs/tags/v${version}";
    hash = "sha256-/JWQUtFBW4uqCbs/nUxj1pRBfTCXV4wcqTkqvzpdFrM=";
  };

@@ -32,6 +33,10 @@ buildPythonPackage rec {
     })
  ];

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    pydicom
  ];
@@ -78,9 +83,15 @@ buildPythonPackage rec {
    "pynetdicom"
  ];

  pytestFlagsArray = [
    "-W"
    "ignore::pytest.PytestRemovedIn8Warning"
  ];

  meta = with lib; {
    description = "Python implementation of the DICOM networking protocol";
    homepage = "https://github.com/pydicom/pynetdicom";
    changelog = "https://github.com/pydicom/pynetdicom/releases/tag/v${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
    # Tests are not passing on Darwin/Aarch64, thus it's assumed that it doesn't work