blob: 23b9cba70d2802bc04cc6bac74f40f2a3d561d7f (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pyusb,
}:
buildPythonPackage rec {
pname = "python-yubico";
version = "1.3.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-2EZkJ6pZIqxdS36cZbaTEIQnz1N9ZT1oyyEsBxPo5vU=";
};
propagatedBuildInputs = [ pyusb ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yubico" ];
disabledTests = [
"usb" # requires a physical yubikey to test
];
meta = {
description = "Python code to talk to YubiKeys";
homepage = "https://github.com/Yubico/python-yubico";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ s1341 ];
};
}
|