3
0
Fork 0
forked from mirrors/nixpkgs

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 {
pname = "openimagedenoise";
version = "1.1.0";
version = "1.2.1";
src = fetchFromGitHub {
owner = "OpenImageDenoise";
repo = "oidn";
rev = "v${version}";
sha256 = "032s7vablqnmrcc4xf2c94kwj0kbcd64bram10g0yc42fg0a3r9m";
fetchSubmodules = true;
# 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 = "1f8s69ixv7nsdap9hc2njli2x75zmlrfq8cy79772gz83kph8s25";
};
nativeBuildInputs = [ cmake python ];
nativeBuildInputs = [ cmake python ispc ];
buildInputs = [ tbb ];
meta = with stdenv.lib; {