aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/pantheon/granite/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/pantheon/granite/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/pantheon/granite/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/desktops/pantheon/granite/default.nix b/nixpkgs/pkgs/desktops/pantheon/granite/default.nix
index ec40e1e8f72..8b5ad8d5e6b 100644
--- a/nixpkgs/pkgs/desktops/pantheon/granite/default.nix
+++ b/nixpkgs/pkgs/desktops/pantheon/granite/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, nix-update-script
, python3
, meson
, ninja
@@ -10,23 +11,26 @@
, gtk3
, glib
, gettext
+, gsettings-desktop-schemas
, gobject-introspection
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "granite";
- version = "5.3.1";
+ version = "5.5.0";
+
+ outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "12f1n07cjlc7czf642ak6964wl4fsgakc39nnmiba22z5aahfpz9";
+ sha256 = "sha256-ytbjuo9RnYyJ9+LqtWE117dGlNErLl+nmTM22xGGDo8=";
};
passthru = {
- updateScript = pantheon.updateScript {
+ updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
@@ -48,6 +52,10 @@ stdenv.mkDerivation rec {
libgee
];
+ propagatedBuildInputs = [
+ gsettings-desktop-schemas # is_clock_format_12h uses "org.gnome.desktop.interface clock-format"
+ ];
+
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py