2018-07-08 14:21:54 +02:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, python }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "authres";
|
2018-11-09 11:04:09 +01:00
|
|
|
version = "1.1.1";
|
2018-07-08 14:21:54 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 11:04:09 +01:00
|
|
|
sha256 = "0bxclx021zn4hhrpaw5fl61bhnf17yqjd0pvwxqfqwdkxdjpx37b";
|
2018-07-08 14:21:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
2018-09-03 23:52:27 +02:00
|
|
|
homepage = https://launchpad.net/authentication-results-python;
|
2018-07-08 14:21:54 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
};
|
|
|
|
}
|