18 , gobject-introspection
27 stdenv.mkDerivation rec {
31 outputs = [ "out" "bin" "dev" "devdoc" ];
34 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
35 sha256 = "nOqtKShLqRm5IW4oiMGOxnJAwsk7OkhWvFSIu8Hzo4M=";
62 propagatedBuildInputs = [
72 # We are still using ssh-agent from gnome-keyring.
73 # https://github.com/NixOS/nixpkgs/issues/140824
77 doCheck = false; # fails 21 out of 603 tests, needs dbus daemon
79 PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";
82 patchShebangs gcr/fixtures/
86 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
87 moveToOutput "share/doc" "$devdoc"
91 updateScript = gnome.updateScript {
98 platforms = platforms.unix;
99 maintainers = teams.gnome.members;
100 description = "GNOME crypto services (daemon and tools)";
101 homepage = "https://gitlab.gnome.org/GNOME/gcr";
102 license = licenses.lgpl2Plus;
105 GCR is a library for displaying certificates, and crypto UI, accessing
106 key stores. It also provides the viewer for crypto files on the GNOME
109 GCK is a library for accessing PKCS#11 modules like smart cards, in a
110 (G)object oriented way.