{ buildPythonPackage, fetchPypi, lib, setuptools, natsort, typing-extensions, }: buildPythonPackage rec { pname = "domdf-python-tools"; version = "3.9.0"; pyproject = true; src = fetchPypi { inherit version; pname = "domdf_python_tools"; hash = "sha256-H4qWlxF4MzpV4IPjVhDXaIzXYgrSuZeQFk4fwaNhTBg="; }; build-system = [ setuptools ]; dependencies = [ natsort typing-extensions ]; nativeCheckInputs = [ ]; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"' ''; meta = { description = "Helpful functions for Python"; homepage = "https://github.com/domdfcoding/domdf_python_tools"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tyberius-prime ]; }; }