treewide: add meta.mainProgram and other cleanup

+26 -17
+2 -1
pkgs/applications/misc/fuzzel/default.nix
··· 65 ]; 66 67 meta = with lib; { 68 description = "Wayland-native application launcher, similar to rofi’s drun mode"; 69 homepage = "https://codeberg.org/dnkl/fuzzel"; 70 license = with licenses; [ mit zlib ]; 71 maintainers = with maintainers; [ fionera polykernel rodrgz ]; 72 platforms = with platforms; linux; 73 - changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${version}"; 74 }; 75 }
··· 65 ]; 66 67 meta = with lib; { 68 + changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${version}"; 69 description = "Wayland-native application launcher, similar to rofi’s drun mode"; 70 homepage = "https://codeberg.org/dnkl/fuzzel"; 71 license = with licenses; [ mit zlib ]; 72 + mainProgram = "fuzzel"; 73 maintainers = with maintainers; [ fionera polykernel rodrgz ]; 74 platforms = with platforms; linux; 75 }; 76 }
+3 -2
pkgs/applications/misc/swappy/default.nix
··· 23 owner = "jtheoof"; 24 repo = pname; 25 rev = "v${version}"; 26 - sha256 = "sha256-/XPvy98Il4i8cDl9vH6f0/AZmiSqseSXnen7HfMqCDo="; 27 }; 28 29 nativeBuildInputs = [ glib meson ninja pkg-config scdoc wrapGAppsHook ]; ··· 40 ]; 41 42 meta = with lib; { 43 - homepage = "https://github.com/jtheoof/swappy"; 44 description = "A Wayland native snapshot editing tool, inspired by Snappy on macOS"; 45 license = licenses.mit; 46 maintainers = [ maintainers.matthiasbeyer ]; 47 platforms = platforms.linux; 48 };
··· 23 owner = "jtheoof"; 24 repo = pname; 25 rev = "v${version}"; 26 + hash = "sha256-/XPvy98Il4i8cDl9vH6f0/AZmiSqseSXnen7HfMqCDo="; 27 }; 28 29 nativeBuildInputs = [ glib meson ninja pkg-config scdoc wrapGAppsHook ]; ··· 40 ]; 41 42 meta = with lib; { 43 description = "A Wayland native snapshot editing tool, inspired by Snappy on macOS"; 44 + homepage = "https://github.com/jtheoof/swappy"; 45 license = licenses.mit; 46 + mainProgram = "swappy"; 47 maintainers = [ maintainers.matthiasbeyer ]; 48 platforms = platforms.linux; 49 };
+1
pkgs/applications/terminal-emulators/wezterm/default.nix
··· 140 description = "GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust"; 141 homepage = "https://wezfurlong.org/wezterm"; 142 license = licenses.mit; 143 maintainers = with maintainers; [ SuperSandro2000 mimame ]; 144 }; 145 }
··· 140 description = "GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust"; 141 homepage = "https://wezfurlong.org/wezterm"; 142 license = licenses.mit; 143 + mainProgram = "wezterm"; 144 maintainers = with maintainers; [ SuperSandro2000 mimame ]; 145 }; 146 }
+3 -2
pkgs/applications/video/streamlink/default.nix
··· 45 ]; 46 47 meta = with lib; { 48 homepage = "https://streamlink.github.io/"; 49 - description = "CLI for extracting streams from various websites to video player of your choosing"; 50 longDescription = '' 51 Streamlink is a CLI utility that pipes videos from online 52 streaming services to a variety of video players such as VLC, or ··· 54 55 Streamlink is a fork of the livestreamer project. 56 ''; 57 - changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md"; 58 license = licenses.bsd2; 59 maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ]; 60 }; 61 }
··· 45 ]; 46 47 meta = with lib; { 48 + changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md"; 49 + description = "CLI for extracting streams from various websites to video player of your choosing"; 50 homepage = "https://streamlink.github.io/"; 51 longDescription = '' 52 Streamlink is a CLI utility that pipes videos from online 53 streaming services to a variety of video players such as VLC, or ··· 55 56 Streamlink is a fork of the livestreamer project. 57 ''; 58 license = licenses.bsd2; 59 + mainProgram = "streamlink"; 60 maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ]; 61 }; 62 }
+3 -2
pkgs/applications/window-managers/sway/bg.nix
··· 26 27 meta = with lib; { 28 description = "Wallpaper tool for Wayland compositors"; 29 longDescription = '' 30 A wallpaper utility for Wayland compositors, that is compatible with any 31 Wayland compositor which implements the following Wayland protocols: 32 wlr-layer-shell, xdg-output, and xdg-shell. 33 ''; 34 - inherit (src.meta) homepage; 35 license = licenses.mit; 36 - platforms = platforms.linux; 37 maintainers = with maintainers; [ primeos ]; 38 }; 39 }
··· 26 27 meta = with lib; { 28 description = "Wallpaper tool for Wayland compositors"; 29 + inherit (src.meta) homepage; 30 longDescription = '' 31 A wallpaper utility for Wayland compositors, that is compatible with any 32 Wayland compositor which implements the following Wayland protocols: 33 wlr-layer-shell, xdg-output, and xdg-shell. 34 ''; 35 license = licenses.mit; 36 + mainProgram = "swaybg"; 37 maintainers = with maintainers; [ primeos ]; 38 + platforms = platforms.linux; 39 }; 40 }
+4 -3
pkgs/applications/window-managers/sway/idle.nix
··· 12 owner = "swaywm"; 13 repo = "swayidle"; 14 rev = version; 15 - sha256 = "sha256-/U6Y9H5ZqIJph3TZVcwr9+Qfd6NZNYComXuC1D9uGHg="; 16 }; 17 18 strictDeps = true; ··· 29 30 meta = with lib; { 31 description = "Idle management daemon for Wayland"; 32 longDescription = '' 33 Sway's idle management daemon. It is compatible with any Wayland 34 compositor which implements the KDE idle protocol. 35 ''; 36 - inherit (src.meta) homepage; 37 license = licenses.mit; 38 - platforms = platforms.linux; 39 maintainers = with maintainers; [ primeos ]; 40 }; 41 }
··· 12 owner = "swaywm"; 13 repo = "swayidle"; 14 rev = version; 15 + hash = "sha256-/U6Y9H5ZqIJph3TZVcwr9+Qfd6NZNYComXuC1D9uGHg="; 16 }; 17 18 strictDeps = true; ··· 29 30 meta = with lib; { 31 description = "Idle management daemon for Wayland"; 32 + inherit (src.meta) homepage; 33 longDescription = '' 34 Sway's idle management daemon. It is compatible with any Wayland 35 compositor which implements the KDE idle protocol. 36 ''; 37 license = licenses.mit; 38 + mainProgram = "swayidle"; 39 maintainers = with maintainers; [ primeos ]; 40 + platforms = platforms.linux; 41 }; 42 }
+2 -1
pkgs/tools/package-management/nixpkgs-review/default.nix
··· 60 ''; 61 62 meta = with lib; { 63 description = "Review pull-requests on https://github.com/NixOS/nixpkgs"; 64 homepage = "https://github.com/Mic92/nixpkgs-review"; 65 - changelog = "https://github.com/Mic92/nixpkgs-review/releases/tag/${version}"; 66 license = licenses.mit; 67 maintainers = with maintainers; [ figsoda mic92 ]; 68 }; 69 }
··· 60 ''; 61 62 meta = with lib; { 63 + changelog = "https://github.com/Mic92/nixpkgs-review/releases/tag/${version}"; 64 description = "Review pull-requests on https://github.com/NixOS/nixpkgs"; 65 homepage = "https://github.com/Mic92/nixpkgs-review"; 66 license = licenses.mit; 67 + mainProgram = "nixpkgs-review"; 68 maintainers = with maintainers; [ figsoda mic92 ]; 69 }; 70 }
+4 -3
pkgs/tools/wayland/slurp/default.nix
··· 47 mesonFlags = [ (lib.mesonEnable "man-pages" buildDocs) ]; 48 49 meta = with lib; { 50 - homepage = "https://github.com/emersion/slurp"; 51 description = "Select a region in a Wayland compositor"; 52 - changelog = "https://github.com/emersion/slurp/releases/tag/v${finalAttrs.version}"; 53 license = licenses.mit; 54 maintainers = with maintainers; [ buffet ]; 55 - inherit (wayland.meta) platforms; 56 }; 57 })
··· 47 mesonFlags = [ (lib.mesonEnable "man-pages" buildDocs) ]; 48 49 meta = with lib; { 50 + changelog = "https://github.com/emersion/slurp/releases/tag/v${finalAttrs.version}"; 51 description = "Select a region in a Wayland compositor"; 52 + inherit (wayland.meta) platforms; 53 + homepage = "https://github.com/emersion/slurp"; 54 license = licenses.mit; 55 + mainProgram = "slurp"; 56 maintainers = with maintainers; [ buffet ]; 57 }; 58 })
+4 -3
pkgs/tools/wayland/wl-clip-persist/default.nix
··· 29 ]; 30 31 meta = with lib; { 32 - inherit (wayland.meta) platforms; 33 homepage = "https://github.com/Linus789/wl-clip-persist"; 34 - description = "Keep Wayland clipboard even after programs close"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ thiagokokada ]; 37 - broken = stdenv.isDarwin; 38 }; 39 }
··· 29 ]; 30 31 meta = with lib; { 32 + broken = stdenv.isDarwin; 33 + description = "Keep Wayland clipboard even after programs close"; 34 homepage = "https://github.com/Linus789/wl-clip-persist"; 35 + inherit (wayland.meta) platforms; 36 license = licenses.mit; 37 + mainProgram = "wl-clip-persist"; 38 maintainers = with maintainers; [ thiagokokada ]; 39 }; 40 }