10 buildPythonPackage rec {
15 inherit pname version;
16 hash = "sha256-hoDuJSOOIwdZbrOQCg+MDZzJEYkUbtgDlUTxo6ad/m4=";
19 propagatedBuildInputs = [ six cryptography ];
21 checkInputs = [ mock pyfakefs ];
23 # Testing with `python setup.py test` doesn't work:
24 # https://github.com/Yubico/python-fido2/issues/108#issuecomment-763513576
28 python -m unittest discover -v
33 pythonImportsCheck = [ "fido2" ];
36 description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
37 homepage = "https://github.com/Yubico/python-fido2";
38 license = licenses.bsd2;
39 maintainers = with maintainers; [ prusnak ];