73 lines
1.4 KiB
Nix
73 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
sassc,
|
|
vala,
|
|
wrapGAppsHook4,
|
|
gnome-settings-daemon,
|
|
gtk4,
|
|
libgee,
|
|
pango,
|
|
pantheon,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pantheon-tweaks";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pantheon-tweaks";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-5RsNVUQ8FJmtdI7Z2le+qt9b13zHlQxiyTaUY15wSkw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
sassc
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs =
|
|
[
|
|
gnome-settings-daemon # org.gnome.settings-daemon.plugins.xsettings
|
|
gtk4
|
|
libgee
|
|
pango
|
|
]
|
|
++ (with pantheon; [
|
|
elementary-files # io.elementary.files.preferences
|
|
elementary-terminal # io.elementary.terminal.settings
|
|
granite7
|
|
switchboard
|
|
]);
|
|
|
|
mesonFlags = [
|
|
"-Dsystheme_rootdir=/run/current-system/sw/share"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Unofficial system customization app for Pantheon";
|
|
longDescription = ''
|
|
Unofficial system customization app for Pantheon
|
|
that lets you easily and safely customise your desktop's appearance.
|
|
'';
|
|
homepage = "https://github.com/pantheon-tweaks/pantheon-tweaks";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.pantheon.members;
|
|
mainProgram = "pantheon-tweaks";
|
|
};
|
|
}
|