2014-12-23 17:16:47 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2, pcre }:
|
|
|
|
|
2017-09-16 20:40:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "opencollada-${version}";
|
2014-12-23 17:16:47 +00:00
|
|
|
|
2018-02-27 16:32:50 +00:00
|
|
|
version = "1.6.62";
|
2014-12-23 17:16:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "OpenCOLLADA";
|
2017-09-16 20:40:02 +01:00
|
|
|
rev = "v${version}";
|
2018-02-27 16:32:50 +00:00
|
|
|
sha256 = "0bqki6sdvxsp9drzj87ma6n7m98az9pr0vyxhgw8b8b9knk8c48r";
|
2014-12-23 17:16:47 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake ];
|
2014-12-23 17:16:47 +00: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;
|
|
|
|
};
|
|
|
|
}
|