Skip to content

Commit

Permalink
xmedcon: init at 0.21.0
Browse files Browse the repository at this point in the history
This allows reading DICOM images, including 3d stacks.
  • Loading branch information
flokli committed Mar 20, 2021
1 parent 804f493 commit 275cc4e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/applications/science/medicine/xmedcon/default.nix
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -28278,6 +28278,8 @@ in

dcmtk = callPackage ../applications/science/medicine/dcmtk { };

xmedcon = callPackage ../applications/science/medicine/xmedcon { };

### SCIENCE/PHYSICS

elmerfem = callPackage ../applications/science/physics/elmerfem {};
Expand Down

0 comments on commit 275cc4e

Please sign in to comment.