twitch-hls-client: init at 1.3.13 (#365656)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "twitch-hls-client";
|
||||
version = "1.3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "2bc4";
|
||||
repo = "twitch-hls-client";
|
||||
rev = version;
|
||||
hash = "sha256-H446qXFwRGippLMZemkW8sVhTV3YGpKmAvD8QBamAlo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-PK6x7xRUSbOFEAhw22T/zbMlqcS5ZQd2bpMp9OFIiUc=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user