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