diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix b/nixpkgs/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix new file mode 100644 index 000000000000..23f08f3bbef0 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-bigquery-datatransfer"; + version = "0.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "02bf1a508ffbc730904fd8a5e7d7c33946f0aa539127c1b1e235dfdedd7bc9a5"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "BigQuery Data Transfer API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} |