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