snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / python-u2flib-host / default.nix
blob3edc24d30bbecd1a666e33fe6b5f1e803c2a3f7e
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   requests,
6   hidapi,
7 }:
9 buildPythonPackage rec {
10   pname = "python-u2flib-host";
11   version = "3.0.3";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "02pwafd5kyjpc310ys0pgnd0adff1laz18naxxwsfrllqafqnrxb";
17   };
19   propagatedBuildInputs = [
20     requests
21     hidapi
22   ];
24   # Tests fail: "ValueError: underlying buffer has been detached"
25   doCheck = false;
27   meta = with lib; {
28     description = "Python based U2F host library";
29     homepage = "https://github.com/Yubico/python-u2flib-host";
30     license = licenses.bsd2;
31     maintainers = with maintainers; [ jluttine ];
32   };