nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "mailchecker";
10 version = "6.0.19";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-MuLQdGiFZbhd/1Zc+VnTo3UW3EAyISzz/c1F3D0F2UE=";
16 };
17
18 build-system = [ setuptools ];
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "MailChecker" ];
24
25 meta = {
26 description = "Module for temporary (disposable/throwaway) email detection";
27 homepage = "https://github.com/FGRibreau/mailchecker";
28 changelog = "https://github.com/FGRibreau/mailchecker/blob/v${version}/CHANGELOG.md";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ fab ];
31 };
32}