ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / flask-mailman / default.nix
blobe76561dc8ca13a4cc779a902b1dffd55ce49142a
2   lib,
3   aiosmtpd,
4   buildPythonPackage,
5   fetchFromGitHub,
6   poetry-core,
7   mkdocs-material-extensions,
8   flask,
9   pytestCheckHook,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "flask-mailman";
15   version = "1.1.1";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "waynerv";
22     repo = "flask-mailman";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-0kD3rxFDJ7FcmBLVju75z1nf6U/7XfjiLD/oM/VP4jQ=";
25   };
27   build-system = [ poetry-core ];
29   dependencies = [
30     flask
31     mkdocs-material-extensions
32   ];
34   nativeCheckInputs = [
35     aiosmtpd
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "flask_mailman" ];
41   meta = with lib; {
42     changelog = "https://github.com/waynerv/flask-mailman/blob/${src.rev}/CHANGELOG.md";
43     homepage = "https://github.com/waynerv/flask-mailman";
44     description = "Flask extension providing simple email sending capabilities";
45     license = licenses.bsd3;
46     maintainers = with maintainers; [ gador ];
47   };