9 stdenv.mkDerivation rec {
12 outputs = [ "out" "lib" "dev" ];
14 src = fetchFromGitHub {
18 hash = "sha256-sOYhYHBz3Tg+pi1OIJ1mGmsjEc6dPO6nFH0aolfpLRA=";
21 nativeBuildInputs = [ cmake ];
22 buildInputs = [ boost zlib ];
24 cmakeFlags = [ "-DASSIMP_BUILD_ASSIMP_TOOLS=ON" ];
26 env.NIX_CFLAGS_COMPILE = toString ([
28 "-Wno-error=array-bounds"
32 description = "Library to import various 3D model formats";
33 mainProgram = "assimp";
34 homepage = "https://www.assimp.org/";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ ehmry ];
37 platforms = platforms.linux ++ platforms.darwin;