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