nixpkgs/pkgs/development/libraries/assimp/default.nix

24 lines
592 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, boost, zlib }:
2017-03-11 02:51:45 +01:00
stdenv.mkDerivation rec {
name = "assimp-${version}";
2017-12-12 10:58:17 +01:00
version = "4.1.0";
2016-05-12 09:12:43 +02:00
src = fetchFromGitHub{
owner = "assimp";
repo = "assimp";
rev = "v${version}";
2017-12-12 10:58:17 +01:00
sha256 = "00g61g3ixmfszzjncpvm8x7gp2livaj4lmhbycjmrw4x3gfqlc4r";
};
2017-03-11 02:51:45 +01:00
buildInputs = [ cmake boost zlib ];
meta = with stdenv.lib; {
description = "A library to import various 3D model formats";
homepage = http://assimp.sourceforge.net/;
license = licenses.bsd3;
maintainers = with maintainers; [ ehmry ];
platforms = platforms.linux;
};
}