mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
602a858557
- remove unnecessary youtube-dl arg - remove unnecessary rec keyword - add meta.mainProgram to make "nix run" work
28 lines
695 B
Nix
28 lines
695 B
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "peertube-viewer";
|
|
version = "1.8.6";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "peertube-viewer";
|
|
repo = "peertube-viewer-rs";
|
|
rev = "v1.8.6";
|
|
hash = "sha256-ZzeWk01migUrKR7GndtNo0kLYSCUXCg0H0eCXgrDXaM==";
|
|
};
|
|
|
|
cargoHash = "sha256-5u5240PL5cKhnHsT7sRdccrbZBAbRN+fa+FhJP1gX/4==";
|
|
|
|
meta = with lib; {
|
|
description = "A simple CLI browser for the peertube federated video platform";
|
|
homepage = "https://gitlab.com/peertube-viewer/peertube-viewer-rs";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ haruki7049 ];
|
|
mainProgram = "peertube-viewer-rs";
|
|
};
|
|
}
|