python310Packages.webauthn: init at 1.5.2 (#175018)

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
Sandro 2022-05-28 16:44:51 +02:00 committed by GitHub
parent 439947dcca
commit 3770e4f913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, asn1crypto
, cbor2
, pythonOlder
, pydantic
, pyopenssl
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "webauthn";
version = "1.5.2";
disabled = pythonOlder "3";
src = fetchFromGitHub {
owner = "duo-labs";
repo = "py_webauthn";
rev = "v${version}";
sha256 = "sha256-sjl65vx1VthVX6ED3lXXAcn2D5WzzGAINKBjCc10rcs=";
};
propagatedBuildInputs = [
asn1crypto
cbor2
pydantic
pyopenssl
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "webauthn" ];
meta = with lib; {
homepage = "https://github.com/duo-labs/py_webauthn";
description = "Implementation of the WebAuthn API";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -11021,6 +11021,8 @@ in {
webassets = callPackage ../development/python-modules/webassets { };
webauthn = callPackage ../development/python-modules/webauthn { };
web = callPackage ../development/python-modules/web { };
web-cache = callPackage ../development/python-modules/web-cache { };