2016-03-29 20:38:48 +01:00
|
|
|
{ stdenv, fetchurl, unzip, cmake, boost, zlib }:
|
2014-09-29 18:16:33 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
major = "3";
|
|
|
|
minor = "1";
|
|
|
|
revision = "1";
|
|
|
|
version = "${major}.${minor}.${revision}";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "assimp-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/assimp/assimp-${major}.${minor}/assimp-${version}_no_test_models.zip";
|
|
|
|
sha256 = "17nyzsqzqpafamhi779f1bkh5mfgj8rpas034x3v9a0hdy3jg66s";
|
|
|
|
};
|
|
|
|
|
2016-03-29 20:38:48 +01:00
|
|
|
buildInputs = [ unzip 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-03-29 20:38:48 +01:00
|
|
|
platfroms = [ platforms.linux platforms.darwin ];
|
2014-09-29 18:16:33 +01:00
|
|
|
inherit version;
|
|
|
|
};
|
2016-03-29 20:38:48 +01:00
|
|
|
}
|