ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-bigquery-storage / default.nix
blob766a793082cb09c905d1a0a459affdca70c4c03b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , google-auth
6 , google-cloud-bigquery
7 , pytestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "google-cloud-bigquery-storage";
12   version = "2.16.2";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "sha256-5qyk97b06tuH+FEJBhd1Y1GOFYfIt7FivPjhyede9BY=";
17   };
19   propagatedBuildInputs = [
20     google-api-core
21   ];
23   checkInputs = [
24     google-auth
25     google-cloud-bigquery
26     pytestCheckHook
27   ];
29   # dependency loop with google-cloud-bigquery
30   doCheck = false;
32   preCheck = ''
33     rm -r google
34   '';
36   pythonImportsCheck = [
37     "google.cloud.bigquery_storage"
38     "google.cloud.bigquery_storage_v1"
39     "google.cloud.bigquery_storage_v1beta2"
40   ];
42   meta = with lib; {
43     description = "BigQuery Storage API API client library";
44     homepage = "https://github.com/googleapis/python-bigquery-storage";
45     license = licenses.asl20;
46     maintainers = with maintainers; [ SuperSandro2000 ];
47   };