depot/third_party/nixpkgs/pkgs/development/python-modules/mailchecker/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

35 lines
773 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "mailchecker";
version = "6.0.9";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8X6Qf/5vb67cJD9X6wyclR9h3smvjpaSLB3NCTOJuI0=";
};
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "MailChecker" ];
meta = with lib; {
description = "Module for temporary (disposable/throwaway) email detection";
homepage = "https://github.com/FGRibreau/mailchecker";
changelog = "https://github.com/FGRibreau/mailchecker/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}