python310Packages.webauthn: init at 1.5.2 (#175018)
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
parent
439947dcca
commit
3770e4f913
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/webauthn/default.nix
Normal file
43
pkgs/development/python-modules/webauthn/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue