From 0576218a4e654e81d5c85871150eb77e8ae1c3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 22 Jan 2022 01:26:55 +0000 Subject: [PATCH] ytfzf: 2.0 -> 2.1 https://github.com/pystardust/ytfzf/releases/tag/v2.1 --- pkgs/tools/misc/ytfzf/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/misc/ytfzf/default.nix b/pkgs/tools/misc/ytfzf/default.nix index 95b4a8907230..3bb0f4382bbf 100644 --- a/pkgs/tools/misc/ytfzf/default.nix +++ b/pkgs/tools/misc/ytfzf/default.nix @@ -16,30 +16,25 @@ stdenv.mkDerivation rec { pname = "ytfzf"; - version = "2.0"; + version = "2.1"; src = fetchFromGitHub { owner = "pystardust"; repo = "ytfzf"; rev = "v${version}"; - sha256 = "sha256-JuLfFC3oz2FvCaD+XPuL1N8tGKmv4atyZIBeDKWYgT8="; + hash = "sha256-NJLXXam7FmBWj9sM+S71e5o5e6OtVpw0m32kUo3Fbec="; }; nativeBuildInputs = [ makeWrapper ]; - makeFlags = [ "PREFIX=${placeholder "out"}/bin" ]; - dontBuild = true; + installFlags = [ "PREFIX=${placeholder "out"}" "doc" ]; + postInstall = '' wrapProgram "$out/bin/ytfzf" --prefix PATH : ${lib.makeBinPath [ chafa coreutils curl dmenu fzf gnused jq mpv ueberzug yt-dlp ]} - - gzip -c docs/man/ytfzf.1 > docs/man/ytfzf.1.gz - gzip -c docs/man/ytfzf.5 > docs/man/ytfzf.5.gz - install -Dt "$out/share/man/man1" docs/man/ytfzf.1.gz - install -Dt "$out/share/man/man5" docs/man/ytfzf.5.gz ''; meta = with lib; {