Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google / default.nix
blob3dc2cdb345148b018ad90409a82a94c2d5fd9b95
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , beautifulsoup4
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "google";
10   version = "3.0.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-FDUwEi7lEwUJrV6YnwUS98shiy1O3br7rUD9EOjYzL4=";
18   };
20   propagatedBuildInputs = [
21     beautifulsoup4
22   ];
24   # Module has no tests
25   doCheck = false;
27   pythonImportsCheck = [
28     "googlesearch"
29   ];
31   meta = with lib; {
32     description = "Python bindings to the Google search engine";
33     mainProgram = "google";
34     homepage = "https://pypi.org/project/google/";
35     license = with licenses; [ bsd3 ];
36     maintainers = with maintainers; [ fab ];
37   };