treewide: add meta.mainProgram and other cleanup

This commit is contained in:
Ludovico Piero 2023-08-11 11:56:27 +10:00
parent cf73a86c35
commit b5116310bc
No known key found for this signature in database
GPG key ID: 3911DD276CFE779C
9 changed files with 29 additions and 20 deletions

View file

@ -65,11 +65,12 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${version}";
description = "Wayland-native application launcher, similar to rofis drun mode";
homepage = "https://codeberg.org/dnkl/fuzzel";
license = with licenses; [ mit zlib ];
mainProgram = "fuzzel";
maintainers = with maintainers; [ fionera polykernel rodrgz ];
platforms = with platforms; linux;
changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${version}";
};
}

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
owner = "jtheoof";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/XPvy98Il4i8cDl9vH6f0/AZmiSqseSXnen7HfMqCDo=";
hash = "sha256-/XPvy98Il4i8cDl9vH6f0/AZmiSqseSXnen7HfMqCDo=";
};
nativeBuildInputs = [ glib meson ninja pkg-config scdoc wrapGAppsHook ];
@ -40,9 +40,10 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
homepage = "https://github.com/jtheoof/swappy";
description = "A Wayland native snapshot editing tool, inspired by Snappy on macOS";
homepage = "https://github.com/jtheoof/swappy";
license = licenses.mit;
mainProgram = "swappy";
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.linux;
};

View file

@ -140,6 +140,7 @@ rustPlatform.buildRustPackage rec {
description = "GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust";
homepage = "https://wezfurlong.org/wezterm";
license = licenses.mit;
mainProgram = "wezterm";
maintainers = with maintainers; [ SuperSandro2000 mimame ];
};
}

View file

@ -45,8 +45,9 @@ python3Packages.buildPythonApplication rec {
];
meta = with lib; {
homepage = "https://streamlink.github.io/";
changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
description = "CLI for extracting streams from various websites to video player of your choosing";
homepage = "https://streamlink.github.io/";
longDescription = ''
Streamlink is a CLI utility that pipes videos from online
streaming services to a variety of video players such as VLC, or
@ -54,8 +55,8 @@ python3Packages.buildPythonApplication rec {
Streamlink is a fork of the livestreamer project.
'';
changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
license = licenses.bsd2;
mainProgram = "streamlink";
maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
};
}

View file

@ -26,14 +26,15 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Wallpaper tool for Wayland compositors";
inherit (src.meta) homepage;
longDescription = ''
A wallpaper utility for Wayland compositors, that is compatible with any
Wayland compositor which implements the following Wayland protocols:
wlr-layer-shell, xdg-output, and xdg-shell.
'';
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "swaybg";
maintainers = with maintainers; [ primeos ];
platforms = platforms.linux;
};
}

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
owner = "swaywm";
repo = "swayidle";
rev = version;
sha256 = "sha256-/U6Y9H5ZqIJph3TZVcwr9+Qfd6NZNYComXuC1D9uGHg=";
hash = "sha256-/U6Y9H5ZqIJph3TZVcwr9+Qfd6NZNYComXuC1D9uGHg=";
};
strictDeps = true;
@ -29,13 +29,14 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Idle management daemon for Wayland";
inherit (src.meta) homepage;
longDescription = ''
Sway's idle management daemon. It is compatible with any Wayland
compositor which implements the KDE idle protocol.
'';
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "swayidle";
maintainers = with maintainers; [ primeos ];
platforms = platforms.linux;
};
}

View file

@ -60,10 +60,11 @@ python3.pkgs.buildPythonApplication rec {
'';
meta = with lib; {
changelog = "https://github.com/Mic92/nixpkgs-review/releases/tag/${version}";
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
homepage = "https://github.com/Mic92/nixpkgs-review";
changelog = "https://github.com/Mic92/nixpkgs-review/releases/tag/${version}";
license = licenses.mit;
mainProgram = "nixpkgs-review";
maintainers = with maintainers; [ figsoda mic92 ];
};
}

View file

@ -47,11 +47,12 @@ stdenv.mkDerivation (finalAttrs: {
mesonFlags = [ (lib.mesonEnable "man-pages" buildDocs) ];
meta = with lib; {
homepage = "https://github.com/emersion/slurp";
description = "Select a region in a Wayland compositor";
changelog = "https://github.com/emersion/slurp/releases/tag/v${finalAttrs.version}";
license = licenses.mit;
maintainers = with maintainers; [ buffet ];
description = "Select a region in a Wayland compositor";
inherit (wayland.meta) platforms;
homepage = "https://github.com/emersion/slurp";
license = licenses.mit;
mainProgram = "slurp";
maintainers = with maintainers; [ buffet ];
};
})

View file

@ -29,11 +29,12 @@ rustPlatform.buildRustPackage {
];
meta = with lib; {
inherit (wayland.meta) platforms;
homepage = "https://github.com/Linus789/wl-clip-persist";
description = "Keep Wayland clipboard even after programs close";
license = licenses.mit;
maintainers = with maintainers; [ thiagokokada ];
broken = stdenv.isDarwin;
description = "Keep Wayland clipboard even after programs close";
homepage = "https://github.com/Linus789/wl-clip-persist";
inherit (wayland.meta) platforms;
license = licenses.mit;
mainProgram = "wl-clip-persist";
maintainers = with maintainers; [ thiagokokada ];
};
}