mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
collada-dom: 2.5.3 -> 2.5.4, clean, doCheck, fix for gcc16 (#547434)
This commit is contained in:
@@ -4,14 +4,19 @@
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
boost,
|
||||
bzip2,
|
||||
libxml2,
|
||||
minizip,
|
||||
pkg-config,
|
||||
pcre-cpp,
|
||||
readline,
|
||||
uriparser,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "collada-dom";
|
||||
version = "2.5.3";
|
||||
version = "2.5.4";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
@@ -20,22 +25,35 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "Gepetto";
|
||||
repo = "collada-dom";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-vkbQvgY1ISOhbDeEmLuOWRfwQsOZRffUi3tpT/G33KY=";
|
||||
hash = "sha256-6V1Ew1YWybgqt0dikNdXwK+4D1odgVN/7NvaikjRqE4=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/include/*/* $out/include
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
bzip2
|
||||
libxml2
|
||||
minizip
|
||||
pcre-cpp
|
||||
readline
|
||||
uriparser
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "OPT_COMPILE_TESTS" finalAttrs.doCheck)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "API that provides a C++ object representation of a COLLADA XML instance document";
|
||||
longDescription = "This is a fork of [rdiankov/collada-dom](https://github.com/rdiankov/collada-dom) which has been unmaintained for six years.";
|
||||
|
||||
Reference in New Issue
Block a user