Commit 602a8585 authored by Joshua Trees's avatar Joshua Trees
Browse files

peertube-viewer: clean up package a bit

- remove unnecessary youtube-dl arg
- remove unnecessary rec keyword
- add meta.mainProgram to make "nix run" work
parent 345c263f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,10 +2,9 @@
  lib,
  fetchFromGitLab,
  rustPlatform,
  youtube-dl,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
  pname = "peertube-viewer";
  version = "1.8.6";

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