about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/oath/default.nix
blob: a64eeb8e1036ed46c2eb7d317b83f49de3d5f80f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "oath";
  version = "1.4.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1xqgcqgx6aa0j21hwsdb3aqpqhviwj756bcqjjjcm1h1aij11p6m";
  };

  meta = with stdenv.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 ];
  };
}