-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
waifu2x-converter-cpp: init at 5.2.1 #50398
Conversation
@GrahamcOfBorg build waifu2x-converter-cpp |
Success on x86_64-linux (full log) Attempted: waifu2x-converter-cpp Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: waifu2x-converter-cpp Partial log (click to expand)
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, opencv3, opencl-headers, | ||
cudaSupport ? false , cudatoolkit ? null }: | ||
stdenv.mkDerivation rec { | ||
name = "${pname}-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer required as pname
and version
alone are sufficient.
|
||
preConfigure = '' | ||
mkdir -p $out | ||
cp -r models_rgb $out/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://github.com/DeadSix27/waifu2x-converter-cpp/blob/master/BUILDING.md it looks like this step is only required on MacOS/OSX?
Also, why is this in preConfigure instead of postInstall?
stdenv.mkDerivation rec { | ||
name = "${pname}-${version}"; | ||
pname = "waifu2x-converter-cpp"; | ||
version = "5.2.1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bump to most recent release (currently 5.2.4).
Motivation for this change
Adds waifu2x-converter-cpp, an anime image superresolution tool.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)