mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
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.
35 lines
743 B
Nix
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 ];
|
|
};
|
|
}
|