From eece903626937070aadca7d712274f90f18e0edf Mon Sep 17 00:00:00 2001 From: Michiel Leenaars Date: Sun, 8 Jul 2018 14:21:54 +0200 Subject: [PATCH] pythonPackages.authres: init at 1.1.0 --- .../python-modules/authres/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/authres/default.nix 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ad3e4bf0a16..381ad48b0e7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -195,6 +195,8 @@ in { inherit (pkgs) augeas; }; + authres = callPackage ../development/python-modules/authres { }; + autograd = callPackage ../development/python-modules/autograd { }; automat = callPackage ../development/python-modules/automat { };