dcm2niix: cmake is native, style
This commit is contained in:
parent
271d4a7ca0
commit
245a67df8b
@ -4,32 +4,30 @@
|
|||||||
, libyamlcpp
|
, libyamlcpp
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "v1.0.20170130";
|
version = "1.0.20170130";
|
||||||
sha256 = "1f2nzd8flp1rfn725bi64z7aw3ccxyyygzarxijw6pvgl476i532";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "dcm2niix-${version}";
|
name = "dcm2niix-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit sha256;
|
|
||||||
owner = "rordenlab";
|
owner = "rordenlab";
|
||||||
repo = "dcm2niix";
|
repo = "dcm2niix";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
|
sha256 = "1f2nzd8flp1rfn725bi64z7aw3ccxyyygzarxijw6pvgl476i532";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
buildInputs = [ cmake libyamlcpp];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ libyamlcpp ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "dcm2niix DICOM to NIfTI converter";
|
description = "dcm2niix DICOM to NIfTI converter";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
dcm2niix is a designed to convert neuroimaging data from the
|
dcm2niix is a designed to convert neuroimaging data from the
|
||||||
DICOM format to the NIfTI format.
|
DICOM format to the NIfTI format.
|
||||||
'';
|
'';
|
||||||
homepage = https://www.nitrc.org/projects/dcm2nii;
|
homepage = https://www.nitrc.org/projects/dcm2nii;
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ stdenv.lib.maintainers.ashgillman ];
|
maintainers = [ maintainers.ashgillman ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user