diff --git a/default.nix b/default.nix index a8951b7..54961ab 100644 --- a/default.nix +++ b/default.nix @@ -37,6 +37,7 @@ in nnedi3 = super.callPackage ./plugins/nnedi3 { }; nnedi3cl = super.callPackage ./plugins/nnedi3cl { }; placebo = super.callPackage ./plugins/placebo { }; + remap = super.callPackage ./plugins/remap { }; retinex = super.callPackage ./plugins/retinex { }; sangnom = super.callPackage ./plugins/sangnom { }; scxvid = super.callPackage ./plugins/scxvid { }; diff --git a/plugins/remap/default.nix b/plugins/remap/default.nix new file mode 100644 index 0000000..cd54e48 --- /dev/null +++ b/plugins/remap/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: + +stdenv.mkDerivation rec { + pname = "Vapoursynth-RemapFrames"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "Irrational-Encoding-Wizardry"; + repo = pname; + rev = "v${version}"; + sha256 = "1ki5yvlrw1x3hr3jb9mi7va66kl6lq5f2aynylz5lsx2f14iavra"; + }; + + nativeBuildInputs = [ meson ninja pkg-config ]; + buildInputs = [ vapoursynth ]; + + meta = with lib; { + description = "Vapoursynth port of RemapFrames"; + homepage = "https://github.com/Irrational-Encoding-Wizardry/Vapoursynth-RemapFrames"; + license = licenses.bsd2; + maintainers = with maintainers; [ sbruder ]; + platforms = platforms.all; + }; +}