My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/oath/default.nix

30 lines
620 B

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "oath";
version = "1.4.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vWsg0g8sTj9TUj7pACEdynWu7KcvT1qf2NyswXX+HAs=";
};
checkInputs = [
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 ];
};
}