openimagedenoise: 1.2.2 -> 1.3.0

Moved 1.2.2 to an extra file, as we still need it for luxcorerender to
build.

https://github.com/LuxCoreRender/LuxCore/pull/482#issuecomment-744343949

Also build with python3.
This commit is contained in:
Justin Humm
2021-04-12 12:30:25 +02:00
parent 24d04bc192
commit 0e31f60cad
3 changed files with 32 additions and 5 deletions
@@ -1,16 +1,16 @@
{ lib, stdenv, fetchzip, cmake, tbb, python, ispc }:
{ lib, stdenv, fetchzip, cmake, tbb, python3, ispc }:
stdenv.mkDerivation rec {
pname = "openimagedenoise";
version = "1.2.2";
version = "1.3.0";
# 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";
sha256 = "sha256-ls0F2D5pC+wqhQn1Zh8m8Q/KoK7rAkhKatTY9k+letQ=";
};
nativeBuildInputs = [ cmake python ispc ];
nativeBuildInputs = [ cmake python3 ispc ];
buildInputs = [ tbb ];
meta = with lib; {