nixpkgs-suyu/pkgs/development/libraries/opencollada/default.nix

29 lines
720 B
Nix
Raw Normal View History

2014-12-23 18:16:47 +01:00
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2, pcre }:
2017-09-16 21:40:02 +02:00
stdenv.mkDerivation rec {
name = "opencollada-${version}";
2014-12-23 18:16:47 +01:00
2017-09-16 21:40:02 +02:00
version = "1.6.59";
2014-12-23 18:16:47 +01:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCOLLADA";
2017-09-16 21:40:02 +02:00
rev = "v${version}";
sha256 = "0gpjvzcfyilb96x5ywajxgkw42ipwp4my36z9cq686bd9vpp3q0g";
2014-12-23 18:16:47 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake ];
2014-12-23 18:16:47 +01:00
propagatedBuildInputs = [ libxml2 pcre ];
enableParallelBuilding = true;
meta = {
description = "A library for handling the COLLADA file format";
homepage = https://github.com/KhronosGroup/OpenCOLLADA/;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
}