depot/third_party/nixpkgs/pkgs/development/python-modules/automx2/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

46 lines
919 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flask,
flask-migrate,
ldap3,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "automx2";
version = "2024.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rseichter";
repo = "automx2";
rev = version;
hash = "sha256-s/kd9A/d3SPMZC9+B4DdcXVi77WLH/SBwXIdaKHUj34=";
};
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 ];
};
}