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