1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/assimp/default.nix

26 lines
606 B
Nix
Raw Normal View History

2016-05-12 08:12:43 +01:00
{ stdenv, fetchFromGitHub, unzip, cmake, boost, zlib }:
let
2016-05-12 08:12:43 +01:00
version = "3.2";
in
stdenv.mkDerivation {
name = "assimp-${version}";
2016-05-12 08:12:43 +01:00
src = fetchFromGitHub{
owner = "assimp";
repo = "assimp";
rev = "v${version}";
sha256 = "09fsksbq9a8gykwmw6gaicwh2ladrln1jc1xc5yk7w6x180cbb1x";
};
buildInputs = [ unzip 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;
};
}