mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
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:
34
pkgs/development/python-modules/miltertest/default.nix
Normal file
34
pkgs/development/python-modules/miltertest/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user