libcryptui: fix build with gnupg22

This commit is contained in:
ajs124
2020-07-22 09:28:52 +02:00
parent 7cce31c5e2
commit 3026bfc4d9
2 changed files with 33 additions and 3 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, gnome3, gtk3, gnupg20, gpgme, dbus-glib, libgnome-keyring }:
{ stdenv, fetchurl, autoreconfHook, pkgconfig, intltool, glib, gnome3, gtk3, gnupg22, gpgme, dbus-glib, libgnome-keyring }:
stdenv.mkDerivation rec {
pname = "libcryptui";
@@ -9,8 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "0rh8wa5k2iwbwppyvij2jdxmnlfjbna7kbh2a5n7zw4nnjkx3ski";
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ glib gtk3 gnupg20 gpgme dbus-glib libgnome-keyring ];
patches = [
./fix-gnupg-2.2.patch # based on https://gitlab.gnome.org/GNOME/libcryptui/-/commit/b05e301d1b264a5d8f07cb96e5edc243d99bff79.patch
];
nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
buildInputs = [ glib gtk3 gnupg22 gpgme dbus-glib libgnome-keyring ];
propagatedBuildInputs = [ dbus-glib ];
passthru = {