nixpkgs/pkgs/development/python-modules/oath/default.nix

22 lines
503 B
Nix
Raw Normal View History

2019-07-29 22:50:03 +02:00
{ 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 ];
};
}