biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyisemail / default.nix
blobdf26b5a3602e7c79cad1bffa14eaa189fadc30df
2   lib,
3   buildPythonPackage,
4   dnspython,
5   fetchFromGitHub,
6   hatchling,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "pyisemail";
13   version = "2.0.1";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "michaelherold";
20     repo = "pyIsEmail";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-bJCaVUhvEAoQ8zMsbcb1Et728XHt+shEPhhBzPzY/vo=";
23   };
25   nativeBuildInputs = [ hatchling ];
27   propagatedBuildInputs = [ dnspython ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "pyisemail" ];
33   meta = with lib; {
34     description = "Module for email validation";
35     homepage = "https://github.com/michaelherold/pyIsEmail";
36     changelog = "https://github.com/michaelherold/pyIsEmail/blob/${version}/CHANGELOG.rst";
37     license = licenses.mit;
38     maintainers = with maintainers; [ fab ];
39   };