blender: fix build; openvdb_11: init at 11.0.0 (#354095)

This commit is contained in:
Dmitry Kalinkin 2024-11-07 18:11:57 -05:00 committed by GitHub
commit 59d2f9da2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 22 additions and 2 deletions

View File

@ -64,7 +64,7 @@
openjpeg,
openpgl,
opensubdiv,
openvdb,
openvdb_11,
openxr-loader,
pkg-config,
potrace,
@ -276,7 +276,7 @@ stdenv.mkDerivation (finalAttrs: {
openjpeg
openpgl
(opensubdiv.override { inherit cudaSupport; })
openvdb
openvdb_11
potrace
pugixml
python3

View File

@ -0,0 +1,19 @@
{
lib,
fetchFromGitHub,
openvdb,
}:
openvdb.overrideAttrs (old: rec {
name = "${old.pname}-${version}";
version = "11.0.0";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openvdb";
rev = "v${version}";
sha256 = "sha256-wDDjX0nKZ4/DIbEX33PoxR43dJDj2NF3fm+Egug62GQ=";
};
meta = old.meta // {
license = lib.licenses.mpl20;
};
})

View File

@ -22172,6 +22172,7 @@ with pkgs;
zunclient = with python311Packages; toPythonApplication python-zunclient;
openvdb = callPackage ../development/libraries/openvdb { };
openvdb_11 = callPackage ../development/libraries/openvdb/11.nix { };
openvr = callPackage ../by-name/op/openvr/package.nix {
inherit (darwin.apple_sdk.frameworks) Foundation AppKit;