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