Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
63 lines
1 KiB
Nix
63 lines
1 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.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-iRxxXAUuSJzhX6uj1YeEzMUihWmrVZ6BFfayfteg/c8=";
|
|
};
|
|
|
|
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 = with lib; {
|
|
description = "Extensible System Settings app for Pantheon";
|
|
homepage = "https://github.com/elementary/switchboard";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.pantheon.members;
|
|
mainProgram = "io.elementary.settings";
|
|
};
|
|
}
|