mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-14 13:12:25 +01:00
Simon Bruder
eeceb7e2e4
When overriding the python3 dependency of vapoursynth, it should get propagated to all plugins. Currently, however, this causes incompatibilities, because `vapoursynth.python3.callPackage` only sets the `python` attribute, not `python3`. This currently causes build failures due to different site-packages paths.
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ lib, buildPythonPackage, fetchgit, vapoursynthPlugins, python, vapoursynth }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "finedehalo";
|
|
version = "unstable-2016-07-08";
|
|
|
|
src = fetchgit {
|
|
url = "https://gist.github.com/bcd427ec0fa8fdf7c45433917521bac4.git";
|
|
rev = "879cd79512d8f43083bcc7832890649aaf4d49fe";
|
|
sha256 = "0iq8hjwab9lmyaa49k03pi64fw34hdv6xr33s9kyjn6f9j2dn8b5";
|
|
};
|
|
|
|
propagatedBuildInputs = with vapoursynthPlugins; [
|
|
havsfunc
|
|
mvsfunc
|
|
];
|
|
|
|
format = "other";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -D finedehalo.py $out/${python.sitePackages}/finedehalo.py
|
|
runHook postInstall
|
|
'';
|
|
|
|
checkInputs = [ vapoursynth ];
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
|
runHook postCheck
|
|
'';
|
|
pythonImportsCheck = [ "finedehalo" ];
|
|
|
|
meta = with lib; {
|
|
description = "FineDehalo ported to VapourSynth";
|
|
homepage = "https://forum.doom9.org/showthread.php?t=173672";
|
|
license = licenses.unfree; # no license
|
|
maintainers = with maintainers; [ sbruder ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|