2014-12-23 17:16:47 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2, pcre }:
|
|
|
|
|
|
|
|
# The exact revision specified by Blender's install_deps.sh script.
|
2015-07-02 13:50:57 +01:00
|
|
|
let rev = "3335ac164e68b2512a40914b14c74db260e6ff7d"; in
|
2014-12-23 17:16:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "opencollada-1.3-${rev}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "OpenCOLLADA";
|
|
|
|
inherit rev;
|
2015-07-02 13:50:57 +01:00
|
|
|
sha256 = "0s2m8crbg1kf09hpscrplv65a45dlg157b9c20chrv7wy0qizbw5";
|
2014-12-23 17:16:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|