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

This commit is contained in:
Bobby Rong 2022-05-17 22:14:35 +08:00
parent 5d5e853701
commit 3da565c170
No known key found for this signature in database

View file

@ -1,58 +1,44 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, pkg-config , pkg-config
, meson , meson
, ninja , ninja
, vala , vala
, libxml2
, desktop-file-utils , desktop-file-utils
, gtk3 , gtk4
, glib , glib
, granite , granite7
, libgee , libgee
, libhandy , wrapGAppsHook4
, wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-shortcut-overlay"; pname = "elementary-shortcut-overlay";
version = "1.2.1"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = "shortcut-overlay"; repo = "shortcut-overlay";
rev = version; rev = version;
sha256 = "sha256-qmqzGCM3cVM6y80pzjm5CCyG6BO6XlKZiODAAEnwVrM="; sha256 = "sha256-YVeCO7mZmf+FEY4d8tvC76lW/HkOwQ6kw7nvmzAFEtw=";
}; };
patches = [
# Fix build with meson 0.61
# https://github.com/elementary/shortcut-overlay/pull/113
(fetchpatch {
url = "https://github.com/elementary/shortcut-overlay/commit/130f78eb4b7770586ea98ba0a5fdbbf5bb116f3f.patch";
sha256 = "sha256-XXWq9CEv3Z2B8ogcFQAJZCfy19XxNHs3c8NToE2m/aA=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
desktop-file-utils desktop-file-utils
libxml2
meson meson
ninja ninja
pkg-config pkg-config
vala vala
wrapGAppsHook wrapGAppsHook4
]; ];
buildInputs = [ buildInputs = [
glib glib
granite granite7
gtk3 gtk4
libgee libgee
libhandy
]; ];
passthru = { passthru = {