mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-26 02:32:26 +01:00
havsfunc: 33 -> unstable-2022-09-08
This commit is contained in:
parent
7599e41398
commit
18135db24a
|
@ -1,17 +1,6 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, vapoursynthPlugins, python, vapoursynth }:
|
{ lib, buildPythonPackage, fetchFromGitHub, vapoursynthPlugins, python, vapoursynth }:
|
||||||
|
let
|
||||||
buildPythonPackage rec {
|
plugins_native = with vapoursynthPlugins; [
|
||||||
pname = "havsfunc";
|
|
||||||
version = "33";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "HomeOfVapourSynthEvolution";
|
|
||||||
repo = pname;
|
|
||||||
rev = "r${version}";
|
|
||||||
sha256 = "14132gcy0zw348c40y2i8c7n3i1ygcnv9xrf83jp6m3b9v557z7p";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with vapoursynthPlugins; [
|
|
||||||
addgrain
|
addgrain
|
||||||
adjust
|
adjust
|
||||||
bm3d
|
bm3d
|
||||||
|
@ -37,14 +26,33 @@ buildPythonPackage rec {
|
||||||
ttempsmooth
|
ttempsmooth
|
||||||
znedi3
|
znedi3
|
||||||
];
|
];
|
||||||
|
plugins_python = with vapoursynthPlugins; [
|
||||||
|
vsutil
|
||||||
|
];
|
||||||
|
in
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "havsfunc";
|
||||||
|
version = "unstable-2022-09-08";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "HomeOfVapourSynthEvolution";
|
||||||
|
repo = pname;
|
||||||
|
rev = "2c6d3fedc3c4c3f3ed2460f7014d1227fe2fe207";
|
||||||
|
sha256 = "sha256-YJl/X9niJelgovwUK6S50lvQUe/yYAbXEHWBbMqfXz0=";
|
||||||
|
};
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
|
propagatedBuildInputs = plugins_native ++ plugins_python;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
install -D havsfunc.py $out/${python.sitePackages}/havsfunc.py
|
install -D havsfunc.py $out/${python.sitePackages}/havsfunc.py
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ (vapoursynth.withPlugins propagatedBuildInputs) ];
|
checkInputs = [ (vapoursynth.withPlugins plugins_native ) ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue