blob: c5708525f7fb44eddcc8b392b19354000916a67c (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "pyotp";
version = "2.9.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-NGtmQuDb3eO0/1qTC2ZMqCq/oRY1btSMxCx9ZZDTb2M=";
};
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "pyotp" ];
meta = {
changelog = "https://github.com/pyauth/pyotp/blob/v${version}/Changes.rst";
description = "Python One Time Password Library";
homepage = "https://github.com/pyauth/pyotp";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|