python311Packages.publicsuffixlist: switch to pyproject

This commit is contained in:
Fabian Affolter 2023-10-30 08:02:39 +01:00
parent 9c8d9a7af3
commit 0532c14154

View File

@ -5,12 +5,13 @@
, pytestCheckHook
, pythonOlder
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "publicsuffixlist";
version = "0.10.0.20231030";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -19,6 +20,10 @@ buildPythonPackage rec {
hash = "sha256-1yRv6zg9mKJTinR57QHvCx/0mi0b2O3CkcoH1v4QuNo=";
};
nativeBuildInputs = [
setuptools
];
passthru.optional-dependencies = {
update = [
requests