Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

65 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
pkg-config,
meson,
ninja,
sassc,
vala,
glib,
gtk4,
libadwaita,
libgee,
granite7,
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
pname = "switchboard";
version = "8.0.3";
src = fetchFromGitHub {
owner = "elementary";
repo = "switchboard";
rev = version;
hash = "sha256-pVXcY/QSjgBcTr0sFQnPxICoQ0tpy2fEJ687zHEDXA0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
sassc
vala
wrapGAppsHook4
];
propagatedBuildInputs = [
# Required by switchboard-3.pc.
glib
granite7
gtk4
libadwaita
libgee
];
patches = [
./plugs-path-env.patch
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Extensible System Settings app for Pantheon";
homepage = "https://github.com/elementary/switchboard";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
teams = [ lib.teams.pantheon ];
mainProgram = "io.elementary.settings";
};
}