evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / google-search-results / default.nix
blob7a982370ec867dec35c599c4f69705cc9c124410
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   requests,
7 }:
9 buildPythonPackage rec {
10   pname = "google-search-results";
11   version = "2.4.2";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit version;
18     pname = builtins.replaceStrings [ "-" ] [ "_" ] pname;
19     hash = "sha256-YDow7K4q+OYAsiY1dXpt8nXa1Lk0+XXmeHjM1kC3gkU=";
20   };
22   propagatedBuildInputs = [ requests ];
24   # almost all tests require an API key or network access
25   doCheck = false;
27   pythonImportsCheck = [ "serpapi" ];
29   meta = with lib; {
30     description = "Scrape and search localized results from Google, Bing, Baidu, Yahoo, Yandex, Ebay, Homedepot, youtube at scale using SerpApi.com";
31     homepage = "https://github.com/serpapi/google-search-results-python";
32     changelog = "https://github.com/serpapi/google-search-results-python/releases/tag/${version}";
33     license = licenses.mit;
34     maintainers = with maintainers; [ natsukium ];
35   };