summary refs log tree commit diff
path: root/pkgs/development/python-modules/oath/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/oath/default.nix')
-rw-r--r--pkgs/development/python-modules/oath/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/oath/default.nix b/pkgs/development/python-modules/oath/default.nix
new file mode 100644
index 00000000000..a64eeb8e103
--- /dev/null
+++ b/pkgs/development/python-modules/oath/default.nix
@@ -0,0 +1,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 ];
+  };
+}