python310Packages.publicsuffixlist: init at 0.9.3

This commit is contained in:
Fabian Affolter 2023-03-02 23:01:48 +01:00
parent 10e51cdc04
commit d29fc88207
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchPypi
, pandoc
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "publicsuffixlist";
version = "0.9.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-9iQZb9v8aV7hg6UqLfxWGByPWb8mn+14vktIvCRX4hg=";
};
passthru.optional-dependencies = {
update = [
requests
];
readme = [
pandoc
];
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"publicsuffixlist"
];
pytestFlagsArray = [
"publicsuffixlist/test.py"
];
meta = with lib; {
description = "Public Suffix List parser implementation";
homepage = "https://github.com/ko-zu/psl";
license = licenses.mpl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7685,6 +7685,8 @@ self: super: with self; {
publicsuffix = callPackage ../development/python-modules/publicsuffix { }; publicsuffix = callPackage ../development/python-modules/publicsuffix { };
publicsuffixlist = callPackage ../development/python-modules/publicsuffixlist { };
pubnub = callPackage ../development/python-modules/pubnub { }; pubnub = callPackage ../development/python-modules/pubnub { };
pubnubsub-handler = callPackage ../development/python-modules/pubnubsub-handler { }; pubnubsub-handler = callPackage ../development/python-modules/pubnubsub-handler { };