@@ -0,0 +1,24 @@
1+{ stdenv, fetchgit, cmake, itk }:
2+
3+stdenv.mkDerivation rec {
4+ _name = "c3d";
5+ _version = "1.1.0";
6+ name = "${_name}-${_version}";
7+
8+ src = fetchgit {
9+ url = "https://git.code.sf.net/p/c3d/git";
10+ rev = "3453f6133f0df831dcbb0d0cfbd8b26e121eb153";
11+ sha256 = "1xgbk20w22jwvf7pa0n4lcbyx35fq56zzlslj0nvcclh6vx0b4z8";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+ buildInputs = [ itk ];
16+
17+ meta = with stdenv.lib; {
18+ homepage = http://www.itksnap.org/c3d;
19+ description = "Medical imaging processing tool";
20+ maintainers = with maintainers; [ bcdarwin ];
21+ platforms = platforms.unix;
22+ license = licenses.gpl2;
23+ };
24+}