11 , gobject-introspection
20 stdenv.mkDerivation rec {
23 outputs = [ "out" "devdoc" ];
25 src = fetchFromGitLab {
26 domain = "gitlab.freedesktop.org";
30 hash = "sha256-+eSvzbXxjemVKMeD8tp/0/tGBjw2EOlmyxb8KfyZKtA=";
35 tests/test-runner.sh \
36 tests/unittest_inspector.py \
37 tests/virtual-image.py \
38 tests/umockdev-test.py \
39 tests/test-generated-hwdb.sh
62 "-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
63 # Include virtual drivers for fprintd tests
65 "-Dudev_hwdb_dir=${placeholder "out"}/lib/udev/hwdb.d"
68 installCheckInputs = [
69 (python3.withPackages (p: with p; [ pygobject3 ]))
72 # We need to run tests _after_ install so all the paths that get loaded are in
76 doInstallCheck = true;
78 installCheckPhase = ''
79 runHook preInstallCheck
83 runHook postInstallCheck
87 homepage = "https://fprint.freedesktop.org/";
88 description = "A library designed to make it easy to add support for consumer fingerprint readers";
89 license = licenses.lgpl21Only;
90 platforms = platforms.linux;
91 maintainers = with maintainers; [ abbradar ];