python310Packages.publicsuffixlist: init at 0.9.3
This commit is contained in:
parent
10e51cdc04
commit
d29fc88207
49
pkgs/development/python-modules/publicsuffixlist/default.nix
Normal file
49
pkgs/development/python-modules/publicsuffixlist/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -7685,6 +7685,8 @@ self: super: with self; {
|
|||
|
||||
publicsuffix = callPackage ../development/python-modules/publicsuffix { };
|
||||
|
||||
publicsuffixlist = callPackage ../development/python-modules/publicsuffixlist { };
|
||||
|
||||
pubnub = callPackage ../development/python-modules/pubnub { };
|
||||
|
||||
pubnubsub-handler = callPackage ../development/python-modules/pubnubsub-handler { };
|
||||
|
|
Loading…
Reference in a new issue