miltertest: init at 1.0.0

This is a pure Python implementation of the milter protocol based originally
on siebenmann/python-milter-tools. It is primarily (only?) used for the test
suite for flowerysong/OpenARC.
This commit is contained in:
Lucas Bergman
2026-03-09 15:41:16 +00:00
parent a418a0f7ab
commit 81e5327fee
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "miltertest";
version = "1.0.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "flowerysong";
repo = "miltertest";
tag = "v${version}";
hash = "sha256-8KpuIR+UxRcJbb2pwKDOkSmyXovlyOa4DpeUDn1oK0Y=";
};
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "miltertest" ];
meta = {
description = "Pure python implementation of the milter protocol";
homepage = "https://github.com/flowerysong/miltertest";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ lucasbergman ];
};
}

View File

@@ -10465,6 +10465,8 @@ self: super: with self; {
millheater = callPackage ../development/python-modules/millheater { };
miltertest = callPackage ../development/python-modules/miltertest { };
mim-solvers = callPackage ../development/python-modules/mim-solvers { inherit (pkgs) mim-solvers; };
minari = callPackage ../development/python-modules/minari { };