ani-cli: 3.4 -> 4.0

This commit is contained in:
port19 2023-01-30 22:20:28 +01:00
parent d011533dfc
commit 4b55a1d1f6

View file

@ -4,21 +4,21 @@
, lib , lib
, gnugrep , gnugrep
, gnused , gnused
, curl , wget
, openssl , fzf
, mpv , mpv
, aria2 , aria2
}: }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "ani-cli"; pname = "ani-cli";
version = "3.4"; version = "4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pystardust"; owner = "pystardust";
repo = "ani-cli"; repo = "ani-cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Xb7MNL7YKbvyRR5ZppUfCYeYpjNAiJWNOjIFk5fUvpY="; hash = "sha256-1yhBlQ/abT+/BKEIskgnAh+cmKCzXuS9hu6apaangVk=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -29,7 +29,7 @@ stdenvNoCC.mkDerivation rec {
install -Dm755 ani-cli $out/bin/ani-cli install -Dm755 ani-cli $out/bin/ani-cli
wrapProgram $out/bin/ani-cli \ wrapProgram $out/bin/ani-cli \
--prefix PATH : ${lib.makeBinPath [ gnugrep gnused curl openssl mpv aria2 ]} --prefix PATH : ${lib.makeBinPath [ gnugrep gnused wget fzf mpv aria2 ]}
runHook postInstall runHook postInstall
''; '';