1{ stdenv
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "oath";
8 version = "1.4.3";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "1xqgcqgx6aa0j21hwsdb3aqpqhviwj756bcqjjjcm1h1aij11p6m";
13 };
14
15 meta = with stdenv.lib; {
16 description = "Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA";
17 homepage = "https://github.com/bdauvergne/python-oath";
18 license = licenses.bsd3;
19 maintainers = with maintainers; [ aw ];
20 };
21}