nixpkgs/pkgs/development/libraries/assimp/default.nix

25 lines
629 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, boost, zlib }:
2017-03-11 01:51:45 +00:00
stdenv.mkDerivation rec {
pname = "assimp";
2020-01-20 02:43:49 +00:00
version = "5.0.1";
2016-05-12 07:12:43 +00:00
src = fetchFromGitHub{
owner = "assimp";
repo = "assimp";
rev = "v${version}";
2020-01-20 02:43:49 +00:00
sha256 = "00vxzfcrs856qnyk806wqr67nmpjk06mjby0fqmyhm6i1jj2hg1w";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost zlib ];
meta = with lib; {
description = "A library to import various 3D model formats";
homepage = "http://assimp.sourceforge.net/";
license = licenses.bsd3;
maintainers = with maintainers; [ ehmry ];
2020-08-24 21:23:16 +00:00
platforms = platforms.linux ++ platforms.darwin;
};
}