2017-09-08 21:45:08 +01:00
|
|
|
{ stdenv, fetchgit, cmake, itk, Cocoa }:
|
2017-03-09 22:00:30 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2017-09-08 21:45:08 +01:00
|
|
|
pname = "c3d";
|
2018-04-10 18:38:14 +01:00
|
|
|
version = "2018-10-04";
|
2017-03-09 22:00:30 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.code.sf.net/p/c3d/git";
|
2018-04-10 18:38:14 +01:00
|
|
|
rev = "351929a582b2ef68fb9902df0b11d38f44a0ccd0";
|
|
|
|
sha256 = "0mpv4yl6hdnxgvnwrmd182h64n3ppp30ldzm0jz6jglk0nvpzq9w";
|
2017-03-09 22:00:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-09-08 21:45:08 +01:00
|
|
|
buildInputs = [ itk ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
|
2017-03-09 22:00:30 +00:00
|
|
|
|
|
|
|
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;
|
2018-04-10 18:38:14 +01:00
|
|
|
broken = true;
|
2017-03-09 22:00:30 +00:00
|
|
|
};
|
|
|
|
}
|