ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / flask-mailman / default.nix
blobaa8ffae24370a7a1d173c1f2cb86e7d00ee29bff
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , mkdocs-material-extensions
6 , flask
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "flask-mailman";
13   version = "0.3.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "waynerv";
20     repo = pname;
21     rev = "v${version}";
22     sha256 = "sha256-cfLtif+48M6fqOkBbi4PJRFpf9FRXCPesktFQky34eU=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27   ];
29   propagatedBuildInputs = [
30     flask
31     mkdocs-material-extensions
32   ];
34   checkInputs = [
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "flask_mailman" ];
40   meta = with lib; {
41     homepage = "https://github.com/waynerv/flask-mailman";
42     description = "Flask extension providing simple email sending capabilities.";
43     license = licenses.bsd3;
44     maintainers = with maintainers; [ gador ];
45   };