3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libcryptui/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

{ 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 {
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 23:13:40 +01:00
patches = [
# 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 23:13:40 +01:00
];
nativeBuildInputs = [ pkg-config intltool autoreconfHook ];
buildInputs = [ glib gtk3 gnupg gpgme dbus-glib libgnome-keyring ];
2019-03-06 23:51:25 +00:00
propagatedBuildInputs = [ dbus-glib ];
enableParallelBuilding = true;
2019-03-06 23:51:25 +00:00
passthru = {
updateScript = gnome.updateScript {
2019-03-06 23:51:25 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2019-03-06 23:51:25 +00:00
};
};
meta = with lib; {
2019-03-06 23:51:25 +00:00
description = "Interface components for OpenPGP";
homepage = "https://gitlab.gnome.org/GNOME/libcryptui";
2019-03-06 23:51:25 +00:00
license = licenses.lgpl21Plus;
platforms = platforms.unix;
};
}