8 buildLua (finalAttrs: {
9 pname = "smart-copy-paste-2";
10 version = "0-unstable-2023-11-25";
12 scriptPath = "scripts/SmartCopyPaste_II.lua";
13 src = fetchFromGitHub {
16 rev = "48d68283cea47ff8e904decc9003b3abc3e2123e";
17 hash = "sha256-95CAKjBRELX2f7oWSHFWJnI0mikAoxhfUphe9k51Qf4=";
21 substituteInPlace scripts/SmartCopyPaste_II.lua \
22 --replace-fail 'xclip' "${lib.getExe xclip}"
25 passthru.updateScript = unstableGitUpdater { };
28 description = "Smart copy paste with logging and clipboard support";
29 homepage = "https://github.com/Eisa01/mpv-scripts";
30 license = licenses.bsd2;
31 maintainers = with maintainers; [ luftmensch-luftmensch ];