Merge pull request #108536 from SuperSandro2000/small-fixes
This commit is contained in:
commit
3f132c79ac
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, libusb1, qtbase, zlib, IOKit, which }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, libusb1, qtbase, zlib, IOKit, which, expat }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gpsbabel";
|
||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libusb1 qtbase zlib ]
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
|
||||
checkInputs = [ which ]; # Avoid ./testo.d/kml.test: line 74: which: command not found. Skipping KML validation phase.
|
||||
checkInputs = [ expat.dev which ]; # Avoid ./testo.d/kml.test: line 74: which: command not found. Skipping KML validation phase.
|
||||
|
||||
/* FIXME: Building the documentation, with "make doc", requires this:
|
||||
|
||||
@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs testo
|
||||
substituteInPlace testo \
|
||||
--replace "-x /usr/bin/hexdump" ""
|
||||
|
||||
rm -v testo.d/alantrl.test
|
||||
''
|
||||
# The raymarine and gtm tests fail on i686 despite -ffloat-store.
|
||||
+ lib.optionalString stdenv.isi686 "rm -v testo.d/raymarine.test testo.d/gtm.test;"
|
||||
|
@ -41,7 +41,7 @@ buildPythonApplication rec {
|
||||
distro
|
||||
appdirs
|
||||
]
|
||||
++ lib.optional enableGoogle google_cloud_storage
|
||||
++ lib.optional enableGoogle google-cloud-storage
|
||||
++ lib.optional enableAWS boto3
|
||||
++ lib.optional enableAzure azure-storage-blob
|
||||
++ lib.optional enableSSH paramiko;
|
||||
|
@ -31,14 +31,15 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = [ "-DFLATBUFFERS_BUILD_TESTS=${if doCheck then "ON" else "OFF"}" ];
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
# tests fail to compile
|
||||
doCheck = false;
|
||||
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
checkTarget = "test";
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Memory Efficient Serialization Library";
|
||||
longDescription = ''
|
||||
FlatBuffers is an efficient cross platform serialization library for
|
||||
@ -46,9 +47,9 @@ stdenv.mkDerivation rec {
|
||||
access serialized data without unpacking/parsing it first, while still
|
||||
having great forwards/backwards compatibility.
|
||||
'';
|
||||
maintainers = [ stdenv.lib.maintainers.teh ];
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ maintainers.teh ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
homepage = "https://google.github.io/flatbuffers/";
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, attrs
|
||||
, bidict
|
||||
, bitstruct
|
||||
@ -18,9 +18,7 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "bidict>=0.17,<0.18" "bidict" \
|
||||
--replace "more-itertools>=4.0,<8.0" "more-itertools" \
|
||||
--replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum>=2.0,<=3.0"
|
||||
--replace "'attrs>=18.2,<19.4'" "'attrs'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -35,8 +33,6 @@ buildPythonPackage rec {
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/thebigmunch/audio-metadata";
|
||||
description = "A library for reading and, in the future, writing metadata from audio files";
|
||||
|
@ -5,7 +5,7 @@
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, freezegun
|
||||
, google_api_core
|
||||
, google-api-core
|
||||
, matplotlib
|
||||
, networkx
|
||||
, numpy
|
||||
@ -54,7 +54,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
freezegun
|
||||
google_api_core
|
||||
google-api-core
|
||||
numpy
|
||||
matplotlib
|
||||
networkx
|
||||
|
@ -1,27 +1,44 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_auth, protobuf
|
||||
, googleapis_common_protos, requests, grpcio, mock, pytest, pytest-asyncio, pytestCheckHook }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-auth
|
||||
, googleapis_common_protos
|
||||
, grpcio
|
||||
, protobuf
|
||||
, pytz
|
||||
, requests
|
||||
, mock
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-api-core";
|
||||
version = "1.23.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
version = "1.24.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bb3c485c38eacded8d685b1759968f6cf47dd9432922d34edb90359eaa391e2";
|
||||
sha256 = "0sflnpgsvk2h1cr1m3mgxx6pzz55xw7sk4y4qdimhs5jdm2fw78g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ googleapis_common_protos protobuf google_auth requests grpcio ];
|
||||
propagatedBuildInputs = [
|
||||
googleapis_common_protos
|
||||
google-auth
|
||||
grpcio
|
||||
protobuf
|
||||
pytz
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [ google_auth mock protobuf pytest-asyncio pytestCheckHook ];
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.auth" "google.protobuf" "google.api" ];
|
||||
pythonImportsCheck = [ "google.api_core" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core Library for Google Client Libraries";
|
||||
@ -33,6 +50,6 @@ buildPythonPackage rec {
|
||||
changelog =
|
||||
"https://github.com/googleapis/python-api-core/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, google_auth, google-auth-httplib2, google_api_core
|
||||
, google-auth, google-auth-httplib2, google-api-core
|
||||
, httplib2, six, uritemplate, oauth2client }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_auth google-auth-httplib2 google_api_core
|
||||
google-auth google-auth-httplib2 google-api-core
|
||||
httplib2 six uritemplate oauth2client
|
||||
];
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pytz
|
||||
, gflags
|
||||
, dateutil
|
||||
@ -11,10 +12,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "google-apputils";
|
||||
version = "0.4.2";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "47959d0651c32102c10ad919b8a0ffe0ae85f44b8457ddcf2bdc0358fb03dc29";
|
||||
sha256 = "0afw0gxmh0yw5g7xsmw49gs8bbp0zyhbh6fr1b0h48f3a439v5a7";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
@ -34,6 +36,6 @@ buildPythonPackage rec {
|
||||
description = "Google Application Utilities for Python";
|
||||
homepage = "https://github.com/google/google-apputils";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
|
||||
}
|
@ -3,13 +3,11 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flask
|
||||
, mock
|
||||
, six
|
||||
, pytest
|
||||
, pytest-localserver
|
||||
, google_auth
|
||||
, google-auth
|
||||
, httplib2
|
||||
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pytest-localserver
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -18,28 +16,25 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8d092cc60fb16517b12057ec0bba9185a96e3b7169d86ae12eae98e645b7bc39";
|
||||
sha256 = "0fdwnx2yd65f5vhnmn39f4xnxac5j6x0pv2p42qifrdi1z32q2cd";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
flask mock six pytest pytest-localserver
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_auth httplib2
|
||||
google-auth
|
||||
httplib2
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
checkInputs = [
|
||||
flask
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-localserver
|
||||
];
|
||||
|
||||
# ImportError: No module named google.auth
|
||||
doCheck = isPy3k;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Google Authentication Library: httplib2 transport";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
|
||||
license = lib.licenses.asl20;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,44 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, isPy3k
|
||||
, click
|
||||
, mock
|
||||
, pytest
|
||||
, futures
|
||||
, google_auth
|
||||
, pytestCheckHook
|
||||
, google-auth
|
||||
, requests_oauthlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-auth-oauthlib";
|
||||
version = "0.4.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "65b65bc39ad8cab15039b35e5898455d3d66296d0584d96fe0e79d67d04c51d9";
|
||||
sha256 = "1nai9k86g7g7w1pxk105dllncgax8nc5hpmk758b3jnqkb1mpdk5";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
click mock pytest
|
||||
] ++ lib.optionals (!isPy3k) [ futures ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_auth requests_oauthlib
|
||||
google-auth
|
||||
requests_oauthlib
|
||||
];
|
||||
|
||||
doCheck = isPy3k;
|
||||
checkPhase = ''
|
||||
rm -fr tests/__pycache__/ google
|
||||
py.test
|
||||
'';
|
||||
checkInputs = [
|
||||
click
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Authentication Library: oauthlib integration";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ terlar ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 terlar ];
|
||||
};
|
||||
}
|
||||
|
54
pkgs/development/python-modules/google-auth/default.nix
Normal file
54
pkgs/development/python-modules/google-auth/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, cachetools
|
||||
, flask
|
||||
, freezegun
|
||||
, mock
|
||||
, oauth2client
|
||||
, pyasn1-modules
|
||||
, pytest-localserver
|
||||
, responses
|
||||
, rsa
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-auth";
|
||||
version = "1.24.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bmdqkyv8k8n6s8dss4zpbcq1cdxwicpb42kwybd02ia85mh43hb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyasn1-modules cachetools rsa ];
|
||||
|
||||
checkInputs = [
|
||||
flask
|
||||
freezegun
|
||||
mock
|
||||
oauth2client
|
||||
pytestCheckHook
|
||||
pytest-localserver
|
||||
responses
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.auth"
|
||||
"google.oauth2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Auth Python Library";
|
||||
longDescription = ''
|
||||
This library simplifies using Google’s various server-to-server
|
||||
authentication mechanisms to access Google APIs.
|
||||
'';
|
||||
homepage = "https://github.com/googleapis/google-auth-library-python";
|
||||
changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_api_core }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google-api-core }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-access-context-manager";
|
||||
@ -9,19 +9,19 @@ buildPythonPackage rec {
|
||||
sha256 = "1qy7wv1xn7g3x5z0vvv0pwmxhin4hw2m9fs9iklnghy00vg37v0b";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
propagatedBuildInputs = [ google_api_core ];
|
||||
propagatedBuildInputs = [ google-api-core ];
|
||||
|
||||
# No tests in repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "google.identity.accesscontextmanager" ];
|
||||
pythonImportsCheck = [
|
||||
"google.identity.accesscontextmanager"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Protobufs for Google Access Context Manager.";
|
||||
homepage = "https://github.com/googleapis/python-access-context-manager";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ austinbutler ];
|
||||
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
@ -0,0 +1,54 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpc_google_iam_v1
|
||||
, google-api-core
|
||||
, google-cloud-access-context-manager
|
||||
, google-cloud-org-policy
|
||||
, google-cloud-os-config
|
||||
, google-cloud-testutils
|
||||
, libcst
|
||||
, proto-plus
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-asset";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05q0yaw6b553qmzylr45zin17h8mvi8yyyxhbv3cxa7f0ahviw8w";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
grpc_google_iam_v1
|
||||
google-api-core
|
||||
google-cloud-access-context-manager
|
||||
google-cloud-org-policy
|
||||
google-cloud-os-config
|
||||
libcst
|
||||
proto-plus
|
||||
];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytest-asyncio pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.asset"
|
||||
"google.cloud.asset_v1"
|
||||
"google.cloud.asset_v1p1beta1"
|
||||
"google.cloud.asset_v1p2beta1"
|
||||
"google.cloud.asset_v1p4beta1"
|
||||
"google.cloud.asset_v1p5beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Client for Google Cloud Asset API";
|
||||
homepage = "https://github.com/googleapis/python-asset";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, libcst
|
||||
, google-api-core
|
||||
, google-cloud-storage
|
||||
, google-cloud-testutils
|
||||
, pandas
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-automl";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "520dfe2ee04d28f3088c9c582fa2a534fc272647d5e2e59acc903c0152e61696";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [
|
||||
google-cloud-storage
|
||||
google-cloud-testutils
|
||||
mock
|
||||
pandas
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# do not shadow imports
|
||||
rm -r google
|
||||
# requires credentials
|
||||
rm tests/system/gapic/v1beta1/test_system_tables_client_v1.py
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_prediction_client_client_info"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.automl"
|
||||
"google.cloud.automl_v1"
|
||||
"google.cloud.automl_v1beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud AutoML API client library";
|
||||
homepage = "https://github.com/googleapis/python-automl";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, libcst
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery-datatransfer";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hmsqvs2srmqcwmli48vd5vw829zax3pwj63fsxig6sdhjlf6j7j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.bigquery_datatransfer"
|
||||
"google.cloud.bigquery_datatransfer_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "BigQuery Data Transfer API client library";
|
||||
homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, freezegun
|
||||
, google-cloud-core
|
||||
, google-cloud-testutils
|
||||
, google-resumable-media
|
||||
, grpcio
|
||||
, ipython
|
||||
, mock
|
||||
, pandas
|
||||
, proto-plus
|
||||
, pyarrow
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vs4im0fixmszh6p77icys9g7fymwmkfc6va0ng9kpjv1h6gv68z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-resumable-media
|
||||
google-cloud-core
|
||||
proto-plus
|
||||
pyarrow
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
google-cloud-testutils
|
||||
ipython
|
||||
mock
|
||||
pandas
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.bigquery"
|
||||
"google.cloud.bigquery_v2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google BigQuery API client library";
|
||||
homepage = "https://github.com/googleapis/python-bigquery";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -2,8 +2,8 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpc_google_iam_v1
|
||||
, google_api_core
|
||||
, google_cloud_core
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core google_cloud_core ];
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core google-cloud-core ];
|
||||
|
||||
checkPhase = ''
|
||||
rm -r google
|
@ -0,0 +1,43 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, grpc_google_iam_v1
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-container";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04f9mx1wxy3l9dvzvvr579fnjp1fdqhgplv5y2gl7h2mvn281k8d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_list_clusters"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.container"
|
||||
"google.cloud.container_v1"
|
||||
"google.cloud.container_v1beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Container Engine API client library";
|
||||
homepage = "https://github.com/googleapis/python-container";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,31 +1,38 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, python
|
||||
, google_api_core, grpcio, mock }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, python
|
||||
, google-api-core
|
||||
, grpcio
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-core";
|
||||
version = "1.4.3";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "21afb70c1b0bce8eeb8abb5dca63c5fd37fc8aea18f4b6d60e803bd3d27e6b80";
|
||||
sha256 = "01liq4nrd2g3ingg8v0ly4c86db8agnr9h1fiz219c7fz0as0xqj";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
propagatedBuildInputs = [ google-api-core ];
|
||||
|
||||
propagatedBuildInputs = [ google_api_core grpcio ];
|
||||
checkInputs = [ google_api_core mock pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "google.cloud" ];
|
||||
checkInputs = [ mock pytestCheckHook ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.cloud" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "API Client library for Google Cloud: Core Helpers";
|
||||
homepage = "https://github.com/googleapis/python-cloud-core";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, mock
|
||||
, libcst
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dataproc";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07rv2kgbaqkbd71k5i2zn9kcxasfzkkyai8jnbszhkf92k0lmi41";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_list_clusters"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.dataproc"
|
||||
"google.cloud.dataproc_v1"
|
||||
"google.cloud.dataproc_v1beta2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Dataproc API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, libcst
|
||||
, proto-plus
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, google-cloud-testutils
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-datastore";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yyk9ix1jms5q4kk76cfxzy42wzzyl5qladdswjy5l0pg6iypr8i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
preCheck = ''
|
||||
# directory shadows imports
|
||||
rm -r google
|
||||
# requires credentials
|
||||
rm tests/system/test_system.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.datastore"
|
||||
"google.cloud.datastore_admin_v1"
|
||||
"google.cloud.datastore_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Datastore API client library";
|
||||
homepage = "https://github.com/googleapis/python-datastore";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
42
pkgs/development/python-modules/google-cloud-dlp/default.nix
Normal file
42
pkgs/development/python-modules/google-cloud-dlp/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-testutils
|
||||
, libcst
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dlp";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09rnzpdlycr1wv8agcfx05v1prn35ylphsbr07486zqdkh5wjk8p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_inspect_content"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.dlp"
|
||||
"google.cloud.dlp_v2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Data Loss Prevention (DLP) API API client library";
|
||||
homepage = "https://github.com/googleapis/python-dlp";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
41
pkgs/development/python-modules/google-cloud-dns/default.nix
Normal file
41
pkgs/development/python-modules/google-cloud-dns/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dns";
|
||||
version = "0.32.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01l6pvfic0vxcvd97ckbxyc7ccr9vb9ln4lyhpp3amdmcy0far3j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
# don#t shadow python imports
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_quota"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.dns" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud DNS API client library";
|
||||
homepage = "https://github.com/googleapis/python-dns";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,6 +1,14 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_cloud_logging, google_cloud_testutils, libcst, mock, proto-plus
|
||||
, pytest-asyncio }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-cloud-logging
|
||||
, google-cloud-testutils
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-error-reporting";
|
||||
@ -11,13 +19,16 @@ buildPythonPackage rec {
|
||||
sha256 = "2fd6fe25343f7017c22e2733a0358c64b3171edc1669d0c8a1e1f07f86a048c4";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
propagatedBuildInputs = [ google-cloud-logging libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
|
||||
propagatedBuildInputs = [ google_cloud_logging libcst proto-plus ];
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# require credentials
|
||||
"test_report_error_event"
|
||||
"test_report_exception"
|
||||
];
|
||||
|
||||
# Disable tests that require credentials
|
||||
disabledTests = [ "test_report_error_event" "test_report_exception" ];
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
@ -27,6 +38,6 @@ buildPythonPackage rec {
|
||||
description = "Stackdriver Error Reporting API client library";
|
||||
homepage = "https://github.com/googleapis/python-error-reporting";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, aiounittest
|
||||
, google-api-core
|
||||
, google-cloud-testutils
|
||||
, google-cloud-core
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-firestore";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1q5s2gpkibnjxal9zrz02jfnazf7rxk0bi0ln5a3di6i47kjnga9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
google-cloud-core
|
||||
proto-plus
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aiounittest
|
||||
google-cloud-testutils
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# do not shadow imports
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [
|
||||
# tests are broken
|
||||
"--ignore=tests/system/test_system.py"
|
||||
"--ignore=tests/system/test_system_async.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_collections"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.firestore_v1"
|
||||
"google.cloud.firestore_admin_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Firestore API client library";
|
||||
homepage = "https://github.com/googleapis/python-firestore";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,5 +1,14 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, libcst, mock, proto-plus, pytest-asyncio }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-iam";
|
||||
@ -10,13 +19,19 @@ buildPythonPackage rec {
|
||||
sha256 = "1zxsx5avs8njiyw32zvsx2yblmmiwxy771x334hbgmy0aqms4lak";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.iam_credentials"
|
||||
"google.cloud.iam_credentials_v1"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Cloud IAM API client library";
|
||||
description = "IAM Service Account Credentials API client library";
|
||||
homepage = "https://github.com/googleapis/python-iam";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ austinbutler ];
|
||||
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
42
pkgs/development/python-modules/google-cloud-iot/default.nix
Normal file
42
pkgs/development/python-modules/google-cloud-iot/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpc_google_iam_v1
|
||||
, google-api-core
|
||||
, libcst
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-iot";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08spn5g0s386x21dgwb46na8aknbwq5d1sn8bh6kayk9fjfbxwla";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_list_device_registries"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.iot"
|
||||
"google.cloud.iot_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud IoT API API client library";
|
||||
homepage = "https://github.com/googleapis/python-iot";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,5 +1,13 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, grpc_google_iam_v1, google_api_core, libcst, mock, proto-plus, pytest-asyncio
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, grpc_google_iam_v1
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -11,19 +19,22 @@ buildPythonPackage rec {
|
||||
sha256 = "0f3k2ixp1zsgydpvkj75bs2mb805389snyw30hn41c38qq5ksdga";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
propagatedBuildInputs =
|
||||
[ grpc_google_iam_v1 google_api_core libcst proto-plus ];
|
||||
|
||||
# Disable tests that need credentials
|
||||
disabledTests = [ "test_list_global_key_rings" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.kms"
|
||||
"google.cloud.kms_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Key Management Service (KMS) API API client library";
|
||||
homepage = "https://github.com/googleapis/python-kms";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-language";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "123vqfrn7pyn3ia7cmhx8bgafd4gxxlmhf33s3vgspyjck6sprxb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.language"
|
||||
"google.cloud.language_v1"
|
||||
"google.cloud.language_v1beta2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Natural Language API client library";
|
||||
homepage = "https://github.com/googleapis/python-language";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
, flask
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, google-cloud-testutils
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, webapp2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-logging";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0s09vs4rnq4637j8zw7grv3f4j7njqprm744b1knzldj91rg0vmi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
|
||||
|
||||
checkInputs = [
|
||||
django
|
||||
flask
|
||||
google-cloud-testutils
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_write_log_entries"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# prevent google directory from shadowing google imports
|
||||
rm -r google
|
||||
# requires credentials
|
||||
rm tests/system/test_system.py tests/unit/test__gapic.py
|
||||
'';
|
||||
|
||||
pythonImortsCheck = [
|
||||
"google.cloud.logging"
|
||||
"google.cloud.logging_v2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stackdriver Logging API client library";
|
||||
homepage = "https://github.com/googleapis/python-logging";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-testutils
|
||||
, libcst
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-monitoring";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07r0y995fin6cbnqlhmd38fv3pfhhqyw04l7nr38sldrd82gmsqx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_list_monitored_resource_descriptors"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.monitoring"
|
||||
"google.cloud.monitoring_v3"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stackdriver Monitoring API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google_api_core }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google-api-core }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-org-policy";
|
||||
@ -9,9 +9,7 @@ buildPythonPackage rec {
|
||||
sha256 = "0ncgcnbvmgqph54yh2pjx2hh82gnkhsrw5yirp4wlf7jclh6j9xh";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
propagatedBuildInputs = [ google_api_core ];
|
||||
propagatedBuildInputs = [ google-api-core ];
|
||||
|
||||
# No tests in repo
|
||||
doCheck = false;
|
||||
@ -22,6 +20,6 @@ buildPythonPackage rec {
|
||||
description = "Protobufs for Google Cloud Organization Policy.";
|
||||
homepage = "https://github.com/googleapis/python-org-policy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ austinbutler ];
|
||||
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, google-api-core, libcst, mock, proto-plus, pytestCheckHook, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-os-config";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07zvagy9hwaccwvg1xad5nkalgkria0maa5yxiwqf1yk9f7gbyq1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.osconfig" ];
|
||||
|
||||
disabledTests = [
|
||||
"test_patch_deployment"
|
||||
"test_patch_job"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Cloud OS Config API client library";
|
||||
homepage = "https://github.com/googleapis/python-os-config";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-api-core
|
||||
, google-cloud-testutils
|
||||
, grpc_google_iam_v1
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-pubsub";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1rfdbkxbndi00wx9dx733ihp3hmcsk6k23pcjni0ki7m0c4acl5w";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
preCheck = ''
|
||||
# prevent google directory from shadowing google imports
|
||||
rm -r google
|
||||
# Tests in pubsub_v1 attempt to contact pubsub.googleapis.com
|
||||
rm -r tests/unit/pubsub_v1
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.pubsub" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Pub/Sub API client library";
|
||||
homepage = "https://pypi.org/project/google-cloud-pubsub";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-redis";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f67mr473vzv0qgjm4hycfnrjgiqrsv47vqrynwjy9yrca2130y7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.redis"
|
||||
"google.cloud.redis_v1"
|
||||
"google.cloud.redis_v1beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Memorystore for Redis API client library";
|
||||
homepage = "https://github.com/googleapis/python-redis";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-cloud-core
|
||||
, google-api-core
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-resource-manager";
|
||||
version = "0.30.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1la643vkf6fm2gapz57cm92xzvmhzgpzv3bb6112yz1cizrvnxrm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.resource_manager" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Resource Manager API client library";
|
||||
homepage = "https://github.com/googleapis/python-resource-manager";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,5 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, google_cloud_core, mock }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-runtimeconfig";
|
||||
@ -7,28 +13,27 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "57143ec3c5ed3e0bee590a98857eec06c68aa2eacbce477403226a0d2e85a8ad";
|
||||
sha256 = "1bd8hlp0ssi20ds4gknbxai8mih6xiz8b60ab7p0ngpdqp1kw52p";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
# api_url test broken, fix not yet released
|
||||
# https://github.com/googleapis/python-resource-manager/pull/31
|
||||
# Client tests require credentials
|
||||
disabledTests = [ "build_api_url_w_custom_endpoint" "client_options" ];
|
||||
disabledTests = [ "client_options" ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.runtimeconfig" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud RuntimeConfig API client library";
|
||||
homepage = "https://pypi.org/project/google-cloud-runtimeconfig";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, grpc_google_iam_v1
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-secret-manager";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c2w8ny3n84faq1mq86f16lzqgqbk1977q2f5qxn5a5ccj8v821g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
grpc_google_iam_v1
|
||||
libcst
|
||||
proto-plus
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.secretmanager"
|
||||
"google.cloud.secretmanager_v1"
|
||||
"google.cloud.secretmanager_v1beta1"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Secret Manager API API client library";
|
||||
homepage = "https://github.com/googleapis/python-secret-manager";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpc_google_iam_v1
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-securitycenter";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1lgz6qpsfv4b7p5ff4sdpjpaddxpbazdvlcrqr1i0c0qil2lkm2i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.securitycenter"
|
||||
"google.cloud.securitycenter_v1"
|
||||
"google.cloud.securitycenter_v1beta1"
|
||||
"google.cloud.securitycenter_v1p1beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Security Command Center API API client library";
|
||||
homepage = "https://github.com/googleapis/python-securitycenter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpc_google_iam_v1
|
||||
, google-cloud-core
|
||||
, google-cloud-testutils
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, sqlparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-spanner";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mkkx6l3cbwfwng12zpisbv6m919fkhdb48xk24ayc19193bi86n";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"proto-plus == 1.11.0"' '"proto-plus"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ google-cloud-core grpc_google_iam_v1 libcst proto-plus sqlparse ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
preCheck = ''
|
||||
# prevent google directory from shadowing google imports
|
||||
rm -r google
|
||||
# disable tests which require credentials
|
||||
rm tests/system/test_{system,system_dbapi}.py
|
||||
rm tests/unit/spanner_dbapi/test_{connect,connection,cursor}.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.spanner_admin_database_v1"
|
||||
"google.cloud.spanner_admin_instance_v1"
|
||||
"google.cloud.spanner_dbapi"
|
||||
"google.cloud.spanner_v1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Spanner API client library";
|
||||
homepage = "https://github.com/googleapis/python-spanner";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-speech";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ch85h5xrb15fcml5v0f30s0niw02k4v8gi7i8a40161yj882hm7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# requrire credentials
|
||||
"--ignore=tests/system/gapic/v1/test_system_speech_v1.py"
|
||||
"--ignore=tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.speech"
|
||||
"google.cloud.speech_v1"
|
||||
"google.cloud.speech_v1p1beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Speech API client library";
|
||||
homepage = "https://github.com/googleapis/python-speech";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-auth
|
||||
, google-cloud-iam
|
||||
, google-cloud-core
|
||||
, google-cloud-kms
|
||||
, google-cloud-testutils
|
||||
, google-resumable-media
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-storage";
|
||||
version = "1.35.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "17kal75wmyjpva7g04cb9yg7qbyrgwfn575z4gqijd4gz2r0sp2m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-auth
|
||||
google-cloud-core
|
||||
google-resumable-media
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
google-cloud-iam
|
||||
google-cloud-kms
|
||||
google-cloud-testutils
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# disable tests which require credentials and network access
|
||||
disabledTests = [
|
||||
"create"
|
||||
"download"
|
||||
"get"
|
||||
"post"
|
||||
"test_build_api_url"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--ignore=tests/unit/test_bucket.py"
|
||||
"--ignore=tests/system/test_system.py"
|
||||
];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.storage" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Cloud Storage API client library";
|
||||
homepage = "https://github.com/googleapis/python-storage";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, grpc_google_iam_v1
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-tasks";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jsf7y88lvln9r08pmx673ibmgw397qmir5drrcfvlmgqvszp7qx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_list_queues"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.tasks"
|
||||
"google.cloud.tasks_v2"
|
||||
"google.cloud.tasks_v2beta2"
|
||||
"google.cloud.tasks_v2beta3"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Tasks API API client library";
|
||||
homepage = "https://github.com/googleapis/python-tasks";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, google_auth, pytest, six }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, google-auth, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-testutils";
|
||||
@ -9,15 +9,17 @@ buildPythonPackage rec {
|
||||
sha256 = "1bn1pz00lxym3vkl6l45b3nydpmfdvmylwggh2lspldrxwx39a0k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google_auth six ];
|
||||
propagatedBuildInputs = [ google-auth six ];
|
||||
|
||||
# There are no tests
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "test_utils" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "System test utilities for google-cloud-python";
|
||||
homepage = "https://github.com/googleapis/python-test-utils";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-texttospeech";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "17igfwh34369gkvsbrm46j1ii61i6268wg2g2dl9c65nf9z3kgfb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
# Disable tests that require credentials
|
||||
"test_list_voices"
|
||||
"test_synthesize_speech"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.texttospeech"
|
||||
"google.cloud.texttospeech_v1"
|
||||
"google.cloud.texttospeech_v1beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Text-to-Speech API client library";
|
||||
homepage = "https://github.com/googleapis/python-texttospeech";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, google-cloud-testutils
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-trace";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1lvcm4w1l7hiqg64kdscch3f3bq19q9ii49xj4lljn2a4xffxl8v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# require credentials
|
||||
"test_batch_write_spans"
|
||||
"test_list_traces"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.trace"
|
||||
"google.cloud.trace_v1"
|
||||
"google.cloud.trace_v2"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Trace API client library";
|
||||
homepage = "https://github.com/googleapis/python-trace";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, google-cloud-testutils
|
||||
, grpcio
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-translate";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1s2gvlzfqd2gsrzaz7yl9q8s1k03dlsjahgg95s017vlcn21d0v1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
preCheck = ''
|
||||
# prevent shadowing imports
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.translate"
|
||||
"google.cloud.translate_v2"
|
||||
"google.cloud.translate_v3"
|
||||
"google.cloud.translate_v3beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Translation API client library";
|
||||
homepage = "https://github.com/googleapis/python-translate";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, google-api-core
|
||||
, google-cloud-testutils
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-videointelligence";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yhmizig41ymr2dz0i6ccrwszp0ivyykmq11vqxp82l9ncjima82";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core proto-plus ];
|
||||
|
||||
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
disabledTests = [
|
||||
# require credentials
|
||||
"test_annotate_video"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.videointelligence"
|
||||
"google.cloud.videointelligence_v1"
|
||||
"google.cloud.videointelligence_v1beta2"
|
||||
"google.cloud.videointelligence_v1p1beta1"
|
||||
"google.cloud.videointelligence_v1p2beta1"
|
||||
"google.cloud.videointelligence_v1p3beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Video Intelligence API client library";
|
||||
homepage = "https://github.com/googleapis/python-videointelligence";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-vision";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qbwhapmn5ia853c4nfnz1qiksngvr8j0xxjasrykwhxcsd7s1ka";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcst google-api-core proto-plus];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.vision"
|
||||
"google.cloud.vision_helpers"
|
||||
"google.cloud.vision_v1"
|
||||
"google.cloud.vision_v1p1beta1"
|
||||
"google.cloud.vision_v1p2beta1"
|
||||
"google.cloud.vision_v1p3beta1"
|
||||
"google.cloud.vision_v1p4beta1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Vision API API client library";
|
||||
homepage = "https://github.com/googleapis/python-vision";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, google-api-core
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-websecurityscanner";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14sky9bkl00n65ksig3f6psm31pkmkvlcprlk6s9if470j40zrhx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
||||
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.websecurityscanner_v1alpha"
|
||||
"google.cloud.websecurityscanner_v1beta"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Web Security Scanner API client library";
|
||||
homepage = "https://github.com/googleapis/python-websecurityscanner";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,31 +1,31 @@
|
||||
{ lib, buildPythonPackage, isPy3k, fetchFromGitHub, cffi, crc32c, pytestCheckHook }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, cffi, crc32c, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-crc32c";
|
||||
version = "1.0.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "googleapis";
|
||||
repo = "python-crc32c";
|
||||
rev = "v${version}";
|
||||
sha256 = "0n3ggsxmk1fhq0kz6p5rcj4gypfb05i26fcn7lsawakgl7fzxqyl";
|
||||
sha256 = "0vbidg9yrv9k8xvk8rl43lsf4cg3dci4a9k4srwwrchbxivz1gr6";
|
||||
};
|
||||
|
||||
buildInputs = [ crc32c ];
|
||||
buildInputs = [ crc32c ];
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
LDFLAGS = "-L${crc32c}/lib";
|
||||
CFLAGS = "-I${crc32c}/include";
|
||||
|
||||
checkInputs = [ pytestCheckHook crc32c ];
|
||||
|
||||
pythonImportsCheck = [ "google_crc32c" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/googleapis/python-crc32c";
|
||||
description = "Wrapper the google/crc32c hardware-based implementation of the CRC32C hashing algorithm";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ freezeboy ];
|
||||
maintainers = with maintainers; [ freezeboy SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, requests, pytest, pytestcov, mock }:
|
||||
{ buildPythonPackage, fetchPypi, lib, requests, pytestCheckHook, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-i18n-address";
|
||||
@ -11,12 +11,12 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
checkInputs = [ pytest pytestcov mock ];
|
||||
checkInputs = [ pytestCheckHook mock ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google's i18n address data packaged for Python";
|
||||
homepage = "https://pypi.org/project/google-i18n-address/";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, attrs
|
||||
, audio-metadata
|
||||
, importlib-metadata
|
||||
@ -10,7 +13,6 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "google-music-proto";
|
||||
version = "2.10.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -20,7 +22,7 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
sed -i -e "/audio-metadata/c\'audio-metadata'," -e "/marshmallow/c\'marshmallow'," setup.py
|
||||
substituteInPlace setup.py \
|
||||
--replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum>=2.0,<=3.0"
|
||||
--replace "'attrs>=18.2,<19.4'" "'attrs'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,30 +1,35 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, audio-metadata, multidict, wrapt
|
||||
, pytest
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, audio-metadata
|
||||
, multidict
|
||||
, poetry
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-music-utils";
|
||||
version = "2.1.0";
|
||||
version = "2.5.0";
|
||||
|
||||
# Pypi tarball doesn't contain tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "thebigmunch";
|
||||
repo = "google-music-utils";
|
||||
rev = version;
|
||||
sha256 = "0fn4zp0gf1wx2x06dbc840qcq21j4p3ajghxp7646w2n6n9gxhh7";
|
||||
sha256 = "0vwbrgakk23fypjspmscz4gllnb3dksv2njy4j4bm8vyr6fwbi5f";
|
||||
};
|
||||
format = "pyproject";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
audio-metadata multidict wrapt
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
pytest
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'multidict = "^4.0"' 'multidict = ">4.0"'
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [ audio-metadata multidict ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/thebigmunch/google-music-utils";
|
||||
|
@ -1,4 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, appdirs
|
||||
, audio-metadata
|
||||
, google-music-proto
|
||||
@ -14,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b79956cc0df86345c74436ae6213b700345403c91d51947288806b174322573b";
|
||||
sha256 = "0fsp491ifsw0i1r98l8xr41m8d00nw9n5bin8k3laqzq1p65d6dp";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -35,8 +37,6 @@ buildPythonPackage rec {
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/thebigmunch/google-music";
|
||||
description = "A Google Music API wrapper";
|
||||
|
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-auth
|
||||
, google-cloud-testutils
|
||||
, google-crc32c
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-resumable-media";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hwxdgsqh6933kp4jkv6hwwdcqs7bgjn9j08ga399njv3s9b367f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-auth google-crc32c requests ];
|
||||
|
||||
checkInputs = [ google-auth google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
|
||||
|
||||
preCheck = ''
|
||||
# prevent shadowing imports
|
||||
rm -r google
|
||||
# fixture 'authorized_transport' not found
|
||||
rm tests/system/requests/test_upload.py
|
||||
# requires network
|
||||
rm tests/system/requests/test_download.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google._async_resumable_media"
|
||||
"google.resumable_media"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for Google Media Downloads and Resumable Uploads";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchpatch, fetchPypi, pythonOlder
|
||||
, pytestCheckHook, cachetools, flask, freezegun, mock, oauth2client
|
||||
, pyasn1-modules, pytest, pytest-localserver, requests, responses, rsa
|
||||
, setuptools, six, urllib3 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-auth";
|
||||
version = "1.23.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5176db85f1e7e837a646cd9cede72c3c404ccf2e3373d9ee14b2db88febad440";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
|
||||
|
||||
checkInputs = [
|
||||
flask
|
||||
freezegun
|
||||
mock
|
||||
oauth2client
|
||||
pytestCheckHook
|
||||
pytest-localserver
|
||||
requests
|
||||
responses
|
||||
urllib3
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Auth Python Library";
|
||||
longDescription = ''
|
||||
This library simplifies using Google’s various server-to-server
|
||||
authentication mechanisms to access Google APIs.
|
||||
'';
|
||||
homepage = "https://github.com/googleapis/google-auth-library-python";
|
||||
changelog =
|
||||
"https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
|
||||
# Documentation: https://googleapis.dev/python/google-auth/latest/index.html
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, grpc_google_iam_v1
|
||||
, google_api_core, google-cloud-access-context-manager, google-cloud-org-policy
|
||||
, libcst, proto-plus, pytest, pytest-asyncio, pytestCheckHook, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-asset";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1cf1b8a102eea8cec65eb07bef51dc15c1136cfc8564ea7fc5a39465b8f20017";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
disabledTests = [ "asset_service_transport_auth_adc" ];
|
||||
propagatedBuildInputs = [
|
||||
grpc_google_iam_v1
|
||||
google_api_core
|
||||
google-cloud-access-context-manager
|
||||
google-cloud-org-policy
|
||||
libcst
|
||||
proto-plus
|
||||
];
|
||||
|
||||
# Remove tests intended to be run in VPC
|
||||
preCheck = ''
|
||||
rm -rf tests/system
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Client for Google Cloud Asset API";
|
||||
homepage = "https://github.com/googleapis/python-asset";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, libcst
|
||||
, google_api_core, google_cloud_storage, google_cloud_testutils, pandas
|
||||
, proto-plus, pytest-asyncio, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-automl";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "520dfe2ee04d28f3088c9c582fa2a534fc272647d5e2e59acc903c0152e61696";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [
|
||||
google_cloud_storage
|
||||
google_cloud_testutils
|
||||
mock
|
||||
pandas
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||
|
||||
# ignore tests which need credentials
|
||||
disabledTests = [ "test_prediction_client_client_info" ];
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
rm tests/system/gapic/v1beta1/test_system_tables_client_v1.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud AutoML API client library";
|
||||
homepage = "https://github.com/googleapis/python-automl";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, freezegun
|
||||
, google_api_core, google_cloud_core, google_cloud_testutils
|
||||
, google_resumable_media, grpcio, ipython, mock, pandas, proto-plus, pyarrow }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f99fd0c0c5bde999e056a1be666e5d5bbf392f62c9e730dfcbaf6e8408d44ef";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs =
|
||||
[ freezegun google_cloud_testutils ipython mock pytestCheckHook ];
|
||||
propagatedBuildInputs = [
|
||||
google_resumable_media
|
||||
google_api_core
|
||||
google_cloud_core
|
||||
pandas
|
||||
proto-plus
|
||||
pyarrow
|
||||
];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
# test_magics requires modifying sys.path
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
rm tests/unit/test_magics.py
|
||||
'';
|
||||
|
||||
# call_api_applying_custom_retry_on_timeout requires credentials
|
||||
# to_dataframe_timestamp_out_of_pyarrow_bounds has inconsistent results
|
||||
disabledTests = [
|
||||
"call_api_applying_custom_retry_on_timeout"
|
||||
"to_dataframe_timestamp_out_of_pyarrow_bounds"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google BigQuery API client library";
|
||||
homepage = "https://pypi.org/project/google-cloud-bigquery";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery-datatransfer";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0cca79f6ee312159ec3f3b7fea218c3dd51408d39c429ecbea037982e91cc827";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, google_api_core
|
||||
, grpc_google_iam_v1, libcst, mock, proto-plus, pytest, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-container";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0dcd8084dd55c0439ff065d3fb206e2e5c695d3a25effd774b74f8ce43afc911";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [ mock pytest pytest-asyncio ];
|
||||
propagatedBuildInputs =
|
||||
[ google_api_core grpc_google_iam_v1 libcst proto-plus ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Container Engine API client library";
|
||||
homepage = "https://github.com/googleapis/python-container";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
, libcst
|
||||
, proto-plus
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dataproc";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "81c44ac114c94df8f5b21245e5e7fc4eabce66b25fc432c3696b62b5de143b1f";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Dataproc API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, google_cloud_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-datastore";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ebf3b0bcb483e066dfe73679e019e2d7b8c1652e26984702cf5e3f020592f6a";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
checkPhase = ''
|
||||
rm -r google
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Datastore API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dlp";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "112c8a46979eebd60c3651037e62572fed413977ff2811901aa925c7b7ab9a5a";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ enum34 google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Data Loss Prevention (DLP) API API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, google_cloud_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dns";
|
||||
version = "0.32.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7264e58067b55535ee859e124bd3da29337698ef6bb293da667d0316ddbe8606";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
checkPhase = ''
|
||||
rm -r google
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud DNS API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, google_cloud_core
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-firestore";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ae1f58d9174a6fb2c9fd2758c6d4fd237fb4f0decc632b80c217bfbceda38eb6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
# tests were not included with release
|
||||
# See issue https://github.com/googleapis/google-cloud-python/issues/6380
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Firestore API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, grpc_google_iam_v1
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-iot";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8af2be9c74697a350d5cc8ead00ae6cb4e85943564f1d782e8060d0d5eb15723";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud IoT API API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
# maintainers = [ maintainers. ];
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-language";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "abe7abcd64d25ffdf6d063385869ef8f34a7de421d5676541cd6df63b3c37b88";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ enum34 google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Natural Language API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, django
|
||||
, flask, google_api_core, google_cloud_core, google_cloud_testutils, mock
|
||||
, webapp2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-logging";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c8e4869ec22aa7958ff937c1acbd34d7a2a8a446af9a09ce442f24128eee063c";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
checkInputs =
|
||||
[ django flask google_cloud_testutils mock pytestCheckHook webapp2 ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
# api_url test broken, fix not yet released
|
||||
# https://github.com/googleapis/python-logging/pull/66
|
||||
disabledTests =
|
||||
[ "test_build_api_url_w_custom_endpoint" "test_write_log_entries" ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
# remove system integration tests
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
rm tests/system/test_system.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stackdriver Logging API client library";
|
||||
homepage = "https://github.com/googleapis/python-logging";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, pandas
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-monitoring";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1debfa046ab9518d46b68712c03d86d0ddb11d1aad428aed62c6465752f2201f";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core pandas ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stackdriver Monitoring API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook
|
||||
, google_api_core, google_cloud_testutils, grpc_google_iam_v1, libcst, mock
|
||||
, proto-plus, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-pubsub";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bc50a60803f5c409a295ec0e31cdd4acc271611ce3f4963a072036bbfa5ccde5";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
|
||||
propagatedBuildInputs =
|
||||
[ grpc_google_iam_v1 google_api_core libcst proto-plus ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
# Tests in pubsub_v1 attempt to contact pubsub.googleapis.com
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
rm -r tests/unit/pubsub_v1
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.pubsub" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Pub/Sub API client library";
|
||||
homepage = "https://pypi.org/project/google-cloud-pubsub";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-redis";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c783118462d9272fb9f519ef43b6ce383e99ad631e922a1f06fbef7148aec7b8";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ enum34 google_api_core ];
|
||||
|
||||
# requires old version of google-api-core (override)
|
||||
preBuild = ''
|
||||
sed -i "s/'google-api-core\[grpc\] >= 0.1.0, < 0.2.0dev'/'google-api-core'/g" setup.py
|
||||
sed -i "s/google-api-core\[grpc\]<0.2.0dev,>=0.1.0/google-api-core/g" google_cloud_redis.egg-info/requires.txt
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Memorystore for Redis API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_cloud_core, google_api_core, mock, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-resource-manager";
|
||||
version = "0.30.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3577bbf38f2c7c2f42306b8dfdeffbb0eedf45aaec947fd513d51937f72046d1";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
checkInputs = [ mock pytestCheckHook ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
# api_url test broken, fix not yet released
|
||||
# https://github.com/googleapis/python-resource-manager/pull/31
|
||||
disabledTests =
|
||||
[ "api_url_no_extra_query_param" "api_url_w_custom_endpoint" ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Resource Manager API client library";
|
||||
homepage = "https://github.com/googleapis/python-resource-manager";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, grpc_google_iam_v1, google_api_core, libcst, proto-plus
|
||||
, pytest, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-secret-manager";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2f08b49164aca8623b2e4ee07352980b3ffca909ce205c03568e203bbc455c30";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_api_core
|
||||
grpc_google_iam_v1
|
||||
libcst
|
||||
proto-plus
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest
|
||||
];
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Secret Manager API: Stores, manages, and secures access to application secrets";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ siriobalmelli ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, grpc_google_iam_v1
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-securitycenter";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "45d47a4389f2f19958a9db8e5c2f169c9b9385e74338fef0a4e49160153df7f7";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Security Command Center API API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, grpc_google_iam_v1, grpcio-gcp, google_api_core, google_cloud_core
|
||||
, google_cloud_testutils, mock, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-spanner";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "edac9d86ea2d8e87c048423f610cd3e5dbb6f9db7f1f9353ff133014689e97c6";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
checkInputs = [ google_cloud_testutils mock pytestCheckHook ];
|
||||
propagatedBuildInputs =
|
||||
[ grpcio-gcp grpc_google_iam_v1 google_api_core google_cloud_core ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
# remove tests that require credentials
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
rm tests/system/test_system.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Spanner API client library";
|
||||
homepage = "https://pypi.org/project/google-cloud-spanner";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, google_api_core, pytest, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-speech";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a7428190f4c10440148a273eb4c91480470b34180eec422b7325acdc0b2c0832";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google_api_core ];
|
||||
checkInputs = [ pytest mock ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Speech API enables integration of Google speech recognition into applications.";
|
||||
homepage = "https://github.com/googleapis/google-cloud-python/tree/master/speech";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, google_auth, google-cloud-iam, google_cloud_core
|
||||
, google_cloud_kms, google_cloud_testutils, google_resumable_media, mock
|
||||
, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-storage";
|
||||
version = "1.33.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "900ba027bdee6b97f21cd22d1db3d1a6233ede5de2db4754db860438bdad72d2";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_api_core
|
||||
google_auth
|
||||
google_cloud_core
|
||||
google_resumable_media
|
||||
requests
|
||||
];
|
||||
checkInputs = [
|
||||
google-cloud-iam
|
||||
google_cloud_kms
|
||||
google_cloud_testutils
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# disable tests which require credentials
|
||||
disabledTests = [ "create" "get" "post" "test_build_api_url" ];
|
||||
|
||||
# prevent google directory from shadowing google imports
|
||||
# remove tests which require credentials
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
rm tests/system/test_system.py tests/unit/test_client.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Cloud Storage API client library";
|
||||
homepage = "https://github.com/googleapis/python-storage";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, grpc_google_iam_v1
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-tasks";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a9dd004057fc441eee8c18bb2dc3bb20ba7b85f353d66894c61e42aeb8764e76";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Tasks API API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, libcst, mock, proto-plus, pytest-asyncio, }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-texttospeech";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cbbd397e72b6189668134f3c8e8c303198188334a4e6a5f77cc90c3220772f9e";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||
|
||||
# Disable tests that require credentials
|
||||
disabledTests = ["test_synthesize_speech" "test_list_voices"];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Text-to-Speech API client library";
|
||||
homepage = "https://github.com/googleapis/python-texttospeech";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, google_cloud_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-trace";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bd1ee5c274a584929913d9118134e01afe106644cb749ccc3111e1a38a96cd3";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stackdriver Trace API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, google_cloud_core, google_cloud_testutils, grpcio, libcst
|
||||
, mock, proto-plus, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-translate";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6183168465749f007449ef4125356d03cca0114ed49faf7ed64f34ec3edd4fe8";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# google_cloud_core[grpc] -> grpcio
|
||||
propagatedBuildInputs =
|
||||
[ google_api_core google_cloud_core grpcio libcst proto-plus ];
|
||||
|
||||
checkInputs = [ google_cloud_testutils mock pytest-asyncio pytestCheckHook ];
|
||||
|
||||
# test_http.py broken, fix not yet released
|
||||
# https://github.com/googleapis/python-translate/pull/69
|
||||
disabledTests = [
|
||||
"test_build_api_url_w_extra_query_params"
|
||||
"test_build_api_url_no_extra_query_params"
|
||||
"test_build_api_url_w_custom_endpoint"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Translation API client library";
|
||||
homepage = "https://github.com/googleapis/python-translate";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-videointelligence";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02a91a25b3890a743bde21e03abddf11dcaf7966cc44f09bc8d507f2e28f15fa";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Video Intelligence API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, enum34
|
||||
, google_api_core
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-vision";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6a067d9a661df2e9b356b2772051decfea1971f8d659c246412a165baf827c61";
|
||||
};
|
||||
|
||||
checkInputs = [ mock ];
|
||||
propagatedBuildInputs = [ enum34 google_api_core ];
|
||||
|
||||
# pytest seems to pick up some file which overrides PYTHONPATH
|
||||
checkPhase = ''
|
||||
cd tests/unit
|
||||
python -m unittest discover
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cloud Vision API API client library";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, google_api_core, libcst, mock, proto-plus, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-websecurityscanner";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1de60f880487b898b499345f46f7acf38651f5356ebca8673116003a57f25393";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
||||
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Cloud Web Security Scanner API client library";
|
||||
homepage = "https://github.com/googleapis/python-websecurityscanner";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, six
|
||||
, requests
|
||||
, setuptools
|
||||
, pytest
|
||||
, mock
|
||||
, crcmod
|
||||
, google-crc32c
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-resumable-media";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dcdab13e95bc534d268f87d5293e482cce5bc86dfce6ca0f2e2e89cbb73ef38c";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ requests setuptools six ]
|
||||
++ lib.optional isPy3k google-crc32c
|
||||
++ lib.optional (!isPy3k) crcmod;
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests/unit
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for Google Media Downloads and Resumable Uploads";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -1,5 +1,10 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, protobuf, pytest, setuptools }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, grpc
|
||||
, protobuf
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "googleapis-common-protos";
|
||||
@ -7,18 +12,26 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "560716c807117394da12cecb0a54da5a451b5cf9866f1d37e9a5e2329a665351";
|
||||
sha256 = "0lakcsd35qm5x4visvw6z5f1niasv9a0mjyf2bd98wqi0z41c1sn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf setuptools ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ grpc protobuf ];
|
||||
|
||||
doCheck = false; # there are no tests
|
||||
# does not contain tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.api"
|
||||
"google.logging"
|
||||
"google.longrunning"
|
||||
"google.rpc"
|
||||
"google.type"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Common protobufs used in Google APIs";
|
||||
homepage = "https://github.com/googleapis/googleapis";
|
||||
homepage = "https://github.com/googleapis/python-api-common-protos";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, responses, pytestCheckHook, pytest, pytestcov, isPy27
|
||||
, responses
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, requests, pytest, coveralls }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "googletrans";
|
||||
@ -11,17 +11,10 @@ buildPythonPackage rec {
|
||||
sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [ pytest coveralls ];
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# majority of tests just try to ping Google's Translate API endpoint
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "googletrans" ];
|
||||
|
||||
|
@ -1,6 +1,18 @@
|
||||
{ stdenv, buildPythonPackage, darwin, grpc
|
||||
, six, protobuf, enum34, futures, isPy27, pkgconfig
|
||||
, cython, c-ares, openssl, zlib }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, darwin
|
||||
, grpc
|
||||
, six
|
||||
, protobuf
|
||||
, enum34
|
||||
, futures
|
||||
, isPy27
|
||||
, pkg-config
|
||||
, cython
|
||||
, c-ares
|
||||
, openssl
|
||||
, zlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit (grpc) src version;
|
||||
@ -8,12 +20,12 @@ buildPythonPackage rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ cython pkgconfig ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
||||
nativeBuildInputs = [ cython pkg-config ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
||||
|
||||
buildInputs = [ c-ares openssl zlib ];
|
||||
propagatedBuildInputs = [ six protobuf ]
|
||||
++ stdenv.lib.optionals (isPy27) [ enum34 futures ];
|
||||
++ stdenv.lib.optionals (isPy27) [ enum34 futures ];
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin "unset AR";
|
||||
|
||||
@ -22,10 +34,15 @@ buildPythonPackage rec {
|
||||
GRPC_PYTHON_BUILD_SYSTEM_ZLIB = 1;
|
||||
GRPC_PYTHON_BUILD_SYSTEM_CARES = 1;
|
||||
|
||||
# does not contain any tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "grpc" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "HTTP/2-based RPC framework";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://grpc.io/grpc/python/";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, google_auth
|
||||
, google-auth
|
||||
, google-auth-oauthlib
|
||||
}:
|
||||
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
sha256 = "e04f1a6267b3929fc1600424c5ec83906d439672cafdd61a9d5b916a139f841c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests google_auth google-auth-oauthlib ];
|
||||
propagatedBuildInputs = [ requests google-auth google-auth-oauthlib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Spreadsheets client library";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast,
|
||||
ipaddress, websocket_client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google_auth, adal,
|
||||
ipaddress, websocket_client, urllib3, pyyaml, requests_oauthlib, python-dateutil, google-auth, adal,
|
||||
isort, pytest, coverage, mock, sphinx, autopep8, pep8, codecov, recommonmark, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ isort coverage pytest mock sphinx autopep8 pep8 codecov recommonmark nose ];
|
||||
propagatedBuildInputs = [ ipaddress websocket_client urllib3 pyyaml requests_oauthlib python-dateutil google_auth adal ];
|
||||
propagatedBuildInputs = [ ipaddress websocket_client urllib3 pyyaml requests_oauthlib python-dateutil google-auth adal ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Kubernetes python client";
|
||||
|
@ -8,7 +8,7 @@
|
||||
, shapely
|
||||
, ndjson
|
||||
, backoff
|
||||
, google_api_core
|
||||
, google-api-core
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2 requests pillow rasterio shapely ndjson backoff
|
||||
google_api_core
|
||||
google-api-core
|
||||
];
|
||||
|
||||
# Test cases are not running on pypi or GitHub
|
||||
|
@ -27,6 +27,10 @@ buildPythonPackage rec {
|
||||
smbus-cffi
|
||||
];
|
||||
|
||||
# does not contain tests
|
||||
disableCheck = false;
|
||||
pythonImportsCheck = [ "liquidctl" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-platform CLI and Python drivers for AIO liquid coolers and other devices";
|
||||
homepage = "https://github.com/liquidctl/liquidctl";
|
||||
|
@ -1,8 +1,10 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, cffi
|
||||
, lmdb
|
||||
, ludios_wpull
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,10 +16,13 @@ buildPythonPackage rec {
|
||||
sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest cffi ];
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
buildInputs = [ lmdb ];
|
||||
|
||||
propogatedBuildInputs = [ ludios_wpull ];
|
||||
|
||||
checkInputs = [ cffi pytestCheckHook ];
|
||||
|
||||
LMDB_FORCE_SYSTEM=1;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Universal Python binding for the LMDB 'Lightning' Database";
|
||||
@ -25,5 +30,4 @@ buildPythonPackage rec {
|
||||
license = licenses.openldap;
|
||||
maintainers = with maintainers; [ copumpkin ivan ];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -12,9 +12,8 @@ buildPythonPackage rec {
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit pname version format;
|
||||
sha256 = "1n7l3drdh3rm3320v98c9hhh37ljk9l861hyw18psca7jdd717n5";
|
||||
format = "wheel";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mozlog moznetwork mozprocess ];
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, cython
|
||||
, numpy
|
||||
, scipy
|
||||
@ -21,11 +21,11 @@ buildPythonPackage rec {
|
||||
sha256 = "0hb3x5196z2zaawb8s7lhja0vd3n983ncaynqfl9qg315x9ax7i6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
buildInputs = [ cython ];
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
|
||||
|
||||
checkPhase = "pytest nitime/tests";
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://nipy.org/nitime";
|
||||
|
@ -15,8 +15,7 @@ buildPythonPackage rec {
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
format = "wheel";
|
||||
inherit pname version format;
|
||||
python = "py3";
|
||||
sha256 = "1b27d7d63e3191e5d7238631fc828e4493590e94dcea034e386c079d853cce14";
|
||||
};
|
||||
|
@ -3,28 +3,31 @@
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, protobuf
|
||||
, google_api_core
|
||||
, googleapis_common_protos
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "proto-plus";
|
||||
version = "1.11.0";
|
||||
version = "1.13.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "416a0f13987789333cd8760a0ee998f8eccd6d7165ee9f283d64ca2de3e8774d";
|
||||
sha256 = "1i5jjnwpd288378h37zads08h695iwmhxm0sxbr3ln6aax97rdb1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf ];
|
||||
|
||||
checkInputs = [ pytestCheckHook google_api_core ];
|
||||
checkInputs = [ pytestCheckHook pytz googleapis_common_protos ];
|
||||
|
||||
pythonImportsCheck = [ "proto" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Beautiful, idiomatic protocol buffers in Python";
|
||||
homepage = "https://github.com/googleapis/proto-plus-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ruuda ];
|
||||
maintainers = with maintainers; [ ruuda SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user