3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.tldextract: init at 2.2.0

This commit is contained in:
rnhmjoj 2018-09-11 23:51:50 +02:00
parent 99dad9d7f0
commit e281f0e686
No known key found for this signature in database
GPG key ID: 91BE884FBA4B591A

View file

@ -0,0 +1,24 @@
{ lib, fetchPypi, buildPythonPackage
, requests, requests-file, idna, pytest
, responses
}:
buildPythonPackage rec {
pname = "tldextract";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1d5s8v6kpsgazyahflhji1cfdcf89rv7l7z55v774bhzvcjp2y99";
};
propagatedBuildInputs = [ requests requests-file idna ];
checkInputs = [ pytest responses ];
meta = {
homepage = https://github.com/john-kurkowski/tldextract;
description = "Accurately separate the TLD from the registered domain and subdomains of a URL, using the Public Suffix List.";
license = lib.licenses.bsd3;
};
}