From 86866756e44c8a67e0462bc480e40ef0c7181959 Mon Sep 17 00:00:00 2001 From: purrpurrn Date: Sat, 4 May 2024 18:05:13 +0200 Subject: [PATCH 1/3] mpvScripts.evafast: init at 0-unstable-2024-02-09 --- .../video/mpv/scripts/default.nix | 1 + .../video/mpv/scripts/evafast.nix | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/video/mpv/scripts/evafast.nix diff --git a/pkgs/applications/video/mpv/scripts/default.nix b/pkgs/applications/video/mpv/scripts/default.nix index 2241e9f5efac..6d4d4c06ab2a 100644 --- a/pkgs/applications/video/mpv/scripts/default.nix +++ b/pkgs/applications/video/mpv/scripts/default.nix @@ -99,6 +99,7 @@ let convert = callPackage ./convert.nix { }; cutter = callPackage ./cutter.nix { }; dynamic-crop = callPackage ./dynamic-crop.nix { }; + evafast = callPackage ./evafast.nix { }; inhibit-gnome = callPackage ./inhibit-gnome.nix { }; memo = callPackage ./memo.nix { }; manga-reader = callPackage ./manga-reader.nix { }; diff --git a/pkgs/applications/video/mpv/scripts/evafast.nix b/pkgs/applications/video/mpv/scripts/evafast.nix new file mode 100644 index 000000000000..7e1033469a16 --- /dev/null +++ b/pkgs/applications/video/mpv/scripts/evafast.nix @@ -0,0 +1,27 @@ +{ + fetchFromGitHub, + buildLua, + lib, + unstableGitUpdater, +}: + +buildLua { + pname = "evafast"; + version = "0-unstable-2024-02-09"; + + src = fetchFromGitHub { + owner = "po5"; + repo = "evafast"; + rev = "92af3e2e1c756ce83f9d0129c780caeef1131a0b"; + hash = "sha256-BGWD2XwVu8zOSiDJ+9oWi8aPN2Wkw0Y0gF58X4f+tdI="; + }; + + passthru.updateScript = unstableGitUpdater { }; + + meta = with lib; { + description = "Seeking and Hybrid fastforwarding like VHS"; + homepage = "https://github.com/po5/evafast"; + license = licenses.unfree; # no explicit licensing information available + maintainers = with lib.maintainers; [ purrpurrn ]; + }; +} From c7a82d15bf2dbb8507225faaed891bb1a39e4b1e Mon Sep 17 00:00:00 2001 From: purrpurr <142632643+purrpurrn@users.noreply.github.com> Date: Sun, 5 May 2024 21:11:18 +0200 Subject: [PATCH 2/3] Fix grammar error Co-authored-by: nicoo --- pkgs/applications/video/mpv/scripts/evafast.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/scripts/evafast.nix b/pkgs/applications/video/mpv/scripts/evafast.nix index 7e1033469a16..d6178ec63c14 100644 --- a/pkgs/applications/video/mpv/scripts/evafast.nix +++ b/pkgs/applications/video/mpv/scripts/evafast.nix @@ -19,7 +19,7 @@ buildLua { passthru.updateScript = unstableGitUpdater { }; meta = with lib; { - description = "Seeking and Hybrid fastforwarding like VHS"; + description = "Seeking and hybrid fastforwarding like VHS"; homepage = "https://github.com/po5/evafast"; license = licenses.unfree; # no explicit licensing information available maintainers = with lib.maintainers; [ purrpurrn ]; From 6bbb12cd8735a0a367ad7fa009a94cda6d10c23f Mon Sep 17 00:00:00 2001 From: purrpurr <142632643+purrpurrn@users.noreply.github.com> Date: Sun, 5 May 2024 21:11:44 +0200 Subject: [PATCH 3/3] Give the user more info about the licensing Co-authored-by: nicoo --- pkgs/applications/video/mpv/scripts/evafast.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/scripts/evafast.nix b/pkgs/applications/video/mpv/scripts/evafast.nix index d6178ec63c14..8ba1109ff2d5 100644 --- a/pkgs/applications/video/mpv/scripts/evafast.nix +++ b/pkgs/applications/video/mpv/scripts/evafast.nix @@ -21,7 +21,7 @@ buildLua { meta = with lib; { description = "Seeking and hybrid fastforwarding like VHS"; homepage = "https://github.com/po5/evafast"; - license = licenses.unfree; # no explicit licensing information available + license = licenses.unfree; # no license; see https://github.com/po5/evafast/issues/15 maintainers = with lib.maintainers; [ purrpurrn ]; }; }