diff --git a/pkgs/development/python-modules/pynetdicom/default.nix b/pkgs/development/python-modules/pynetdicom/default.nix index bd27ff7fde6c..49068fec5d57 100644 --- a/pkgs/development/python-modules/pynetdicom/default.nix +++ b/pkgs/development/python-modules/pynetdicom/default.nix @@ -6,17 +6,21 @@ , pyfakefs , pytestCheckHook , sqlalchemy +, pythonOlder }: buildPythonPackage rec { pname = "pynetdicom"; - version = "1.5.7"; + version = "2.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pydicom"; repo = pname; rev = "v${version}"; - sha256 = "0wr6nh0xrhzwf05gnf3dwg5r3lhn9nfwch3l16zkbj6fli871brc"; + sha256 = "sha256-Kfcfk76au2ymbX+nl0PhuuCd+t6dYRbTurGlW6msv3Y="; }; propagatedBuildInputs = [ @@ -33,6 +37,7 @@ buildPythonPackage rec { # Some tests needs network capabilities "test_str_types_empty" "test_associate_reject" + "TestAEGoodAssociation" "TestEchoSCP" "TestEchoSCPCLI" "TestFindSCP" @@ -50,7 +55,9 @@ buildPythonPackage rec { "TestState" ]; - pythonImportsCheck = [ "pynetdicom" ]; + pythonImportsCheck = [ + "pynetdicom" + ]; meta = with lib; { description = "Python implementation of the DICOM networking protocol";