pantheon.wingpanel-quick-settings: init at 1.0.0

This commit is contained in:
Bobby Rong
2024-08-23 22:21:22 +08:00
parent e3e17841f5
commit 2af847864f
2 changed files with 68 additions and 0 deletions
+3
View File
@@ -36,6 +36,7 @@ lib.makeScope pkgs.newScope (self: with self; {
wingpanel-indicator-power
wingpanel-indicator-session
wingpanel-indicator-sound
wingpanel-quick-settings
];
maintainers = lib.teams.pantheon.members;
@@ -163,6 +164,8 @@ lib.makeScope pkgs.newScope (self: with self; {
wingpanel-indicator-sound = callPackage ./desktop/wingpanel-indicators/sound { };
wingpanel-quick-settings = callPackage ./desktop/wingpanel-indicators/quick-settings { };
#### SWITCHBOARD
switchboard = callPackage ./apps/switchboard { };
@@ -0,0 +1,65 @@
{
stdenv,
lib,
fetchFromGitHub,
nix-update-script,
glib,
meson,
ninja,
pkg-config,
vala,
elementary-settings-daemon,
granite,
gtk3,
libgee,
libhandy,
libportal,
packagekit,
wayland,
wingpanel,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wingpanel-quick-settings";
version = "1.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "quick-settings";
rev = finalAttrs.version;
hash = "sha256-k8K6zGTLYGSsi5NtohbaGg4oVVovktR7BInN8BUE5bQ=";
};
nativeBuildInputs = [
glib # glib-compile-resources
meson
ninja
pkg-config
vala
];
buildInputs = [
elementary-settings-daemon # for prefers-color-scheme
glib
granite
gtk3
libgee
libhandy
libportal
packagekit
wayland
wingpanel
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Quick settings menu for Wingpanel";
homepage = "https://github.com/elementary/quick-settings";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = lib.teams.pantheon.members;
};
})