Files

76 lines
1.6 KiB
Nix

{
lib,
gobject-introspection,
meson,
ninja,
pkg-config,
wrapGAppsHook3,
cinnamon-gsettings-overrides,
desktop-file-utils,
glib,
gnome,
gtk3,
mate-desktop,
mate-settings-daemon,
python3,
gsettings-desktop-schemas,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "themechanger";
version = "0.12.1";
pyproject = false;
src = fetchFromGitHub {
owner = "ALEX11BR";
repo = "ThemeChanger";
rev = "v${finalAttrs.version}";
hash = "sha256-+uTofigS1F/nBNs/OyJ+RSz10DNnqgvNjWpkTXAvARM=";
};
nativeBuildInputs = [
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook3
desktop-file-utils
gtk3
];
buildInputs = [
cinnamon-gsettings-overrides
glib
gnome.nixos-gsettings-overrides
gtk3
mate-desktop
mate-settings-daemon
python3
gsettings-desktop-schemas
];
propagatedBuildInputs = with python3Packages; [
pygobject3
];
postPatch = ''
patchShebangs postinstall.py
'';
meta = {
homepage = "https://github.com/ALEX11BR/ThemeChanger";
description = "Theme changing utility for Linux";
mainProgram = "themechanger";
longDescription = ''
This app is a theme changing utility for Linux, BSDs, and whatnots.
It lets the user change GTK 2/3/4, Kvantum, icon and cursor themes, edit GTK CSS with live preview, and set some related options.
It also lets the user install icon and widget theme archives.
'';
maintainers = with lib.maintainers; [ ALEX11BR ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
})