5 , gobject-introspection
27 stdenv.mkDerivation rec {
30 outputs = [ "out" "devdoc" ];
32 src = fetchFromGitLab {
33 domain = "gitlab.freedesktop.org";
37 sha256 = "sha256-ePhcIZyXoGr8XlBuzKjpibU9D/44iCXYBlpVR9gcswQ=";
41 # backport upstream patch fixing tests
43 url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/ae04fa989720279e5558c3b8ff9ebe1959b1cf36.patch";
44 sha256 = "sha256-jW5vlzrbZQ1gUDLBf7G50GnZfZxhlnL2Eu+9Bghdwdw=";
70 checkInputs = with python3.pkgs; [
71 gobject-introspection # for setup hook
77 gusb # Required by libfprint’s typelib
82 "-Dpam_modules_dir=${placeholder "out"}/lib/security"
83 "-Dsysconfdir=${placeholder "out"}/etc"
84 "-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/system-services"
85 "-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system"
88 PKG_CONFIG_DBUS_1_INTERFACES_DIR = "${placeholder "out"}/share/dbus-1/interfaces";
89 PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions";
90 PKG_CONFIG_DBUS_1_DATADIR = "${placeholder "out"}/share";
92 # FIXME: Ugly hack for tests to find libpam_wrapper.so
93 LIBRARY_PATH = lib.makeLibraryPath [ python3.pkgs.pypamtest ];
99 po/check-translations.sh \
100 tests/unittest_inspector.py
104 homepage = "https://fprint.freedesktop.org/";
105 description = "D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus";
106 license = licenses.gpl2Plus;
107 platforms = platforms.linux;
108 maintainers = with maintainers; [ abbradar ];