2020-11-28 16:40:48 +00:00
|
|
|
{ lib
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, fetchurl
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, gnome3
|
|
|
|
, gobject-introspection
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gtk3
|
|
|
|
, itstool
|
|
|
|
, libhandy_0
|
|
|
|
, libnotify
|
|
|
|
, libsoup
|
|
|
|
, libxml2
|
|
|
|
, pkg-config
|
|
|
|
, python3Packages
|
|
|
|
, wrapGAppsHook }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2020-11-28 16:40:48 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-03-21 09:22:38 +00:00
|
|
|
pname = "gnome-tweaks";
|
2019-09-02 17:45:25 +01:00
|
|
|
version = "3.34.0";
|
2020-11-28 16:40:48 +00:00
|
|
|
format = "other";
|
|
|
|
strictDeps = false; # https://github.com/NixOS/nixpkgs/issues/56943
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-11-28 16:40:48 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-09-02 17:45:25 +01:00
|
|
|
sha256 = "0l2j42ba7v866iknygamnkiq7igh0fjvq92r93cslvvfnkx2ccq0";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2017-12-17 05:26:09 +00:00
|
|
|
nativeBuildInputs = [
|
2020-11-28 16:40:48 +00:00
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
2017-12-17 05:26:09 +00:00
|
|
|
];
|
2020-11-28 16:40:48 +00:00
|
|
|
|
2017-12-17 05:26:09 +00:00
|
|
|
buildInputs = [
|
2020-11-28 16:40:48 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
|
|
|
gnome3.gnome-desktop
|
|
|
|
gnome3.gnome-settings-daemon
|
|
|
|
gnome3.gnome-shell
|
2018-04-03 13:50:36 +01:00
|
|
|
# Makes it possible to select user themes through the `user-theme` extension
|
|
|
|
gnome3.gnome-shell-extensions
|
2020-11-28 16:40:48 +00:00
|
|
|
gnome3.mutter
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
|
|
|
libhandy_0
|
|
|
|
libnotify
|
|
|
|
libsoup
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pygobject3
|
2017-12-17 05:26:09 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-10-04 22:50:14 +01:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs meson-postinstall.py
|
|
|
|
'';
|
|
|
|
|
2018-03-15 12:26:50 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-11-28 16:40:48 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A tool to customize advanced GNOME 3 options";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|