2019-10-26 20:08:37 +00:00
|
|
|
{ stdenv, fetchgit, cmake, itk4, Cocoa }:
|
2017-03-09 22:00:30 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2017-09-08 20:45:08 +00:00
|
|
|
pname = "c3d";
|
2019-10-26 20:08:37 +00:00
|
|
|
version = "unstable-2019-10-22";
|
2017-03-09 22:00:30 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2019-10-26 20:08:37 +00:00
|
|
|
url = "https://github.com/pyushkevich/c3d";
|
|
|
|
rev = "c04e2b84568654665c64d8843378c8bbd58ba9b0";
|
|
|
|
sha256 = "0lzldxvshl9q362mg76byc7s5zc9qx7mxf2wgyij5vysx8mihx3q";
|
2017-03-09 22:00:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-10-26 20:08:37 +00:00
|
|
|
buildInputs = [ itk4 ]
|
2017-09-08 20:45:08 +00:00
|
|
|
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
|
2017-03-09 22:00:30 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.itksnap.org/c3d";
|
2017-03-09 22:00:30 +00:00
|
|
|
description = "Medical imaging processing tool";
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2;
|
2020-02-13 19:23:23 +00:00
|
|
|
broken = stdenv.isAarch64;
|
|
|
|
# /build/git-3453f61/itkextras/OneDimensionalInPlaceAccumulateFilter.txx:311:10: fatal error: xmmintrin.h: No such file or directory
|
2017-03-09 22:00:30 +00:00
|
|
|
};
|
|
|
|
}
|