about summary refs log tree commit diff
path: root/pkgs/development/python-modules/validate-email/default.nix
blob: 441a0671461c96c48841a282ff870ca98deeb0ea (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "validate-email";
  version = "1.3";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit version;
    pname = "validate_email";
    hash = "sha256-eEcZ3F94C+MZzdGF3IXdk6/r2267lDgRvEx8X5xyrq8=";
  };

  build-system = [ setuptools ];

  # No tests
  doCheck = false;

  pythonImportsCheck = [ "validate_email" ];

  meta = with lib; {
    description = "Verify if an email address is valid and really exists";
    homepage = "https://github.com/syrusakbary/validate_email";
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ mmahut ];
  };
}