openimagedenoise: 1.1.0 -> 1.2.1

This commit is contained in:
tilpner 2020-06-21 17:39:57 +02:00
parent 801cd893c9
commit 87c11dd953
No known key found for this signature in database
GPG Key ID: E9192E216175A76D

View File

@ -1,18 +1,16 @@
{ stdenv, fetchFromGitHub, cmake, tbb, python }: { stdenv, fetchzip, cmake, tbb, python, ispc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "openimagedenoise"; pname = "openimagedenoise";
version = "1.1.0"; version = "1.2.1";
src = fetchFromGitHub { # The release tarballs include pretrained weights, which would otherwise need to be fetched with git-lfs
owner = "OpenImageDenoise"; src = fetchzip {
repo = "oidn"; url = "https://github.com/OpenImageDenoise/oidn/releases/download/v${version}/oidn-${version}.src.tar.gz";
rev = "v${version}"; sha256 = "1f8s69ixv7nsdap9hc2njli2x75zmlrfq8cy79772gz83kph8s25";
sha256 = "032s7vablqnmrcc4xf2c94kwj0kbcd64bram10g0yc42fg0a3r9m";
fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake python ]; nativeBuildInputs = [ cmake python ispc ];
buildInputs = [ tbb ]; buildInputs = [ tbb ];
meta = with stdenv.lib; { meta = with stdenv.lib; {