forked from mirrors/nixpkgs
openimagedenoise: 1.1.0 -> 1.2.1
This commit is contained in:
parent
801cd893c9
commit
87c11dd953
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue