blob: 5f7f89a357c14d9958f5f25809d0a97eae6aba9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
setuptools,
}:
buildPythonPackage rec {
pname = "lmtpd";
version = "6.2.0";
pyproject = true;
# smtpd will be removed in version 3.12
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
hash = "sha256-LGgl0v+h3gmUQEEadC9Y4bPo3uszRa3P1MLDjUuvYrM=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "lmtpd" ];
meta = {
description = "LMTP counterpart to smtpd in the Python standard library";
homepage = "https://github.com/moggers87/lmtpd";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jluttine ];
};
}
|