Merge pull request #225842 from superherointj/duckduckgo-search
python311Packages.duckduckgo-search: init 2.8.5
This commit is contained in:
commit
727216f743
|
@ -0,0 +1,37 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, setuptools
|
||||
, requests
|
||||
, click
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "duckduckgo-search";
|
||||
version = "2.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deedy5";
|
||||
repo = "duckduckgo_search";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UXh3+kBfkylt5CIXbYTa/vniEETUvh4steUrUg5MqYU=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
click
|
||||
];
|
||||
|
||||
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";
|
||||
homepage = "https://github.com/deedy5/duckduckgo_search";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -2933,6 +2933,8 @@ self: super: with self; {
|
|||
|
||||
duckdb-engine = callPackage ../development/python-modules/duckdb-engine { };
|
||||
|
||||
duckduckgo-search = callPackage ../development/python-modules/duckduckgo-search { };
|
||||
|
||||
duecredit = callPackage ../development/python-modules/duecredit { };
|
||||
|
||||
duet = callPackage ../development/python-modules/duet { };
|
||||
|
|
Loading…
Reference in a new issue