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