Files
nixpkgs/pkgs/development/python-modules/authres/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
769 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
python,
}:
buildPythonPackage rec {
pname = "authres";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
};
checkPhase = ''
# run doctests
${python.interpreter} -m authres
'';
meta = {
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 = lib.licenses.bsd3;
};
}