blob: 0977930de35487c84396e38cac5a416204713710 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
dnspython,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyisemail";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "michaelherold";
repo = "pyIsEmail";
tag = "v${version}";
hash = "sha256-bJCaVUhvEAoQ8zMsbcb1Et728XHt+shEPhhBzPzY/vo=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ dnspython ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyisemail" ];
meta = {
description = "Module for email validation";
homepage = "https://github.com/michaelherold/pyIsEmail";
changelog = "https://github.com/michaelherold/pyIsEmail/blob/${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|