summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-07-18 12:07:42 +0800
committerBobby Rong <rjl931189261@126.com>2021-09-18 19:33:37 +0800
commit88b3b9d84756245147a4f20d22816195c7b484c1 (patch)
treea829e6394361886c081d18a38eb689927d2ba1e9 /pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
parent891f943c126815f858294ad12e2c876b259e6a74 (diff)
downloadnixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.tar
nixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.tar.gz
nixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.tar.bz2
nixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.tar.lz
nixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.tar.xz
nixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.tar.zst
nixpkgs-88b3b9d84756245147a4f20d22816195c7b484c1.zip
pantheon.elementary-shortcut-overlay: 1.1.2 -> 1.2.0
Diffstat (limited to 'pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix')
-rw-r--r--pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix b/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
index 314267d8612..ef4fdf80cef 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
@@ -1,5 +1,6 @@
 { lib, stdenv
 , fetchFromGitHub
+, fetchpatch
 , nix-update-script
 , pantheon
 , pkg-config
@@ -12,13 +13,14 @@
 , glib
 , granite
 , libgee
+, libhandy
 , elementary-icon-theme
 , wrapGAppsHook
 }:
 
 stdenv.mkDerivation rec {
   pname = "elementary-shortcut-overlay";
-  version = "1.1.2";
+  version = "1.2.0";
 
   repoName = "shortcut-overlay";
 
@@ -26,9 +28,18 @@ stdenv.mkDerivation rec {
     owner = "elementary";
     repo = repoName;
     rev = version;
-    sha256 = "sha256-TFS29vwDkTtoFcIVAbKskyLemqW9fxE7fQkM61DpDm0=";
+    sha256 = "1zs2fpx4agr00rsfmpi00nhiw92mlypzm4p9x3g851p24m62fn79";
   };
 
+  patches = [
+    # Upstream code not respecting our localedir
+    # https://github.com/elementary/shortcut-overlay/pull/100
+    (fetchpatch {
+      url = "https://github.com/elementary/shortcut-overlay/commit/f26e3684568e30cb6e151438e2d86c4d392626bf.patch";
+      sha256 = "0zxyqpk9xbxdm8lmgdwbb4yzzwbjlhypsca3xs34a2pl0b9pcdwd";
+    })
+  ];
+
   passthru = {
     updateScript = nix-update-script {
       attrPath = "pantheon.${pname}";
@@ -51,6 +62,7 @@ stdenv.mkDerivation rec {
     granite
     gtk3
     libgee
+    libhandy
   ];
 
   meta = with lib; {