mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
36 lines
752 B
Nix
36 lines
752 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "tlds";
|
|
version = "2026021400";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kichik";
|
|
repo = "tlds";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-IyIZCBlH918let5qa/fi/SYampE3E+yAVMG17nHF7mk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "tlds" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Automatically updated list of valid TLDs taken directly from IANA";
|
|
homepage = "https://github.com/kichik/tlds";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ hexa ];
|
|
};
|
|
})
|