depot/third_party/nixpkgs/pkgs/development/python-modules/validate-email/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

35 lines
708 B
Nix

{
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 ];
};
}