Loading pkgs/by-name/op/openimagedenoise/package.nix +8 −7 Original line number Diff line number Diff line Loading @@ -15,19 +15,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "openimagedenoise"; version = "2.2.2"; version = "2.3.2"; # The release tarballs include pretrained weights, which would otherwise need to be fetched with git-lfs src = fetchzip { url = "https://github.com/OpenImageDenoise/oidn/releases/download/v${finalAttrs.version}/oidn-${finalAttrs.version}.src.tar.gz"; sha256 = "sha256-ZIrs4oEb+PzdMh2x2BUFXKyu/HBlFb3CJX24ciEHy3Q="; url = "https://github.com/RenderKit/oidn/releases/download/v${finalAttrs.version}/oidn-${finalAttrs.version}.src.tar.gz"; sha256 = "sha256-yTa6U/1idfidbfNTQ7mXcroe7M4eM7Frxi45A/7e2A8="; }; patches = lib.optional cudaSupport ./cuda.patch; postPatch = '' substituteInPlace devices/metal/CMakeLists.txt \ --replace-fail "AppleClang" "Clang" # fix build failure with GCC14 substituteInPlace cmake/oidn_platform.cmake \ --replace-fail "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 14)" ''; nativeBuildInputs = Loading Loading @@ -61,11 +62,11 @@ stdenv.mkDerivation (finalAttrs: { ]; meta = with lib; { homepage = "https://openimagedenoise.github.io"; homepage = "https://www.openimagedenoise.org"; description = "High-Performance Denoising Library for Ray Tracing"; license = licenses.asl20; maintainers = [ maintainers.leshainc ]; platforms = platforms.unix; changelog = "https://github.com/OpenImageDenoise/oidn/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/RenderKit/oidn/blob/v${version}/CHANGELOG.md"; }; }) Loading
pkgs/by-name/op/openimagedenoise/package.nix +8 −7 Original line number Diff line number Diff line Loading @@ -15,19 +15,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "openimagedenoise"; version = "2.2.2"; version = "2.3.2"; # The release tarballs include pretrained weights, which would otherwise need to be fetched with git-lfs src = fetchzip { url = "https://github.com/OpenImageDenoise/oidn/releases/download/v${finalAttrs.version}/oidn-${finalAttrs.version}.src.tar.gz"; sha256 = "sha256-ZIrs4oEb+PzdMh2x2BUFXKyu/HBlFb3CJX24ciEHy3Q="; url = "https://github.com/RenderKit/oidn/releases/download/v${finalAttrs.version}/oidn-${finalAttrs.version}.src.tar.gz"; sha256 = "sha256-yTa6U/1idfidbfNTQ7mXcroe7M4eM7Frxi45A/7e2A8="; }; patches = lib.optional cudaSupport ./cuda.patch; postPatch = '' substituteInPlace devices/metal/CMakeLists.txt \ --replace-fail "AppleClang" "Clang" # fix build failure with GCC14 substituteInPlace cmake/oidn_platform.cmake \ --replace-fail "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 14)" ''; nativeBuildInputs = Loading Loading @@ -61,11 +62,11 @@ stdenv.mkDerivation (finalAttrs: { ]; meta = with lib; { homepage = "https://openimagedenoise.github.io"; homepage = "https://www.openimagedenoise.org"; description = "High-Performance Denoising Library for Ray Tracing"; license = licenses.asl20; maintainers = [ maintainers.leshainc ]; platforms = platforms.unix; changelog = "https://github.com/OpenImageDenoise/oidn/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/RenderKit/oidn/blob/v${version}/CHANGELOG.md"; }; })