python3Packages.dicom2nifti: init at 2.2.8

This commit is contained in:
Ben Darwin 2020-05-04 23:16:45 -04:00 committed by Jon
parent 222196b9d6
commit 34807336e8
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, gdcm
, nose
, nibabel
, numpy
, pydicom
, scipy
}:
buildPythonPackage rec {
pname = "dicom2nifti";
version = "2.2.8";
disabled = isPy27;
# no tests in PyPI dist
src = fetchFromGitHub {
owner = "icometrix";
repo = pname;
rev = version;
sha256 = "1qi2map6f4pa1l8wsif7ff7rhja6ynrjlm7w306dzvi9l25mia34";
};
propagatedBuildInputs = [ gdcm nibabel numpy pydicom scipy ];
checkInputs = [ nose gdcm ];
checkPhase = "nosetests tests";
meta = with lib; {
homepage = "https://github.com/icometrix/dicom2nifti";
description = "Library for converting dicom files to nifti";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}

View file

@ -676,6 +676,8 @@ in {
dftfit = callPackage ../development/python-modules/dftfit { };
dicom2nifti = callPackage ../development/python-modules/dicom2nifti { };
discid = callPackage ../development/python-modules/discid { };
discordpy = callPackage ../development/python-modules/discordpy { };