Files
nixpkgs/pkgs/development/python-modules/tlds/default.nix
2025-05-27 10:23:16 +00:00

37 lines
733 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
nix-update-script,
}:
buildPythonPackage rec {
pname = "tlds";
version = "2025051700";
pyproject = true;
src = fetchFromGitHub {
owner = "kichik";
repo = "tlds";
tag = version;
hash = "sha256-AqVe9U/gLjXkmLls4+t04youpY7DtrbmlaHVUdAElMo=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "tlds" ];
# no tests
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Automatically updated list of valid TLDs taken directly from IANA";
homepage = "https://github.com/kichik/tlds";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}