10 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
23 hash = "sha256-sOYhYHBz3Tg+pi1OIJ1mGmsjEc6dPO6nFH0aolfpLRA=";
26 nativeBuildInputs = [ cmake ];
32 cmakeFlags = [ "-DASSIMP_BUILD_ASSIMP_TOOLS=ON" ];
34 env.NIX_CFLAGS_COMPILE = toString ([
36 "-Wno-error=array-bounds"
40 description = "Library to import various 3D model formats";
41 mainProgram = "assimp";
42 homepage = "https://www.assimp.org/";
43 license = licenses.bsd3;
44 maintainers = with maintainers; [ ehmry ];
45 platforms = platforms.linux ++ platforms.darwin;