diff --git a/pkgs/development/python-modules/duckduckgo-search/default.nix b/pkgs/development/python-modules/duckduckgo-search/default.nix index f46263cc70b2..b18638cc9379 100644 --- a/pkgs/development/python-modules/duckduckgo-search/default.nix +++ b/pkgs/development/python-modules/duckduckgo-search/default.nix @@ -1,10 +1,10 @@ { lib, buildPythonPackage, - click, fetchFromGitHub, pythonOlder, setuptools, + click, primp, # Optional dependencies @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "duckduckgo-search"; - version = "6.3.2"; + version = "6.3.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "deedy5"; repo = "duckduckgo_search"; rev = "refs/tags/v${version}"; - hash = "sha256-5AuPAv78ePrnCr5L4CfIu/fq7Ha19zC78zg8JLu3U2A="; + hash = "sha256-NvFoiyoXeNOrynGN+VHVfIA3+D9zfAWFeWEVU8/TkZQ="; }; build-system = [ setuptools ]; @@ -30,7 +30,7 @@ buildPythonPackage rec { dependencies = [ click primp - ]; + ] ++ optional-dependencies.lxml; optional-dependencies = { lxml = [ lxml ]; @@ -44,7 +44,7 @@ buildPythonPackage rec { description = "Python CLI and library for searching for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine"; mainProgram = "ddgs"; homepage = "https://github.com/deedy5/duckduckgo_search"; - changelog = "https://github.com/deedy5/duckduckgo_search/releases/tag/${version}"; + changelog = "https://github.com/deedy5/duckduckgo_search/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drawbu ]; };