2021-11-10 21:00:58 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, intltool, glib, gnome, gtk3, gnupg, gpgme, dbus-glib, libgnome-keyring }:
|
2019-03-06 23:51:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcryptui";
|
|
|
|
version = "3.12.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-03-06 23:51:25 +00:00
|
|
|
sha256 = "0rh8wa5k2iwbwppyvij2jdxmnlfjbna7kbh2a5n7zw4nnjkx3ski";
|
|
|
|
};
|
|
|
|
|
2020-07-21 22:13:40 +00:00
|
|
|
patches = [
|
2022-01-08 13:32:05 +00:00
|
|
|
# based on https://gitlab.gnome.org/GNOME/libcryptui/-/commit/b05e301d1b264a5d8f07cb96e5edc243d99bff79.patch
|
|
|
|
# https://gitlab.gnome.org/GNOME/libcryptui/-/merge_requests/1
|
|
|
|
./fix-latest-gnupg.patch
|
2020-07-21 22:13:40 +00:00
|
|
|
];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool autoreconfHook ];
|
2021-11-10 21:00:58 +00:00
|
|
|
buildInputs = [ glib gtk3 gnupg gpgme dbus-glib libgnome-keyring ];
|
2019-03-06 23:51:25 +00:00
|
|
|
propagatedBuildInputs = [ dbus-glib ];
|
|
|
|
|
2020-12-13 16:31:12 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-03-06 23:51:25 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2019-03-06 23:51:25 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2019-03-06 23:51:25 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-03-06 23:51:25 +00:00
|
|
|
description = "Interface components for OpenPGP";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/libcryptui";
|
2019-03-06 23:51:25 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|