Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tlds / default.nix
blob3967781bb0f8f54b9efd8ab477d131b568f9e374
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 }:
7 buildPythonPackage rec {
8   pname = "tlds";
9   version = "2023110300";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "kichik";
14     repo = "tlds";
15     rev = "refs/tags/${version}";
16     hash = "sha256-rmKqY7Z4bBR4r+w4gH04g0Xm9N7QeMVcuFR3pB/pOQY=";
17   };
19   nativeBuildInputs = [
20     setuptools
21   ];
23   pythonImportsCheck = [
24     "tlds"
25   ];
27   # no tests
28   doCheck = false;
30   meta = with lib; {
31     description = "Automatically updated list of valid TLDs taken directly from IANA";
32     homepage = "https://github.com/mweinelt/tlds";
33     license = licenses.mit;
34     maintainers = with maintainers; [ hexa ];
35   };