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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
921 B
Nix
Raw Normal View History

2022-12-20 21:44:42 +01:00
{ lib, stdenv, fetchFromGitHub, cmake, itk_5_2, Cocoa }:
2017-03-09 23:00:30 +01:00
stdenv.mkDerivation rec {
2017-09-08 22:45:08 +02:00
pname = "c3d";
version = "unstable-2021-09-14";
2017-03-09 23:00:30 +01:00
src = fetchFromGitHub {
owner = "pyushkevich";
repo = pname;
rev = "cc06e6e2f04acd3d6faa3d8c9a66b499f02d4388";
sha256 = "sha256:1ql1y6694njsmdapywhppb54viyw8wdpaxxr1b3hm2rqhvwmhn52";
2017-03-09 23:00:30 +01:00
};
nativeBuildInputs = [ cmake ];
2022-12-20 21:44:42 +01:00
buildInputs = [ itk_5_2 ]
2021-01-15 14:21:58 +01:00
++ lib.optional stdenv.isDarwin Cocoa;
2017-03-09 23:00:30 +01:00
cmakeFlags = [ "-DCONVERT3D_USE_ITK_REMOTE_MODULES=OFF" ];
meta = with lib; {
homepage = "https://github.com/pyushkevich/c3d";
2017-03-09 23:00:30 +01:00
description = "Medical imaging processing tool";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.gpl3;
2020-02-13 20:23:23 +01:00
broken = stdenv.isAarch64;
# /build/source/itkextras/OneDimensionalInPlaceAccumulateFilter.txx:312:10: fatal error: xmmintrin.h: No such file or directory
2017-03-09 23:00:30 +01:00
};
}