Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 34 lines 651 B view raw
1{ 2 buildOctavePackage, 3 lib, 4 fetchurl, 5 gdcm, 6 cmake, 7}: 8 9buildOctavePackage rec { 10 pname = "dicom"; 11 version = "0.6.1"; 12 13 src = fetchurl { 14 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; 15 sha256 = "sha256-erUZudOknymgGprqUhCaSvN/WlmWZ1qgH8HDYrNOg2I="; 16 }; 17 18 nativeBuildInputs = [ 19 cmake 20 ]; 21 22 dontUseCmakeConfigure = true; 23 24 propagatedBuildInputs = [ 25 gdcm 26 ]; 27 28 meta = { 29 homepage = "https://gnu-octave.github.io/packages/dicom/"; 30 license = lib.licenses.gpl3Plus; 31 maintainers = with lib.maintainers; [ KarlJoad ]; 32 description = "Digital communications in medicine (DICOM) file io"; 33 }; 34}