tmuxPlugins.catppucin: unstable-2024-05-16 -> 2.1.2 (#379030)
[NixPkgs.git] / pkgs / development / python-modules / webauthn / default.nix
blob6e08d70c787d41821be53390a0cfb51c5f3b48af
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   asn1crypto,
7   cbor2,
8   cryptography,
9   pythonOlder,
10   pyopenssl,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "webauthn";
16   version = "2.5.0";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "duo-labs";
23     repo = "py_webauthn";
24     tag = "v${version}";
25     hash = "sha256-XIL2rejPp/5zaPFuWHgn696sugNB3E/BRc7DuP0oI4Q=";
26   };
28   build-system = [ setuptools ];
30   propagatedBuildInputs = [
31     asn1crypto
32     cbor2
33     cryptography
34     pyopenssl
35   ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "webauthn" ];
41   meta = with lib; {
42     description = "Implementation of the WebAuthn API";
43     homepage = "https://github.com/duo-labs/py_webauthn";
44     changelog = "https://github.com/duo-labs/py_webauthn/blob/v${version}/CHANGELOG.md";
45     license = licenses.bsd3;
46     maintainers = [ ];
47   };