18 pname = "libfprint-2-tod1-vfs0090";
21 src = fetchFromGitLab {
22 domain = "gitlab.freedesktop.org";
24 repo = "libfprint-tod-vfs0090";
25 rev = "6084a1545589beec0c741200b18b0902cca225ba";
26 sha256 = "sha256-tSML/8USd/LuHF/YGLvNgykixF6VYtfE4SXzeV47840=";
30 # TODO remove once https://gitlab.freedesktop.org/3v1n0/libfprint-tod-vfs0090/-/merge_requests/1 is merged
31 ./0001-vfs0090-add-missing-explicit-dependencies-in-meson.b.patch
32 # TODO remove once https://gitlab.freedesktop.org/3v1n0/libfprint-tod-vfs0090/-/merge_requests/2 is merged
33 ./0002-vfs0090-add-missing-linux-limits.h-include.patch
55 install -D -t "$out/lib/libfprint-2/tod-1/" libfprint-tod-vfs009x.so
56 install -D -t "$out/lib/udev/rules.d/" $src/60-libfprint-2-tod-vfs0090.rules
61 passthru.driverPath = "/lib/libfprint-2/tod-1";
64 description = "Libfprint-2-tod Touch OEM Driver for 2016 ThinkPad's fingerprint readers";
65 homepage = "https://gitlab.freedesktop.org/3v1n0/libfprint-tod-vfs0090";
66 license = licenses.lgpl21Plus;
67 platforms = platforms.linux;
68 maintainers = with maintainers; [ valodim ];