nixpkgs/pkgs/development/python-modules/google-cloud-bigquery-datatransfer/default.nix

36 lines
848 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
version = "3.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "fcb71ebe5c5b232d24fe7d666b65709e4fc8db43263c8182e5ed8e5a52abefec";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [
"google.cloud.bigquery_datatransfer"
"google.cloud.bigquery_datatransfer_v1"
];
meta = with lib; {
description = "BigQuery Data Transfer API client library";
homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}