summary refs log tree commit diff
path: root/pkgs/applications/science/medicine
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2021-03-10 20:16:32 +0100
committerFlorian Klink <flokli@flokli.de>2021-03-20 21:36:38 +0100
commit275cc4e9c738342d1566ae98ca9101b5b401b4c0 (patch)
treeed4d87c38cd7e2229f217c8098e57f7970178646 /pkgs/applications/science/medicine
parent804f493483a3e82ca2ea1ddc23ca9a6d9d146c92 (diff)
downloadnixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.tar
nixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.tar.gz
nixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.tar.bz2
nixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.tar.lz
nixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.tar.xz
nixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.tar.zst
nixpkgs-275cc4e9c738342d1566ae98ca9101b5b401b4c0.zip
xmedcon: init at 0.21.0
This allows reading DICOM images, including 3d stacks.
Diffstat (limited to 'pkgs/applications/science/medicine')
-rw-r--r--pkgs/applications/science/medicine/xmedcon/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/science/medicine/xmedcon/default.nix b/pkgs/applications/science/medicine/xmedcon/default.nix
new file mode 100644
index 00000000000..e4a5f22891e
--- /dev/null
+++ b/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 ];
+  };
+}