peek: fix compat with GNOME backend

This commit is contained in:
Jan Tojnar 2022-01-21 13:01:59 +01:00
parent 3cbb02087b
commit 935459835e

View File

@ -1,5 +1,7 @@
{ lib, stdenv
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@ -35,6 +37,15 @@ stdenv.mkDerivation rec {
sha256 = "1xwlfizga6hvjqq127py8vabaphsny928ar7mwqj9cyqfl6fx41x";
};
patches = [
# Fix compatibility with GNOME Shell ≥ 40.
# https://github.com/phw/peek/pull/910
(fetchpatch {
url = "https://github.com/phw/peek/commit/008d15316ab5428363c512b263ca8138cb8f52ba.patch";
sha256 = "xxJ+r5uRk93MEzWTFla88ewZsnUl3+YKTenzDygtKP0=";
})
];
nativeBuildInputs = [
appstream-glib
desktop-file-utils