1{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2, pcre }:
2
3stdenv.mkDerivation rec {
4 name = "opencollada-${version}";
5
6 version = "1.6.62";
7
8 src = fetchFromGitHub {
9 owner = "KhronosGroup";
10 repo = "OpenCOLLADA";
11 rev = "v${version}";
12 sha256 = "0bqki6sdvxsp9drzj87ma6n7m98az9pr0vyxhgw8b8b9knk8c48r";
13 };
14
15 nativeBuildInputs = [ pkgconfig ];
16 buildInputs = [ cmake ];
17
18 propagatedBuildInputs = [ libxml2 pcre ];
19
20 enableParallelBuilding = true;
21
22 meta = {
23 description = "A library for handling the COLLADA file format";
24 homepage = https://github.com/KhronosGroup/OpenCOLLADA/;
25 maintainers = [ stdenv.lib.maintainers.eelco ];
26 platforms = stdenv.lib.platforms.linux;
27 };
28}