Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
948 B
Nix
52 lines
948 B
Nix
{
|
|
cmake,
|
|
dos2unix,
|
|
fetchFromGitHub,
|
|
lib,
|
|
libxml2,
|
|
pcre,
|
|
pkg-config,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "opencollada";
|
|
version = "0-unstable-2025-01-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aras-p";
|
|
repo = "OpenCOLLADA";
|
|
rev = "4526eb8aaa6462c71fbedd23103976c151a01c50";
|
|
sha256 = "sha256-ctr+GjDzxOJxBfaMwjwayPkAOcF+FMsP1X72QCOwvTY=";
|
|
};
|
|
|
|
# Fix freaky dos-style CLRF things
|
|
prePatch = ''
|
|
dos2unix CMakeLists.txt
|
|
'';
|
|
|
|
patches = [
|
|
# https://github.com/aras-p/OpenCOLLADA/pull/1
|
|
./cmake4-compat.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
dos2unix
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
libxml2
|
|
pcre
|
|
];
|
|
|
|
meta = {
|
|
description = "Library for handling the COLLADA file format";
|
|
homepage = "https://github.com/aras-p/OpenCOLLADA";
|
|
maintainers = [ lib.maintainers.amarshall ];
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|