From 40c8c30db79cb8a20a5009d0f7e81b6ea98ee5e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Tue, 12 Nov 2024 11:19:52 +0100 Subject: [PATCH 1/2] python312Packages.primp: 0.6.4 -> 0.6.5 --- pkgs/development/python-modules/primp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/primp/default.nix b/pkgs/development/python-modules/primp/default.nix index 97db576116cd..f9fcb26d64d9 100644 --- a/pkgs/development/python-modules/primp/default.nix +++ b/pkgs/development/python-modules/primp/default.nix @@ -25,20 +25,20 @@ let in buildPythonPackage rec { pname = "primp"; - version = "0.6.4"; + version = "0.6.5"; pyproject = true; src = fetchFromGitHub { owner = "deedy5"; repo = "primp"; rev = "refs/tags/v${version}"; - hash = "sha256-wCD99eEU4RW8kUJY72cXhJh5124PVd6kJt+HZjm/hFI="; + hash = "sha256-dexJdeNGpRsPLk8b/gNeQc1dsQLOiXNL5zgDEN9qHfQ="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-iY6TSc7GU6OWVUpW6qpwH4g9/eGKhP/YZ5PQoO8NmVc="; + hash = "sha256-0mkrs50l0JEUH1WsM/Bp8AblCy6nkuohZKDsp6OVQpM="; }; nativeBuildInputs = [ From 06d09b00d91ef38da793f70c1c70cb332a30805f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Tue, 12 Nov 2024 11:20:10 +0100 Subject: [PATCH 2/2] python312Packages.duckduckgo-search: 6.3.2 -> 6.3.4 python3Packages.duckduckgo-search: use refs/tags for rev Co-authored-by: Pol Dellaiera --- .../python-modules/duckduckgo-search/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ]; };