diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/tldextract/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/tldextract/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/tldextract/default.nix b/nixpkgs/pkgs/development/python-modules/tldextract/default.nix index d39b4fa82c81..f2f15c8bb7fa 100644 --- a/nixpkgs/pkgs/development/python-modules/tldextract/default.nix +++ b/nixpkgs/pkgs/development/python-modules/tldextract/default.nix @@ -14,15 +14,19 @@ buildPythonPackage rec { pname = "tldextract"; - version = "3.1.2"; + version = "3.2.0"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-0gNMNVhlH32P2t6oP7aBBQstZi3GegDZUDJtyQIClEQ="; + sha256 = "sha256-PUtqIQVgC30CkOoje/MLaw3HY+UPy+QOhJoBm9bby/8="; }; - nativeBuildInputs = [ setuptools-scm ]; + nativeBuildInputs = [ + setuptools-scm + ]; propagatedBuildInputs = [ filelock @@ -38,10 +42,13 @@ buildPythonPackage rec { ]; postPatch = '' - substituteInPlace pytest.ini --replace " --pylint" "" + substituteInPlace pytest.ini \ + --replace " --pylint" "" ''; - pythonImportsCheck = [ "tldextract" ]; + pythonImportsCheck = [ + "tldextract" + ]; meta = with lib; { description = "Python module to accurately separate the TLD from the domain of an URL"; |