about summary refs log tree commit diff
path: root/pkgs/applications/graphics/c3d
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2017-03-09 17:00:30 -0500
committerBen Darwin <bcdarwin@gmail.com>2017-03-10 11:57:19 -0500
commit7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c (patch)
tree2d6800924c051f54a8a00598a1226e26cb612beb /pkgs/applications/graphics/c3d
parent12ca09d14eaa837289eaba5fdf20b6c706475473 (diff)
downloadnixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.tar
nixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.tar.gz
nixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.tar.bz2
nixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.tar.lz
nixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.tar.xz
nixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.tar.zst
nixlib-7baad2e4beeea1a14ffb6e54387ca1c4cbfcb10c.zip
c3d: init at 1.1.0
Diffstat (limited to 'pkgs/applications/graphics/c3d')
-rw-r--r--pkgs/applications/graphics/c3d/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/c3d/default.nix b/pkgs/applications/graphics/c3d/default.nix
new file mode 100644
index 000000000000..a254993a016b
--- /dev/null
+++ b/pkgs/applications/graphics/c3d/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchgit, cmake, itk }:
+
+stdenv.mkDerivation rec {
+  _name   = "c3d";
+  _version = "1.1.0";
+  name     = "${_name}-${_version}";
+
+  src = fetchgit {
+    url = "https://git.code.sf.net/p/c3d/git";
+    rev = "3453f6133f0df831dcbb0d0cfbd8b26e121eb153";
+    sha256 = "1xgbk20w22jwvf7pa0n4lcbyx35fq56zzlslj0nvcclh6vx0b4z8";
+  };
+
+  nativeBuildInputs = [ cmake ];
+  buildInputs = [ itk ];
+
+  meta = with stdenv.lib; {
+    homepage = http://www.itksnap.org/c3d;
+    description = "Medical imaging processing tool";
+    maintainers = with maintainers; [ bcdarwin ];
+    platforms = platforms.unix;
+    license = licenses.gpl2;
+  };
+}