2018-07-21 00:44:44 +00:00
|
|
|
{ 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";
|
2020-01-20 02:43:49 +00:00
|
|
|
version = "5.0.1";
|
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}";
|
2020-01-20 02:43:49 +00:00
|
|
|
sha256 = "00vxzfcrs856qnyk806wqr67nmpjk06mjby0fqmyhm6i1jj2hg1w";
|
2014-09-29 17:16:33 +00:00
|
|
|
};
|
|
|
|
|
2017-03-11 01:51:45 +00:00
|
|
|
buildInputs = [ cmake boost zlib ];
|
2014-09-29 17:16:33 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "A library to import various 3D model formats";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://assimp.sourceforge.net/";
|
2014-09-29 17:16:33 +00:00
|
|
|
license = licenses.bsd3;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = with maintainers; [ ehmry ];
|
2016-08-06 13:43:51 +00:00
|
|
|
platforms = platforms.linux;
|
2014-09-29 17:16:33 +00:00
|
|
|
};
|
2016-03-29 19:38:48 +00:00
|
|
|
}
|