mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-05 08:42:27 +01:00
vapoursynthPlugins.vsgan: init at 1.6.4
This commit is contained in:
parent
eae6c95bb5
commit
fc83e0b2db
|
@ -67,6 +67,7 @@ in
|
||||||
nnedi3_resample = callPythonPackage ./plugins/nnedi3_resample { };
|
nnedi3_resample = callPythonPackage ./plugins/nnedi3_resample { };
|
||||||
nnedi3_rpow2 = callPythonPackage ./plugins/nnedi3_rpow2 { };
|
nnedi3_rpow2 = callPythonPackage ./plugins/nnedi3_rpow2 { };
|
||||||
rekt = callPythonPackage ./plugins/rekt { };
|
rekt = callPythonPackage ./plugins/rekt { };
|
||||||
|
vsgan = callPythonPackage ./plugins/vsgan { };
|
||||||
vsTAAmbk = callPythonPackage ./plugins/vsTAAmbk { };
|
vsTAAmbk = callPythonPackage ./plugins/vsTAAmbk { };
|
||||||
vsutil = callPythonPackage ./plugins/vsutil { };
|
vsutil = callPythonPackage ./plugins/vsutil { };
|
||||||
|
|
||||||
|
|
42
plugins/vsgan/default.nix
Normal file
42
plugins/vsgan/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
vapoursynth,
|
||||||
|
poetry,
|
||||||
|
python3Packages
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "vsgan";
|
||||||
|
version = "1.6.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rlaphoenix";
|
||||||
|
repo = "VSGAN";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-bMgCah3kkyxNU5tb/eLt0tuG4xnD4sbtAzUK0a4uOKE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
poetry
|
||||||
|
] ++ (with python3Packages; [
|
||||||
|
numpy
|
||||||
|
pytorch
|
||||||
|
]);
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
vapoursynth
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "vsgan" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "ESRGAN for VapourSynth";
|
||||||
|
homepage = "https://vsgan.phoeniix.dev/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ aidalgol ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue