33 lines
730 B
Nix
33 lines
730 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mailchecker";
|
|
version = "5.0.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-g70FjY0tc4KjgdVweuBBkFrByt8xlGPJEPz/OvTtjZk=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|