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

27 lines
841 B
Nix
Raw Normal View History

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