octave.pkgs.dicom: init at 0.4.0

This commit is contained in:
Karl Hallsby 2021-01-06 10:50:23 -06:00 committed by Doron Behar
parent a2365751bc
commit 0de6cfa38a
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ buildOctavePackage
, lib
, fetchurl
, gdcm
, cmake
}:
buildOctavePackage rec {
pname = "dicom";
version = "0.4.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "131wn6mrv20np10plirvqia8dlpz3g0aqi3mmn2wyl7r95p3dnza";
};
nativeBuildInputs = [
cmake
];
dontUseCmakeConfigure = true;
propagatedBuildInputs = [
gdcm
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/dicom/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Digital communications in medicine (DICOM) file io";
};
}

View file

@ -75,6 +75,8 @@ makeScope newScope (self:
dataframe = callPackage ../development/octave-modules/dataframe { };
dicom = callPackage ../development/octave-modules/dicom { };
general = callPackage ../development/octave-modules/general {
nettle = pkgs.nettle;
};