blob: b5e6cb3a49472558e25c257a13d5cf21b4bb471b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
asn1crypto,
cbor2,
cryptography,
pyopenssl,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "webauthn";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "duo-labs";
repo = "py_webauthn";
tag = "v${version}";
hash = "sha256-aZDptKJPFU6Oo4vKkIWkqkJ5ogDe5x3v7PAQRixWFe4=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
asn1crypto
cbor2
cryptography
pyopenssl
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "webauthn" ];
meta = {
description = "Implementation of the WebAuthn API";
homepage = "https://github.com/duo-labs/py_webauthn";
changelog = "https://github.com/duo-labs/py_webauthn/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|