Merge pull request #271348 from r-ryantm/auto-update/python310Packages.duckduckgo-search

python310Packages.duckduckgo-search: 3.9.4 -> 3.9.9
This commit is contained in:
Weijia Wang 2023-12-08 21:39:34 +01:00 committed by GitHub
commit 04ec1d8c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,30 +1,34 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, setuptools
{ lib
, aiofiles
, buildPythonPackage
, click
, fetchFromGitHub
, h2
, httpx
, lxml
, pythonOlder
, requests
, setuptools
, socksio
}:
buildPythonPackage rec {
pname = "duckduckgo-search";
version = "3.9.4";
version = "3.9.9";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "deedy5";
repo = "duckduckgo_search";
rev = "refs/tags/v${version}";
hash = "sha256-R96ezs0INIZAXTcD1eWXuj4MSJvCbtbgzgC3ls7wYyI=";
hash = "sha256-swuMCobYF5u41O1Qp5Gx/n8BIgSEnhRVZ5Owk3IPbeI=";
};
format = "pyproject";
nativeBuildInputs = [ setuptools ];
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiofiles
@ -38,12 +42,15 @@ buildPythonPackage rec {
++ httpx.optional-dependencies.http2
++ httpx.optional-dependencies.socks;
pythonImportsCheck = [ "duckduckgo_search" ];
pythonImportsCheck = [
"duckduckgo_search"
];
meta = {
description = "A python CLI and library for searching for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine";
meta = with lib; {
description = "Python CLI and library for searching for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine";
homepage = "https://github.com/deedy5/duckduckgo_search";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
changelog = "https://github.com/deedy5/duckduckgo_search/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}