forked from mirrors/nixpkgs
ytfzf: 2.3 -> 2.4.0
https://github.com/pystardust/ytfzf/releases/tag/v2.4.0
This commit is contained in:
parent
2f37856d4a
commit
e03a83380d
|
@ -2,7 +2,6 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, chafa
|
||||
, coreutils
|
||||
, curl
|
||||
, dmenu
|
||||
|
@ -16,13 +15,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ytfzf";
|
||||
version = "2.3";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pystardust";
|
||||
repo = "ytfzf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zfoICi1VChmrRHZ3dSHGTcXkVf/zirQTycFz98xj+QY=";
|
||||
hash = "sha256-IQ6YIHcFriqLAGoB8QhvWiYkI7Aq4RL12TL3c/N+YqE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -39,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
postInstall = ''
|
||||
wrapProgram "$out/bin/ytfzf" \
|
||||
--prefix PATH : ${lib.makeBinPath [
|
||||
chafa coreutils curl dmenu fzf gnused jq mpv ueberzug yt-dlp
|
||||
coreutils curl dmenu fzf gnused jq mpv ueberzug yt-dlp
|
||||
]} \
|
||||
--set YTFZF_SYSTEM_ADDON_DIR "$out/share/ytfzf/addons"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue