mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
24 lines
599 B
Nix
24 lines
599 B
Nix
{ stdenv, fetchFromGitHub, unzip, cmake, boost, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "assimp-${version}";
|
|
version = "3.3.1";
|
|
|
|
src = fetchFromGitHub{
|
|
owner = "assimp";
|
|
repo = "assimp";
|
|
rev = "v${version}";
|
|
sha256 = "13y44fymj13h6alig0nqab91j2qch0yh9gq8yql2zz744ch2s5vc";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|