fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
27 lines
618 B
Nix
27 lines
618 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "oath";
|
|
version = "1.4.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-vWsg0g8sTj9TUj7pACEdynWu7KcvT1qf2NyswXX+HAs=";
|
|
};
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "oath" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA";
|
|
homepage = "https://github.com/bdauvergne/python-oath";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ aw ];
|
|
};
|
|
}
|