at master 618 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "oath"; 10 version = "1.4.4"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-vWsg0g8sTj9TUj7pACEdynWu7KcvT1qf2NyswXX+HAs="; 16 }; 17 nativeCheckInputs = [ pytestCheckHook ]; 18 19 pythonImportsCheck = [ "oath" ]; 20 21 meta = with lib; { 22 description = "Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA"; 23 homepage = "https://github.com/bdauvergne/python-oath"; 24 license = licenses.bsd3; 25 maintainers = with maintainers; [ aw ]; 26 }; 27}