diff --git a/pkgs/development/python-modules/htmldate/default.nix b/pkgs/development/python-modules/htmldate/default.nix index 805efeb1cd04..98482c0e5e58 100644 --- a/pkgs/development/python-modules/htmldate/default.nix +++ b/pkgs/development/python-modules/htmldate/default.nix @@ -5,7 +5,6 @@ dateparser, faust-cchardet, fetchFromGitHub, - fetchpatch, lxml, pytestCheckHook, python-dateutil, @@ -15,25 +14,16 @@ buildPythonPackage rec { pname = "htmldate"; - version = "1.10.0"; + version = "1.11.0"; pyproject = true; src = fetchFromGitHub { owner = "adbar"; repo = "htmldate"; tag = "v${version}"; - hash = "sha256-3qtksgzqcgWtUv81Aqeh0nTWYnH0PjPLG4NuYChbV0g="; + hash = "sha256-ehhhM3AmZq5CzNzSYDsuX2/0F3M4GzylYqxa+UZY5D4="; }; - patches = [ - # https://github.com/adbar/htmldate/pull/199 - (fetchpatch { - name = "fix-tests-with-dateparser-1.4.2.patch"; - url = "https://github.com/adbar/htmldate/commit/14c70c4944f1a6950bedaf8b6e46b6ec726984b8.patch"; - hash = "sha256-rtRUk9lGsNQyOZ5RAjvMP5JRa4WGWdo0Xzh0OvskYPs="; - }) - ]; - build-system = [ setuptools ]; dependencies = [ @@ -44,7 +34,11 @@ buildPythonPackage rec { urllib3 ]; - pythonRelaxDeps = [ "lxml" ]; + pythonRelaxDeps = [ + "charset_normalizer" + "lxml" + "urllib3" + ]; optional-dependencies = { speed = [