mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.pydicom: 2.2.2 -> 2.3.0
https://pydicom.github.io/pydicom/stable/release_notes/index.html#version-2-3-0
This commit is contained in:
parent
486992aca7
commit
e8488cd500
@ -11,22 +11,22 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "pydicom";
|
pname = "pydicom";
|
||||||
version = "2.2.2";
|
version = "2.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "${pname}";
|
owner = "pydicom";
|
||||||
repo = "${pname}";
|
repo = "pydicom";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-p5hJAUsactv6UEvbVaF+zk4iapx98eYkC9Zo+lzFATA=";
|
hash = "sha256-CAQWaBkzecJ1VXQ5BnAUjmBMjh0I8y+gT7I4P4o2gqI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Pydicom needs pydicom-data to run some tests. If these files aren't downloaded
|
# Pydicom needs pydicom-data to run some tests. If these files aren't downloaded
|
||||||
# before the package creation, it'll try to download during the checkPhase.
|
# before the package creation, it'll try to download during the checkPhase.
|
||||||
test_data = fetchFromGitHub {
|
test_data = fetchFromGitHub {
|
||||||
owner = "${pname}";
|
owner = "pydicom";
|
||||||
repo = "${pname}-data";
|
repo = "pydicom-data";
|
||||||
rev = "bbb723879690bb77e077a6d57657930998e92bd5";
|
rev = "bbb723879690bb77e077a6d57657930998e92bd5";
|
||||||
sha256 = "sha256-dCI1temvpNWiWJYVfQZKy/YJ4ad5B0e9hEKHJnEeqzk=";
|
hash = "sha256-dCI1temvpNWiWJYVfQZKy/YJ4ad5B0e9hEKHJnEeqzk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -34,6 +34,8 @@ buildPythonPackage {
|
|||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
pillow
|
pillow
|
||||||
@ -53,8 +55,8 @@ buildPythonPackage {
|
|||||||
ln -s ${test_data}/data_store/data $HOME/.pydicom/data
|
ln -s ${test_data}/data_store/data $HOME/.pydicom/data
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# This test try to remove a dicom inside $HOME/.pydicom/data/ and download it again.
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
# tries to remove a dicom inside $HOME/.pydicom/data/ and download it again
|
||||||
"test_fetch_data_files"
|
"test_fetch_data_files"
|
||||||
] ++ lib.optionals stdenv.isAarch64 [
|
] ++ lib.optionals stdenv.isAarch64 [
|
||||||
# https://github.com/pydicom/pydicom/issues/1386
|
# https://github.com/pydicom/pydicom/issues/1386
|
||||||
|
Loading…
Reference in New Issue
Block a user