Merge pull request #232424 from natsukium/python3Packages.google-search-results/init

authored by Sandro and committed by GitHub b6bd2a91 5e8bda2a

+43 -1
+39
pkgs/development/python-modules/google-search-results/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , requests 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "google-search-results"; 10 + version = "2.4.2"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit version; 17 + pname = builtins.replaceStrings [ "-" ] [ "_" ] pname; 18 + hash = "sha256-YDow7K4q+OYAsiY1dXpt8nXa1Lk0+XXmeHjM1kC3gkU="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + requests 23 + ]; 24 + 25 + # almost all tests require an API key or network access 26 + doCheck = false; 27 + 28 + pythonImportsCheck = [ 29 + "serpapi" 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "Scrape and search localized results from Google, Bing, Baidu, Yahoo, Yandex, Ebay, Homedepot, youtube at scale using SerpApi.com"; 34 + homepage = "https://github.com/serpapi/google-search-results-python"; 35 + changelog = "https://github.com/serpapi/google-search-results-python/releases/tag/${version}"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ natsukium ]; 38 + }; 39 + }
+2 -1
pkgs/development/python-modules/langchain/default.nix
··· 31 31 , azure-core 32 32 , elasticsearch 33 33 , opensearch-py 34 + , google-search-results 34 35 , faiss 35 36 , spacy 36 37 , nltk ··· 160 161 manifest-ml 161 162 elasticsearch 162 163 opensearch-py 163 - # google-search-results 164 + google-search-results 164 165 faiss 165 166 sentence-transformers 166 167 transformers
+2
pkgs/top-level/python-packages.nix
··· 4246 4246 4247 4247 google-resumable-media = callPackage ../development/python-modules/google-resumable-media { }; 4248 4248 4249 + google-search-results = callPackage ../development/python-modules/google-search-results { }; 4250 + 4249 4251 googletrans = callPackage ../development/python-modules/googletrans { }; 4250 4252 4251 4253 gorilla = callPackage ../development/python-modules/gorilla { };