blob: e161c5495f593473b0eda6537883ffd237e8e666 (
plain) (
blame)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
nix-update-script,
}:
buildPythonPackage rec {
pname = "tlds";
version = "2024071000";
pyproject = true;
src = fetchFromGitHub {
owner = "kichik";
repo = "tlds";
rev = "refs/tags/${version}";
hash = "sha256-xt2IdF7V8NUW9nUg8x7XbMHLWir6CHAQcRIiH6ejV5M=";
};
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 ];
};
}
|