17 buildPythonPackage rec {
18 pname = "dicom2nifti";
22 disabled = pythonOlder "3.6";
24 # no tests in PyPI dist
25 src = fetchFromGitHub {
28 rev = "refs/tags/${version}";
29 hash = "sha256-/JauQZcCQDl1ukcSE3YPbf1SyhVxDNJUlqnFwdlwYQY=";
32 build-system = [ setuptools ];
34 propagatedBuildInputs = [
43 substituteInPlace tests/test_generic.py --replace-fail "from common" "from dicom2nifti.common"
44 substituteInPlace tests/test_ge.py --replace-fail "import convert_generic" "import dicom2nifti.convert_generic as convert_generic"
53 pythonImportsCheck = [ "dicom2nifti" ];
56 homepage = "https://github.com/icometrix/dicom2nifti";
57 description = "Library for converting dicom files to nifti";
58 mainProgram = "dicom2nifti";
59 license = licenses.mit;
60 maintainers = with maintainers; [ bcdarwin ];