summary refs log tree commit diff
path: root/pkgs/development/libraries/assimp/default.nix
blob: 5fbc45a7c08b2698c4480b391bb6b1087a62a43f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, unzip, cmake, boost, zlib }:

let
  version = "3.2";
in
stdenv.mkDerivation {
  name = "assimp-${version}";

  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;
  };
}