1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flask,
6 flask-migrate,
7 flask-sqlalchemy,
8 ldap3,
9 pytestCheckHook,
10 pythonOlder,
11 setuptools,
12}:
13
14buildPythonPackage rec {
15 pname = "automx2";
16 version = "2025.1.1";
17 pyproject = true;
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchFromGitHub {
22 owner = "rseichter";
23 repo = "automx2";
24 tag = version;
25 hash = "sha256-wsKE1lplFUOi6i12ZMV9Oidc58jyuYawbAxJ4qqcYmg=";
26 };
27
28 build-system = [ setuptools ];
29
30 dependencies = [
31 flask
32 flask-migrate
33 flask-sqlalchemy
34 ldap3
35 ];
36
37 nativeCheckInputs = [ pytestCheckHook ];
38
39 pythonImportsCheck = [ "automx2" ];
40
41 meta = {
42 description = "Email client configuration made easy";
43 homepage = "https://rseichter.github.io/automx2/";
44 changelog = "https://github.com/rseichter/automx2/blob/${version}/CHANGELOG";
45 license = lib.licenses.gpl3Plus;
46 maintainers = with lib.maintainers; [ twey ];
47 };
48}