nixpkgs/pkgs/applications/graphics/c3d/default.nix

27 lines
843 B
Nix
Raw Normal View History

{ 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";
version = "unstable-2019-10-22";
2017-03-09 22:00:30 +00:00
src = fetchgit {
url = "https://github.com/pyushkevich/c3d";
rev = "c04e2b84568654665c64d8843378c8bbd58ba9b0";
sha256 = "0lzldxvshl9q362mg76byc7s5zc9qx7mxf2wgyij5vysx8mihx3q";
2017-03-09 22:00:30 +00:00
};
nativeBuildInputs = [ cmake ];
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; {
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
};
}