2023-09-15 22:11:37 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-09-16 04:52:11 +02:00
|
|
|
, fetchFromGitHub
|
2023-09-15 22:11:37 +02:00
|
|
|
, flask
|
|
|
|
, flask-migrate
|
|
|
|
, ldap3
|
2023-09-16 04:52:11 +02:00
|
|
|
, pytestCheckHook
|
2023-09-23 12:57:18 +02:00
|
|
|
, pythonOlder
|
2023-09-15 22:11:37 +02:00
|
|
|
}:
|
2023-09-23 12:57:18 +02:00
|
|
|
|
2023-09-15 22:11:37 +02:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "automx2";
|
2023-09-16 04:52:11 +02:00
|
|
|
version = "unstable-2023-08-23";
|
2023-09-15 22:11:37 +02:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2023-09-16 04:52:11 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rseichter";
|
|
|
|
repo = pname;
|
|
|
|
rev = "f3e3fc8e769c3799361001d51b7d9335a6a9d1a8";
|
|
|
|
hash = "sha256-NkeazjjGDYUXfoydvEfww6e7SkSZ8rMRlML+oOaf374=";
|
2023-09-15 22:11:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
flask-migrate
|
|
|
|
ldap3
|
|
|
|
];
|
|
|
|
|
2023-09-23 12:57:18 +02:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"automx2"
|
|
|
|
];
|
2023-09-15 22:11:37 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Email client configuration made easy";
|
|
|
|
homepage = "https://rseichter.github.io/automx2/";
|
|
|
|
changelog = "https://github.com/rseichter/automx2/blob/${version}/CHANGELOG";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ twey ];
|
|
|
|
};
|
|
|
|
}
|