Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, intltool, glib, gnome, gtk3, gnupg, gpgme, dbus-glib, libgnome-keyring }: 2 3stdenv.mkDerivation rec { 4 pname = "libcryptui"; 5 version = "3.12.2"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 sha256 = "0rh8wa5k2iwbwppyvij2jdxmnlfjbna7kbh2a5n7zw4nnjkx3ski"; 10 }; 11 12 patches = [ 13 # based on https://gitlab.gnome.org/GNOME/libcryptui/-/commit/b05e301d1b264a5d8f07cb96e5edc243d99bff79.patch 14 # https://gitlab.gnome.org/GNOME/libcryptui/-/merge_requests/1 15 ./fix-latest-gnupg.patch 16 ]; 17 18 nativeBuildInputs = [ pkg-config intltool autoreconfHook ]; 19 buildInputs = [ glib gtk3 gnupg gpgme dbus-glib libgnome-keyring ]; 20 propagatedBuildInputs = [ dbus-glib ]; 21 22 enableParallelBuilding = true; 23 24 passthru = { 25 updateScript = gnome.updateScript { 26 packageName = pname; 27 versionPolicy = "odd-unstable"; 28 }; 29 }; 30 31 meta = with lib; { 32 description = "Interface components for OpenPGP"; 33 homepage = "https://gitlab.gnome.org/GNOME/libcryptui"; 34 license = licenses.lgpl21Plus; 35 platforms = platforms.unix; 36 }; 37}