mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python312Packages.duckduckgo-search: 6.3.2 -> 6.3.4; python312Packages.primp: 0.6.4 -> 0.6.5 (#355393)
This commit is contained in:
commit
cda7055443
@ -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 ];
|
||||
};
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user