python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

Package for Nix

Open NicolasHov opened this issue 2 years ago • 1 comments
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 :)

NicolasHov avatar Dec 20 '22 16:12 NicolasHov

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.

ahbnr avatar May 01 '23 23:05 ahbnr