python-validity
python-validity copied to clipboard
Package for Nix
trafficstars
I'd like to use my fingerprint reader in Nix, but python-validity is not available in Nixpkgs.
I tried to make it work with this script but did not get any result
{ lib, python3Packages }:
with python3Packages;
buildPythonApplication {
pname = "python-validity";
version = "0.12";
propagatedBuildInputs = [ cryptography pyusb pyyaml ];
driverPath = /usr/share/python-validity/6_07f_lenovo_mis_qm.xpfwext;
src = ./.;
}
Thanks by advance if someone can help me :)
Hi!
I packaged python-validity and related software like open-fprintd in this Nix flake: https://github.com/ahbnr/nixos-06cb-009a-fingerprint-sensor
It's not official or anything, but I thought it might be helpful for other NixOS users.