depot/third_party/nixpkgs/pkgs/development/python-modules/authres/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
801 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, python }:
buildPythonPackage rec {
pname = "authres";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
};
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/authentication-results-python";
license = licenses.bsd3;
maintainers = with maintainers; [ leenaars ];
};
}