mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
24 lines
604 B
Nix
24 lines
604 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "assimp";
|
|
version = "5.0.1";
|
|
|
|
src = fetchFromGitHub{
|
|
owner = "assimp";
|
|
repo = "assimp";
|
|
rev = "v${version}";
|
|
sha256 = "00vxzfcrs856qnyk806wqr67nmpjk06mjby0fqmyhm6i1jj2hg1w";
|
|
};
|
|
|
|
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 ++ platforms.darwin;
|
|
};
|
|
}
|