depot/third_party/nixpkgs/pkgs/development/python-modules/mailchecker/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

32 lines
641 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "mailchecker";
version = "4.1.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-4ez18K9ksVGjzspHHcw/Ja6hxoKTkYLBFn65m7VBWYk=";
};
# 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";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}