mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
ba269fce41
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-tldextract/versions
25 lines
630 B
Nix
25 lines
630 B
Nix
{ lib, fetchPypi, buildPythonPackage
|
|
, requests, requests-file, idna, pytest
|
|
, responses
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tldextract";
|
|
version = "2.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1lcywabjy7vpm6awl2cw4m6rk6h85qnbql0j33xcfryy2dhfyaxp";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|