diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-04-16 08:17:36 +0000 |
---|---|---|
committer | Robert Schütz <github@dotlambda.de> | 2022-04-26 03:05:18 +0000 |
commit | bdfa16df6c41e54f20f00ef7dc029b358488c76d (patch) | |
tree | e51d91ac657fa63db7a28ebe1f4c8d631de6a716 /pkgs/tools/misc/ytfzf | |
parent | 293a5455f31039a590cca0b844d134736fedae46 (diff) |
ytfzf: 2.2 -> 2.3
https://github.com/pystardust/ytfzf/releases/tag/v2.3
Diffstat (limited to 'pkgs/tools/misc/ytfzf')
-rw-r--r-- | pkgs/tools/misc/ytfzf/default.nix | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/pkgs/tools/misc/ytfzf/default.nix b/pkgs/tools/misc/ytfzf/default.nix index fd58e79063ebd..9bcc0712c354a 100644 --- a/pkgs/tools/misc/ytfzf/default.nix +++ b/pkgs/tools/misc/ytfzf/default.nix @@ -16,25 +16,32 @@ stdenv.mkDerivation rec { pname = "ytfzf"; - version = "2.2"; + version = "2.3"; src = fetchFromGitHub { owner = "pystardust"; repo = "ytfzf"; rev = "v${version}"; - hash = "sha256-dQq7p/aK9iiyuhuxh5eVXR9GLukwsvosONpQTI0mknw="; + hash = "sha256-zfoICi1VChmrRHZ3dSHGTcXkVf/zirQTycFz98xj+QY="; }; nativeBuildInputs = [ makeWrapper ]; dontBuild = true; - installFlags = [ "PREFIX=${placeholder "out"}" "doc" ]; + installFlags = [ + "PREFIX=" + "DESTDIR=${placeholder "out"}" + "doc" + "addons" + ]; postInstall = '' - wrapProgram "$out/bin/ytfzf" --prefix PATH : ${lib.makeBinPath [ - chafa coreutils curl dmenu fzf gnused jq mpv ueberzug yt-dlp - ]} + wrapProgram "$out/bin/ytfzf" \ + --prefix PATH : ${lib.makeBinPath [ + chafa coreutils curl dmenu fzf gnused jq mpv ueberzug yt-dlp + ]} \ + --set YTFZF_SYSTEM_ADDON_DIR "$out/share/ytfzf/addons" ''; meta = with lib; { |