lol

python3Packages.pydicom: 2.2.2 -> 2.3.0

https://pydicom.github.io/pydicom/stable/release_notes/index.html#version-2-3-0

authored by

Robert Schütz and committed by
Robert Schütz
e8488cd5 486992ac

+10 -8
+10 -8
pkgs/development/python-modules/pydicom/default.nix
··· 11 11 12 12 let 13 13 pname = "pydicom"; 14 - version = "2.2.2"; 14 + version = "2.3.0"; 15 15 16 16 src = fetchFromGitHub { 17 - owner = "${pname}"; 18 - repo = "${pname}"; 17 + owner = "pydicom"; 18 + repo = "pydicom"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-p5hJAUsactv6UEvbVaF+zk4iapx98eYkC9Zo+lzFATA="; 20 + hash = "sha256-CAQWaBkzecJ1VXQ5BnAUjmBMjh0I8y+gT7I4P4o2gqI="; 21 21 }; 22 22 23 23 # Pydicom needs pydicom-data to run some tests. If these files aren't downloaded 24 24 # before the package creation, it'll try to download during the checkPhase. 25 25 test_data = fetchFromGitHub { 26 - owner = "${pname}"; 27 - repo = "${pname}-data"; 26 + owner = "pydicom"; 27 + repo = "pydicom-data"; 28 28 rev = "bbb723879690bb77e077a6d57657930998e92bd5"; 29 - sha256 = "sha256-dCI1temvpNWiWJYVfQZKy/YJ4ad5B0e9hEKHJnEeqzk="; 29 + hash = "sha256-dCI1temvpNWiWJYVfQZKy/YJ4ad5B0e9hEKHJnEeqzk="; 30 30 }; 31 31 32 32 in 33 33 buildPythonPackage { 34 34 inherit pname version src; 35 35 disabled = pythonOlder "3.6"; 36 + 37 + format = "setuptools"; 36 38 37 39 propagatedBuildInputs = [ 38 40 numpy ··· 53 55 ln -s ${test_data}/data_store/data $HOME/.pydicom/data 54 56 ''; 55 57 56 - # This test try to remove a dicom inside $HOME/.pydicom/data/ and download it again. 57 58 disabledTests = [ 59 + # tries to remove a dicom inside $HOME/.pydicom/data/ and download it again 58 60 "test_fetch_data_files" 59 61 ] ++ lib.optionals stdenv.isAarch64 [ 60 62 # https://github.com/pydicom/pydicom/issues/1386