Merge pull request #325860 from bcdarwin/bump-dcm2niix

dcm2niix: 1.0.20230411 -> 1.0.20240202
This commit is contained in:
Peder Bergebakken Sundt 2024-07-21 01:18:30 +02:00 committed by GitHub
commit 6f65a24431
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,15 +21,15 @@ let
sha256 = "sha256-8HNFUGx2uuEb8UrGUiqkN+uVDX83YIisT2uO1Z7GCxc="; sha256 = "sha256-8HNFUGx2uuEb8UrGUiqkN+uVDX83YIisT2uO1Z7GCxc=";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
version = "1.0.20230411"; version = "1.0.20240202";
pname = "dcm2niix"; pname = "dcm2niix";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rordenlab"; owner = "rordenlab";
repo = "dcm2niix"; repo = "dcm2niix";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-kOVEoqrk4l6sH8iDVx1QmOYP5tCufxsWnCnn9BibZ08="; sha256 = "sha256-vJUPv/6KNCsU8UjwfktHdTlsweG7+UGgAEZeESfBkD8=";
}; };
patches = lib.optionals withCloudflareZlib [ patches = lib.optionals withCloudflareZlib [
@ -55,15 +55,16 @@ stdenv.mkDerivation rec {
"-DZLIB_IMPLEMENTATION=Cloudflare" "-DZLIB_IMPLEMENTATION=Cloudflare"
]; ];
meta = with lib; { meta = {
description = "DICOM to NIfTI converter"; description = "DICOM to NIfTI converter";
mainProgram = "dcm2niix"; mainProgram = "dcm2niix";
longDescription = '' longDescription = ''
dcm2niix is designed to convert neuroimaging data from the DICOM format to the NIfTI format. dcm2niix is designed to convert neuroimaging data from the DICOM format to the NIfTI format.
''; '';
homepage = "https://www.nitrc.org/projects/dcm2nii"; homepage = "https://www.nitrc.org/projects/dcm2nii";
license = licenses.bsd3; changelog = "https://github.com/rordenlab/dcm2niix/releases/tag/v${finalAttrs.version}";
maintainers = with maintainers; [ ashgillman rbreslow ]; license = lib.licenses.bsd3;
platforms = platforms.all; maintainers = with lib.maintainers; [ ashgillman rbreslow ];
platforms = lib.platforms.all;
}; };
} })