diff --git a/default.nix b/default.nix index a572c1d..0bf88ff 100644 --- a/default.nix +++ b/default.nix @@ -21,6 +21,7 @@ self: super: { fft3dfilter = super.callPackage ./plugins/fft3dfilter { }; fmtconv = super.callPackage ./plugins/fmtconv { }; histogram = super.callPackage ./plugins/histogram { }; + hqdn3d = super.callPackage ./plugins/hqdn3d { }; knlmeanscl = super.callPackage ./plugins/knlmeanscl { }; lsmashsource = super.callPackage ./plugins/lsmashsource { }; median = super.callPackage ./plugins/median { }; diff --git a/plugins/hqdn3d/default.nix b/plugins/hqdn3d/default.nix new file mode 100644 index 0000000..1f2ab24 --- /dev/null +++ b/plugins/hqdn3d/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, vapoursynth }: + +stdenv.mkDerivation rec { + pname = "vapoursynth-hqdn3d"; + version = "unstable-2018-06-29"; + + src = fetchFromGitHub { + owner = "Hinterwaeldlers"; + repo = pname; + rev = "eb820cb23f7dc47eb67ea95def8a09ab69251d30"; + sha256 = "05a01ymb5ncxgp5iy6i8ka9ysw9i6n188a2c2na6whf6rrkcgrh4"; + }; + + configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ]; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ vapoursynth ]; + + meta = with lib; { + description = "Vapoursynth port of hqdn3d from avisynth/mplayer"; + homepage = "https://github.com/Hinterwaeldlers/vapoursynth-hqdn3d"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ sbruder ]; + platforms = platforms.all; + }; +}