summary refs log tree commit diff
path: root/pkgs/development/python-modules/authres
diff options
context:
space:
mode:
authorMichiel Leenaars <ml.software@leenaa.rs>2018-07-08 14:21:54 +0200
committerMichiel Leenaars <ml.software@leenaa.rs>2018-07-08 16:28:20 +0200
commiteece903626937070aadca7d712274f90f18e0edf (patch)
treef50d2504754cbd93f6929a2e7445d086493ab69d /pkgs/development/python-modules/authres
parent784f543cb766ef9c8e7e31e107d7c79d0fc4bf64 (diff)
downloadnixpkgs-eece903626937070aadca7d712274f90f18e0edf.tar
nixpkgs-eece903626937070aadca7d712274f90f18e0edf.tar.gz
nixpkgs-eece903626937070aadca7d712274f90f18e0edf.tar.bz2
nixpkgs-eece903626937070aadca7d712274f90f18e0edf.tar.lz
nixpkgs-eece903626937070aadca7d712274f90f18e0edf.tar.xz
nixpkgs-eece903626937070aadca7d712274f90f18e0edf.tar.zst
nixpkgs-eece903626937070aadca7d712274f90f18e0edf.zip
pythonPackages.authres: init at 1.1.0
Diffstat (limited to 'pkgs/development/python-modules/authres')
-rw-r--r--pkgs/development/python-modules/authres/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/authres/default.nix b/pkgs/development/python-modules/authres/default.nix
new file mode 100644
index 00000000000..b5aad787dfb
--- /dev/null
+++ b/pkgs/development/python-modules/authres/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchPypi, buildPythonPackage, python }:
+
+buildPythonPackage rec {
+  pname = "authres";
+  version = "1.1.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1mcllhrwr23hwa2jn3m15k29ks1205ymwafjzchh8ma664hnzv6v";
+  };
+
+  checkPhase = ''
+    # run doctests
+    ${python.interpreter} -m authres
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Email Authentication-Results Headers generation and parsing for Python/Python3";
+    longDescription = ''
+      Python module that implements various internet RFC's: 5451/7001/7601
+      Authentication-Results Headers generation and parsing for
+      Python/Python3.
+    '';
+    homepage = https://launchpad.net/authres;
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ leenaars ];
+  };
+}