ytfzf: 2.2 -> 2.3

https://github.com/pystardust/ytfzf/releases/tag/v2.3
This commit is contained in:
Robert Schütz 2022-04-16 08:17:36 +00:00 committed by Robert Schütz
parent 293a5455f3
commit bdfa16df6c

View file

@ -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 [
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; {