nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 880 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 itk, 7}: 8 9stdenv.mkDerivation { 10 pname = "c3d"; 11 version = "1.4.1-unstable-2024-08-07"; 12 13 src = fetchFromGitHub { 14 owner = "pyushkevich"; 15 repo = "c3d"; 16 rev = "9e6174153ab87eae014f5b802413478c8fbc9a1a"; 17 hash = "sha256-s2/XRyKoiMnF6cRsxxNUSlNtksbOyKSlk8hAGxJELqw="; 18 }; 19 20 nativeBuildInputs = [ cmake ]; 21 buildInputs = [ itk ]; 22 23 cmakeFlags = [ "-DCONVERT3D_USE_ITK_REMOTE_MODULES=OFF" ]; 24 25 meta = { 26 homepage = "https://github.com/pyushkevich/c3d"; 27 description = "Medical imaging processing tool"; 28 maintainers = with lib.maintainers; [ bcdarwin ]; 29 platforms = lib.platforms.unix; 30 license = lib.licenses.gpl3; 31 broken = stdenv.hostPlatform.isAarch64; 32 # /build/source/itkextras/OneDimensionalInPlaceAccumulateFilter.txx:312:10: fatal error: xmmintrin.h: No such file or directory 33 }; 34}