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