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

26 lines
654 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";
2021-12-04 10:30:41 +00:00
version = "5.1.3";
outputs = [ "out" "lib" "dev" ];
2016-05-12 07:12:43 +00:00
src = fetchFromGitHub{
owner = "assimp";
repo = "assimp";
rev = "v${version}";
2021-12-04 10:30:41 +00:00
hash = "sha256-GNSfaP8O5IsjGwtC3DFaV4OiMMUXIcmHmz+5TCT/HP8=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost zlib ];
meta = with lib; {
description = "A library to import various 3D model formats";
2021-12-04 10:30:41 +00:00
homepage = "https://www.assimp.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ ehmry ];
2020-08-24 21:23:16 +00:00
platforms = platforms.linux ++ platforms.darwin;
};
}