159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
46 lines
934 B
Nix
46 lines
934 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flask,
|
|
flask-migrate,
|
|
ldap3,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "automx2";
|
|
version = "2024.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rseichter";
|
|
repo = "automx2";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-7SbSKSjDHTppdqfPPKvuWbdoksHa6BMIOXOq0jDggTE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
flask-migrate
|
|
ldap3
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "automx2" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|