1{ buildOctavePackage
2, lib
3, fetchurl
4, gdcm
5, cmake
6}:
7
8buildOctavePackage rec {
9 pname = "dicom";
10 version = "0.5.1";
11
12 src = fetchurl {
13 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
14 sha256 = "sha256-0qNqjpJWWBA0N5IgjV0e0SPQlCvbzIwnIgaWo+2wKw0=";
15 };
16
17 nativeBuildInputs = [
18 cmake
19 ];
20
21 dontUseCmakeConfigure = true;
22
23 propagatedBuildInputs = [
24 gdcm
25 ];
26
27 meta = with lib; {
28 homepage = "https://octave.sourceforge.io/dicom/index.html";
29 license = licenses.gpl3Plus;
30 maintainers = with maintainers; [ KarlJoad ];
31 description = "Digital communications in medicine (DICOM) file io";
32 };
33}