python312Packages.duckduckgo-search: 6.3.2 -> 6.3.4
python3Packages.duckduckgo-search: use refs/tags for rev Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
parent
40c8c30db7
commit
06d09b00d9
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user