depot/third_party/nixpkgs/pkgs/applications/graphics/c3d/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
843 B
Nix

{ stdenv, fetchgit, cmake, itk4, Cocoa }:
stdenv.mkDerivation {
pname = "c3d";
version = "unstable-2019-10-22";
src = fetchgit {
url = "https://github.com/pyushkevich/c3d";
rev = "c04e2b84568654665c64d8843378c8bbd58ba9b0";
sha256 = "0lzldxvshl9q362mg76byc7s5zc9qx7mxf2wgyij5vysx8mihx3q";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ itk4 ]
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
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;
broken = stdenv.isAarch64;
# /build/git-3453f61/itkextras/OneDimensionalInPlaceAccumulateFilter.txx:311:10: fatal error: xmmintrin.h: No such file or directory
};
}