16 buildPythonPackage rec {
23 inherit pname version;
24 #sha256 = "0gzqqa4pzhywdbvks2qjniwhr89sgipl5k7h9hcjs7cagmy9gb05";
25 sha256 = "1r6y93125mc84c09970ifps5xysp8ffp62rwlzili3q2k1m3fh4v";
29 # doesn't exist as a separate package with Python 3:
30 substituteInPlace heudiconv/info.py --replace "'pathlib'," ""
33 propagatedBuildInputs = [
34 dcm2niix nibabel pydicom nipype dcmstack etelemetry filelock
37 checkInputs = [ dcm2niix pytest mock ];
39 # test_monitor and test_dlad require 'inotify' and 'datalad' respectively,
40 # and these aren't in Nixpkgs
41 checkPhase = "pytest -k 'not test_dlad and not test_monitor' heudiconv/tests";
44 homepage = "https://heudiconv.readthedocs.io";
45 description = "Flexible DICOM converter for organizing imaging data";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ bcdarwin ];