diff --git a/lib/maintainers.nix b/lib/maintainers.nix index d335f7f3b938..e45ccbe8f5dc 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -60,6 +60,7 @@ arobyn = "Alexei Robyn "; artuuge = "Artur E. Ruuge "; ashalkhakov = "Artyom Shalkhakov "; + ashgillman = "Ashley Gillman "; aske = "Kirill Boltaev "; asppsa = "Alastair Pharo "; astsmtl = "Alexander Tsamutali "; diff --git a/pkgs/applications/science/biology/dcm2niix/default.nix b/pkgs/applications/science/biology/dcm2niix/default.nix new file mode 100644 index 000000000000..b1c66526b126 --- /dev/null +++ b/pkgs/applications/science/biology/dcm2niix/default.nix @@ -0,0 +1,35 @@ +{ stdenv +, fetchFromGitHub +, cmake +, libyamlcpp +}: + +let + version = "v1.0.20170130"; + sha256 = "1f2nzd8flp1rfn725bi64z7aw3ccxyyygzarxijw6pvgl476i532"; + +in stdenv.mkDerivation rec { + name = "dcm2niix-${version}"; + + src = fetchFromGitHub { + inherit sha256; + owner = "rordenlab"; + repo = "dcm2niix"; + rev = version; + }; + + enableParallelBuilding = true; + buildInputs = [ cmake libyamlcpp]; + + meta = { + 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; +}; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ad77d0f98a8..587f4c18fd6f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18844,6 +18844,8 @@ with pkgs; bcftools = callPackage ../applications/science/biology/bcftools { }; + dcm2niix = callPackage ../applications/science/biology/dcm2niix { }; + diamond = callPackage ../applications/science/biology/diamond { }; ecopcr = callPackage ../applications/science/biology/ecopcr { };