Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
30 lines
760 B
Nix
30 lines
760 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "twitch-hls-client";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "2bc4";
|
|
repo = "twitch-hls-client";
|
|
rev = version;
|
|
hash = "sha256-B/gOqgn5g3L8Qs7a6vvjdHX4s+5KW2zg2z9mkzsdQqA=";
|
|
};
|
|
|
|
cargoHash = "sha256-5LEMYUwPu6ydmL0mZVgXHKGkjnamvhw9e6II/xEnr04=";
|
|
|
|
meta = with lib; {
|
|
description = "Minimal CLI client for watching/recording Twitch streams";
|
|
homepage = "https://github.com/2bc4/twitch-hls-client.git";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ lenivaya ];
|
|
mainProgram = "twitch-hls-client";
|
|
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|