Unverified Commit c1db9ece authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #230780 from mweinelt/tlds-2023050800

python310Packages.tlds: init at 2023050800
parents f1e569aa c69d499b
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "tlds";
  version = "2023050800";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "mweinelt";
    repo = "python-tlds";
    rev = "refs/tags/${version}";
    hash = "sha256-uXYRkalJGJ2o8ptvKCkMBc/U+9DpgPGxINM8w21ZIKM=";
  };

  pythonImportsCheck = [
    "tlds"
  ];

  # no tests
  doCheck = false;

  meta = with lib; {
    description = "Automatically updated list of valid TLDs taken directly from IANA";
    homepage = "https://github.com/mweinelt/tlds";
    license = licenses.mit;
    maintainers = with maintainers; [ hexa ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -11955,6 +11955,8 @@ self: super: with self; {

  tld = callPackage ../development/python-modules/tld { };

  tlds = callPackage ../development/python-modules/tlds { };

  tldextract = callPackage ../development/python-modules/tldextract { };

  tlsh = callPackage ../development/python-modules/tlsh { };