Files
Lucas Bergman 81e5327fee 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.
2026-07-18 16:36:40 +00:00

35 lines
743 B
Nix

{
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 ];
};
}