diff options
author | dawidsowa <dawid_sowa@posteo.net> | 2020-05-16 23:23:35 +0200 |
---|---|---|
committer | dawidsowa <dawid_sowa@posteo.net> | 2020-09-11 12:59:17 +0200 |
commit | 59e1c160302c940cfbace34e71b373586221b6de (patch) | |
tree | b57cce5e6dd247db4bfa2cffb4638a3d84a9ba31 /pkgs/applications/video | |
parent | 32b8ed738096bafb4cdb7f70347a0f63f9f40151 (diff) | |
download | nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.tar nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.tar.gz nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.tar.bz2 nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.tar.lz nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.tar.xz nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.tar.zst nixpkgs-59e1c160302c940cfbace34e71b373586221b6de.zip |
mpvScripts.autoload: init at 2019-02-15
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/autoload.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/video/mpv/scripts/autoload.nix b/pkgs/applications/video/mpv/scripts/autoload.nix new file mode 100644 index 00000000000..f64e702f21c --- /dev/null +++ b/pkgs/applications/video/mpv/scripts/autoload.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, mpv-unwrapped, lib }: + +stdenv.mkDerivation rec { + pname = "mpv-autoload"; + version = mpv-unwrapped.version; + src = "${mpv-unwrapped.src.outPath}/TOOLS/lua/autoload.lua"; + dontBuild = true; + dontUnpack = true; + installPhase = '' + install -Dm644 ${src} $out/share/mpv/scripts/autoload.lua + ''; + passthru.scriptName = "autoload.lua"; + + meta = { + description = "This script automatically loads playlist entries before and after the the currently played file"; + homepage = "https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua"; + maintainers = [ lib.maintainers.dawidsowa ]; + license = lib.licenses.gpl2Plus; + }; +} |