16 stdenv.mkDerivation rec {
20 src = fetchFromGitHub {
24 hash = "sha256-rwCVOdu9UfTArISt8ITQtLU4Gj2EZd07bcFKvxXQ7Bc=";
27 nativeBuildInputs = [ makeWrapper ];
33 "DESTDIR=${placeholder "out"}"
39 wrapProgram "$out/bin/ytfzf" \
40 --prefix PATH : ${lib.makeBinPath [
41 coreutils curl dmenu fzf gnused jq mpv ueberzugpp yt-dlp
43 --set YTFZF_SYSTEM_ADDON_DIR "$out/share/ytfzf/addons"
47 description = "Posix script to find and watch youtube videos from the terminal";
48 homepage = "https://github.com/pystardust/ytfzf";
49 license = licenses.gpl3Only;
50 platforms = platforms.all;
51 maintainers = with maintainers; [ dotlambda ];
52 mainProgram = "ytfzf";