diff --git a/pkgs/by-name/lu/luminous-ttv/package.nix b/pkgs/by-name/lu/luminous-ttv/package.nix new file mode 100644 index 000000000000..0dd3d97c0aba --- /dev/null +++ b/pkgs/by-name/lu/luminous-ttv/package.nix @@ -0,0 +1,32 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: + +rustPlatform.buildRustPackage rec { + pname = "luminous-ttv"; + version = "0.5.7"; + + src = fetchFromGitHub { + owner = "AlyoshaVasilieva"; + repo = "luminous-ttv"; + rev = "v${version}"; + hash = "sha256-uaq5uiSp4lci27BxtqjdtUeiJvXhWo25lfFE+dQys6Y="; + }; + + cargoHash = "sha256-jbtHxarRQ8gpCBc/HZWSnkzMrlMMltpknUBV1SGVq/I="; + + meta = { + description = "Rust server to retrieve and relay a playlist for Twitch livestreams/VODs"; + homepage = "https://github.com/AlyoshaVasilieva/luminous-ttv"; + downloadPage = "https://github.com/AlyoshaVasilieva/luminous-ttv/releases/latest"; + changelog = "https://github.com/AlyoshaVasilieva/luminous-ttv/releases/tag/v${version}"; + license = with lib.licenses; [ + gpl3Only + mit + ]; + mainProgram = "luminous-ttv"; + maintainers = with lib.maintainers; [ alex ]; + }; +}