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

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

36 lines
942 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
cmake,
itk,
Cocoa,
}:
2017-03-09 22:00:30 +00:00
stdenv.mkDerivation rec {
pname = "c3d";
version = "1.4.1-unstable-2024-08-07";
2017-03-09 22:00:30 +00:00
src = fetchFromGitHub {
owner = "pyushkevich";
repo = "c3d";
rev = "9e6174153ab87eae014f5b802413478c8fbc9a1a";
hash = "sha256-s2/XRyKoiMnF6cRsxxNUSlNtksbOyKSlk8hAGxJELqw=";
2017-03-09 22:00:30 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ itk ] ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa;
2017-03-09 22:00:30 +00:00
cmakeFlags = [ "-DCONVERT3D_USE_ITK_REMOTE_MODULES=OFF" ];
meta = with lib; {
homepage = "https://github.com/pyushkevich/c3d";
2017-03-09 22:00:30 +00:00
description = "Medical imaging processing tool";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.gpl3;
2020-02-13 19:23:23 +00:00
broken = stdenv.hostPlatform.isAarch64;
# /build/source/itkextras/OneDimensionalInPlaceAccumulateFilter.txx:312:10: fatal error: xmmintrin.h: No such file or directory
2017-03-09 22:00:30 +00:00
};
}