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