15 fido2_0 = fido2.overridePythonAttrs (oldAttrs: rec {
17 format = "setuptools";
19 inherit (oldAttrs) pname;
21 hash = "sha256-tF6JphCc/Lfxu1E3dqotZAjpXEgi+DolORi5RAg0Zuw=";
25 buildPythonPackage rec {
26 pname = "ctap-keyring-device";
28 format = "setuptools";
31 inherit version pname;
32 hash = "sha256-pEJkuz0wxKt2PkowmLE2YC+HPYa2ZiENK7FAW14Ec/Y=";
35 # removing optional dependency needing pyobjc
37 substituteInPlace pytest.ini \
38 --replace "--flake8 --black --cov" ""
46 # This is a darwin requirement missing pyobjc
47 "pyobjc-framework-LocalAuthentication"
50 propagatedBuildInputs = [
56 pythonImportsCheck = [ "ctap_keyring_device" ];
58 checkInputs = [ pytestCheckHook ];
61 # Disabled tests that needs pyobjc or windows
62 "touch_id_ctap_user_verifier"
63 "windows_hello_ctap_user_verifier"
67 description = "CTAP (client-to-authenticator-protocol) device backed by python's keyring library";
68 homepage = "https://github.com/dany74q/ctap-keyring-device";
69 license = licenses.mit;
70 maintainers = with maintainers; [ jbgosselin ];