python312Packages.urlextract: refactor

This commit is contained in:
Fabian Affolter 2024-02-29 23:33:27 +01:00 committed by GitHub
parent 3900e9e1b7
commit 58faec2bb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,13 +7,14 @@
, platformdirs
, pytestCheckHook
, pythonOlder
, setuptools
, uritools
}:
buildPythonPackage rec {
pname = "urlextract";
version = "1.9.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -22,6 +23,10 @@ buildPythonPackage rec {
hash = "sha256-cFCOArqd83LiXPBkLbNnzs4nPocSzQzngXj8XdfqANs=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
filelock
idna