pantheon.elementary-shortcut-overlay: 1.2.0 -> 1.2.1

This commit is contained in:
Bobby Rong 2021-10-30 10:39:13 +08:00
parent 8890323d76
commit 5e6446cef0
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,6 +1,6 @@
{ lib, stdenv { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, pantheon , pantheon
, pkg-config , pkg-config
@ -20,7 +20,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-shortcut-overlay"; pname = "elementary-shortcut-overlay";
version = "1.2.0"; version = "1.2.1";
repoName = "shortcut-overlay"; repoName = "shortcut-overlay";
@ -28,22 +28,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "1zs2fpx4agr00rsfmpi00nhiw92mlypzm4p9x3g851p24m62fn79"; sha256 = "sha256-qmqzGCM3cVM6y80pzjm5CCyG6BO6XlKZiODAAEnwVrM=";
};
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}";
};
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -65,6 +50,12 @@ stdenv.mkDerivation rec {
libhandy libhandy
]; ];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; { meta = with lib; {
description = "A native OS-wide shortcut overlay to be launched by Gala"; description = "A native OS-wide shortcut overlay to be launched by Gala";
homepage = "https://github.com/elementary/shortcut-overlay"; homepage = "https://github.com/elementary/shortcut-overlay";