ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / webauthn / default.nix
blob8b551f1c66a0ebd6cc446cff35a51b52535c9dbf
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , asn1crypto
5 , cbor2
6 , pythonOlder
7 , pydantic
8 , pyopenssl
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "webauthn";
14   version = "1.6.0";
15   disabled = pythonOlder "3";
17   src = fetchFromGitHub {
18     owner = "duo-labs";
19     repo = "py_webauthn";
20     rev = "refs/tags/v${version}";
21     sha256 = "sha256-Ts0zKnQg1EaBNB9xQmzOpEVwDSFwHNjIhEP1jTwEOFI=";
22   };
24   propagatedBuildInputs = [
25     asn1crypto
26     cbor2
27     pydantic
28     pyopenssl
29   ];
31   checkInputs = [
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "webauthn" ];
37   meta = with lib; {
38     homepage = "https://github.com/duo-labs/py_webauthn";
39     description = "Implementation of the WebAuthn API";
40     license = licenses.bsd3;
41     maintainers = with maintainers; [ SuperSandro2000 ];
42   };