ytfzf: 2.2 -> 2.3
https://github.com/pystardust/ytfzf/releases/tag/v2.3
This commit is contained in:
parent
293a5455f3
commit
bdfa16df6c
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user