treewide: add meta.mainProgram and other cleanup

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