opencollada-blender: init at unstable-2025-01-30
Blender is now using a fork of OpenCOLLADA. They have done so since 4.2, but in the upcoming Blender 4.4, Blender will fail to build with the original and needs this fork. This fork “removes everything (a lot!) that is not actually needed by Blender” and so is likely not suitable for use by other projects (of which there are a few within Nixpkgs). See more in [upstream README][1]. [1]: https://github.com/aras-p/OpenCOLLADA/blob/4526eb8aaa6462c71fbedd23103976c151a01c50/README.md
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
libxml2,
|
||||
pcre,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "opencollada";
|
||||
version = "unstable-2025-01-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aras-p";
|
||||
repo = "OpenCOLLADA";
|
||||
rev = "4526eb8aaa6462c71fbedd23103976c151a01c50";
|
||||
sha256 = "sha256-ctr+GjDzxOJxBfaMwjwayPkAOcF+FMsP1X72QCOwvTY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libxml2
|
||||
pcre
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Library for handling the COLLADA file format";
|
||||
homepage = "https://github.com/KhronosGroup/OpenCOLLADA/";
|
||||
maintainers = [ lib.maintainers.amarshall ];
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user