-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118419 from erictapen/openimagedenoise-1.3.0
openimagedenoise: 1.2.2 -> 1.3.0
- Loading branch information
Showing
3 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ lib, stdenv, fetchzip, cmake, tbb, python3, ispc }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "openimagedenoise"; | ||
version = "1.2.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${version}/oidn-${version}.src.tar.gz"; | ||
sha256 = "0wyaarjxkzlvljmpnr7qm06ma2wl1aik3z664gwpzhizswygk6yp"; | ||
}; | ||
|
||
nativeBuildInputs = [ cmake python3 ispc ]; | ||
buildInputs = [ tbb ]; | ||
|
||
meta = with lib; { | ||
homepage = "https://openimagedenoise.github.io"; | ||
description = "High-Performance Denoising Library for Ray Tracing"; | ||
license = licenses.asl20; | ||
maintainers = [ maintainers.leshainc ]; | ||
platforms = platforms.unix; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters