Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows reading DICOM images, including 3d stacks.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ stdenv | ||
, lib | ||
, fetchurl | ||
, gtk3 | ||
, glib | ||
, pkg-config | ||
, libpng | ||
, zlib | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "xmedcon"; | ||
version = "0.21.0"; | ||
|
||
src = fetchurl { | ||
url = "https://prdownloads.sourceforge.net/${pname}/${pname}-${version}.tar.bz2"; | ||
sha256 = "0yfnbrcil5i76z1wbg308pb1mnjbcxy6nih46qpqs038v1lhh4q8"; | ||
}; | ||
|
||
buildInputs = [ | ||
gtk3 | ||
glib | ||
libpng | ||
zlib | ||
]; | ||
|
||
nativeBuildInputs = [ pkg-config ]; | ||
|
||
meta = with lib; { | ||
description = "An open source toolkit for medical image conversion "; | ||
homepage = "https://xmedcon.sourceforge.io/Main/HomePage"; | ||
license = licenses.lgpl2Plus; | ||
maintainers = with maintainers; [ arianvp flokli ]; | ||
platforms = with platforms; [ darwin linux ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters