summary refs log tree commit diff
path: root/pkgs/development/libraries/assimp/default.nix
blob: cfe86ce4e70e5b890035524ba253297871afcf07 (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
26
27
{ stdenv, fetchurl, unzip, cmake, boost }:

let
  major = "3";
  minor = "1";
  revision = "1";
  version = "${major}.${minor}.${revision}";
in
stdenv.mkDerivation {
  name = "assimp-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/project/assimp/assimp-${major}.${minor}/assimp-${version}_no_test_models.zip";
    sha256 = "17nyzsqzqpafamhi779f1bkh5mfgj8rpas034x3v9a0hdy3jg66s";
  };

  buildInputs = [ unzip cmake boost ];

  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 ];
    platfroms = platforms.linux;
    inherit version;
  };
}