2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, boost, zlib }:
|
2014-09-29 17:16:33 +00:00
|
|
|
|
2017-03-11 01:51:45 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "assimp";
|
2021-12-04 10:30:41 +00:00
|
|
|
version = "5.1.3";
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
2014-09-29 17:16:33 +00:00
|
|
|
|
2016-05-12 07:12:43 +00:00
|
|
|
src = fetchFromGitHub{
|
|
|
|
owner = "assimp";
|
|
|
|
repo = "assimp";
|
|
|
|
rev = "v${version}";
|
2021-12-04 10:30:41 +00:00
|
|
|
hash = "sha256-GNSfaP8O5IsjGwtC3DFaV4OiMMUXIcmHmz+5TCT/HP8=";
|
2014-09-29 17:16:33 +00:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost zlib ];
|
2014-09-29 17:16:33 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "A library to import various 3D model formats";
|
2021-12-04 10:30:41 +00:00
|
|
|
homepage = "https://www.assimp.org/";
|
2014-09-29 17:16:33 +00:00
|
|
|
license = licenses.bsd3;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = with maintainers; [ ehmry ];
|
2020-08-24 21:23:16 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-09-29 17:16:33 +00:00
|
|
|
};
|
2016-03-29 19:38:48 +00:00
|
|
|
}
|