Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 852 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 unstableGitUpdater, 5 buildLua, 6}: 7 8buildLua rec { 9 pname = "mpv-reload"; 10 11 version = "0-unstable-2024-03-22"; 12 src = fetchFromGitHub { 13 owner = "4e6"; 14 repo = pname; 15 rev = "1a6a9383ba1774708fddbd976e7a9b72c3eec938"; 16 hash = "sha256-BshxCjec/UNGyiC0/g1Rai2NvG2qOIHXDDEUYwwdij0="; 17 }; 18 passthru.updateScript = unstableGitUpdater { }; 19 20 meta = { 21 description = "Manual & automatic reloading of videos"; 22 longDescription = '' 23 This script adds reloading of videos, automatically on timers (when stuck 24 buffering etc.) or manually on keybinds, to help with cases where a stream 25 is not loading further due to a network or remote issue. 26 ''; 27 homepage = "https://github.com/4e6/mpv-reload"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ nicoo ]; 30 }; 31}