2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, python }:
|
2018-07-08 13:21:54 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "authres";
|
2019-08-20 10:37:07 +01:00
|
|
|
version = "1.2.0";
|
2018-07-08 13:21:54 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 10:37:07 +01:00
|
|
|
sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
|
2018-07-08 13:21:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
# run doctests
|
|
|
|
${python.interpreter} -m authres
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-08 13:21:54 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://launchpad.net/authentication-results-python";
|
2018-07-08 13:21:54 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
};
|
|
|
|
}
|