Skip to content

Commit 602a858

Browse files
committed
peertube-viewer: clean up package a bit
- remove unnecessary youtube-dl arg - remove unnecessary rec keyword - add meta.mainProgram to make "nix run" work
1 parent 345c263 commit 602a858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/by-name/pe/peertube-viewer/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
lib,
33
fetchFromGitLab,
44
rustPlatform,
5-
youtube-dl,
65
}:
76

8-
rustPlatform.buildRustPackage rec {
7+
rustPlatform.buildRustPackage {
98
pname = "peertube-viewer";
109
version = "1.8.6";
1110

@@ -23,5 +22,6 @@ rustPlatform.buildRustPackage rec {
2322
homepage = "https://gitlab.com/peertube-viewer/peertube-viewer-rs";
2423
license = licenses.agpl3Only;
2524
maintainers = with maintainers; [ haruki7049 ];
25+
mainProgram = "peertube-viewer-rs";
2626
};
2727
}

0 commit comments

Comments
 (0)