1 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, zlib }:
3 stdenv.mkDerivation rec {
6 outputs = [ "out" "lib" "dev" ];
12 hash = "sha256-GNSfaP8O5IsjGwtC3DFaV4OiMMUXIcmHmz+5TCT/HP8=";
16 # Fix include directory with split outputs
17 # https://github.com/assimp/assimp/pull/4337
19 url = "https://github.com/assimp/assimp/commit/5dcaf445c3da079cf43890a0688428a7e1de0b30.patch";
20 sha256 = "sha256-KwqTAoDPkhFq469+VaUuGoqfymu2bWLG9W3BvFvyU5I=";
24 nativeBuildInputs = [ cmake ];
25 buildInputs = [ boost zlib ];
28 description = "A library to import various 3D model formats";
29 homepage = "https://www.assimp.org/";
30 license = licenses.bsd3;
31 maintainers = with maintainers; [ ehmry ];
32 platforms = platforms.linux ++ platforms.darwin;