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

24 lines
599 B
Nix
Raw Normal View History

2016-05-12 07:12:43 +00:00
{ stdenv, fetchFromGitHub, unzip, cmake, boost, zlib }:
2017-03-11 01:51:45 +00:00
stdenv.mkDerivation rec {
name = "assimp-${version}";
2017-03-11 01:51:45 +00:00
version = "3.3.1";
2016-05-12 07:12:43 +00:00
src = fetchFromGitHub{
owner = "assimp";
repo = "assimp";
rev = "v${version}";
2017-03-11 01:51:45 +00:00
sha256 = "13y44fymj13h6alig0nqab91j2qch0yh9gq8yql2zz744ch2s5vc";
};
2017-03-11 01:51:45 +00: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;
};
}