about summary refs log tree commit diff
path: root/pkgs/development/python-modules/flufl/bounce.nix
blob: f331c0705cd21923a9007dd086bf9723b74db74f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  atpublic,
  zope-interface,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "flufl-bounce";
  version = "4.0";
  pyproject = true;

  src = fetchPypi {
    pname = "flufl.bounce";
    inherit version;
    hash = "sha256-JVBK65duwP5aGc1sQTo0EMtRT9zb3Kn5tdjTQ6hgODE=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [
    atpublic
    zope-interface
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "flufl.bounce" ];

  pythonNamespaces = [ "flufl" ];

  meta = with lib; {
    description = "Email bounce detectors";
    homepage = "https://gitlab.com/warsaw/flufl.bounce";
    changelog = "https://gitlab.com/warsaw/flufl.bounce/-/blob/${version}/flufl/bounce/NEWS.rst";
    maintainers = with maintainers; [ ];
    license = licenses.asl20;
  };
}