pythonPackages:google*: Noramlize names by replacing _ with -

This commit is contained in:
Sandro Jäckel
2021-01-06 23:59:50 +01:00
parent 692345a570
commit ac391fdc0b
57 changed files with 209 additions and 209 deletions
@@ -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,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, google_auth
, google-auth
, googleapis_common_protos
, grpcio
, protobuf
@@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
googleapis_common_protos
google_auth
google-auth
grpcio
protobuf
pytz
@@ -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
];
@@ -3,7 +3,7 @@
, buildPythonPackage
, fetchPypi
, flask
, google_auth
, google-auth
, httplib2
, mock
, pytestCheckHook
@@ -20,7 +20,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google_auth
google-auth
httplib2
];
@@ -4,7 +4,7 @@
, click
, mock
, pytestCheckHook
, google_auth
, google-auth
, requests_oauthlib
}:
@@ -18,7 +18,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google_auth
google-auth
requests_oauthlib
];
@@ -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,7 +9,7 @@ buildPythonPackage rec {
sha256 = "1qy7wv1xn7g3x5z0vvv0pwmxhin4hw2m9fs9iklnghy00vg37v0b";
};
propagatedBuildInputs = [ google_api_core ];
propagatedBuildInputs = [ google-api-core ];
# No tests in repo
doCheck = false;
@@ -2,11 +2,11 @@
, 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
, google-api-core
, google-cloud-access-context-manager
, google-cloud-org-policy
, google-cloud-os-config
, google-cloud-testutils
, libcst
, proto-plus
, pytest
@@ -26,15 +26,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [
grpc_google_iam_v1
google_api_core
google_cloud_access_context_manager
google_cloud_org_policy
google_cloud_os_config
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 ];
checkInputs = [ google-cloud-testutils mock pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [
"google.cloud.asset"
@@ -3,9 +3,9 @@
, fetchPypi
, pytestCheckHook
, libcst
, google_api_core
, google_cloud_storage
, google_cloud_testutils
, google-api-core
, google-cloud-storage
, google-cloud-testutils
, pandas
, proto-plus
, pytest-asyncio
@@ -21,11 +21,11 @@ buildPythonPackage rec {
sha256 = "520dfe2ee04d28f3088c9c582fa2a534fc272647d5e2e59acc903c0152e61696";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [
google_cloud_storage
google_cloud_testutils
google-cloud-storage
google-cloud-testutils
mock
pandas
pytest-asyncio
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, libcst
, proto-plus
, pytestCheckHook
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "0hmsqvs2srmqcwmli48vd5vw829zax3pwj63fsxig6sdhjlf6j7j";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [
@@ -3,9 +3,9 @@
, fetchPypi
, pytestCheckHook
, freezegun
, google_cloud_core
, google_cloud_testutils
, google_resumable_media
, google-cloud-core
, google-cloud-testutils
, google-resumable-media
, grpcio
, ipython
, mock
@@ -24,15 +24,15 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google_resumable_media
google_cloud_core
google-resumable-media
google-cloud-core
proto-plus
pyarrow
];
checkInputs = [
freezegun
google_cloud_testutils
google-cloud-testutils
ipython
mock
pandas
@@ -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
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, grpc_google_iam_v1
, libcst
, mock
@@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "04f9mx1wxy3l9dvzvvr579fnjp1fdqhgplv5y2gl7h2mvn281k8d";
};
propagatedBuildInputs = [ google_api_core grpc_google_iam_v1 libcst proto-plus ];
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -4,7 +4,7 @@
, pythonOlder
, pytestCheckHook
, python
, google_api_core
, google-api-core
, grpcio
, mock
}:
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "01liq4nrd2g3ingg8v0ly4c86db8agnr9h1fiz219c7fz0as0xqj";
};
propagatedBuildInputs = [ google_api_core ];
propagatedBuildInputs = [ google-api-core ];
checkInputs = [ mock pytestCheckHook ];
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, mock
, libcst
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "07rv2kgbaqkbd71k5i2zn9kcxasfzkkyai8jnbszhkf92k0lmi41";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -1,14 +1,14 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_core
, google-api-core
, google-cloud-core
, libcst
, proto-plus
, mock
, pytestCheckHook
, pytest-asyncio
, google_cloud_testutils
, google-cloud-testutils
}:
buildPythonPackage rec {
@@ -20,9 +20,9 @@ buildPythonPackage rec {
sha256 = "1yyk9ix1jms5q4kk76cfxzy42wzzyl5qladdswjy5l0pg6iypr8i";
};
propagatedBuildInputs = [ google_api_core google_cloud_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core google-cloud-core libcst proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
preCheck = ''
# directory shadows imports
@@ -1,8 +1,8 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_testutils
, google-api-core
, google-cloud-testutils
, libcst
, proto-plus
, pytestCheckHook
@@ -19,9 +19,9 @@ buildPythonPackage rec {
sha256 = "09rnzpdlycr1wv8agcfx05v1prn35ylphsbr07486zqdkh5wjk8p";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [
# requires credentials
@@ -1,8 +1,8 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_core
, google-api-core
, google-cloud-core
, pytestCheckHook
, mock
}:
@@ -16,7 +16,7 @@ buildPythonPackage rec {
sha256 = "01l6pvfic0vxcvd97ckbxyc7ccr9vb9ln4lyhpp3amdmcy0far3j";
};
propagatedBuildInputs = [ google_api_core google_cloud_core ];
propagatedBuildInputs = [ google-api-core google-cloud-core ];
checkInputs = [ mock pytestCheckHook ];
@@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_cloud_logging
, google_cloud_testutils
, google-cloud-logging
, google-cloud-testutils
, libcst
, mock
, proto-plus
@@ -19,9 +19,9 @@ buildPythonPackage rec {
sha256 = "2fd6fe25343f7017c22e2733a0358c64b3171edc1669d0c8a1e1f07f86a048c4";
};
propagatedBuildInputs = [ google_cloud_logging libcst proto-plus ];
propagatedBuildInputs = [ google-cloud-logging libcst proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [
# require credentials
@@ -2,9 +2,9 @@
, buildPythonPackage
, fetchPypi
, aiounittest
, google_api_core
, google_cloud_testutils
, google_cloud_core
, google-api-core
, google-cloud-testutils
, google-cloud-core
, mock
, proto-plus
, pytestCheckHook
@@ -21,14 +21,14 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google_api_core
google_cloud_core
google-api-core
google-cloud-core
proto-plus
];
checkInputs = [
aiounittest
google_cloud_testutils
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
@@ -3,7 +3,7 @@
, fetchPypi
, pytestCheckHook
, pythonOlder
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "1zxsx5avs8njiyw32zvsx2yblmmiwxy771x334hbgmy0aqms4lak";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, google_api_core
, google-api-core
, libcst
, proto-plus
, pytestCheckHook
@@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "08spn5g0s386x21dgwb46na8aknbwq5d1sn8bh6kayk9fjfbxwla";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core libcst proto-plus ];
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -3,7 +3,7 @@
, fetchPypi
, pytestCheckHook
, grpc_google_iam_v1
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "0f3k2ixp1zsgydpvkj75bs2mb805389snyw30hn41c38qq5ksdga";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core libcst proto-plus ];
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "123vqfrn7pyn3ia7cmhx8bgafd4gxxlmhf33s3vgspyjck6sprxb";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -3,9 +3,9 @@
, fetchPypi
, django
, flask
, google_api_core
, google_cloud_core
, google_cloud_testutils
, google-api-core
, google-cloud-core
, google-cloud-testutils
, mock
, proto-plus
, pytestCheckHook
@@ -22,12 +22,12 @@ buildPythonPackage rec {
sha256 = "0s09vs4rnq4637j8zw7grv3f4j7njqprm744b1knzldj91rg0vmi";
};
propagatedBuildInputs = [ google_api_core google_cloud_core proto-plus ];
propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
checkInputs = [
django
flask
google_cloud_testutils
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
@@ -1,8 +1,8 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_testutils
, google-api-core
, google-cloud-testutils
, libcst
, proto-plus
, pytestCheckHook
@@ -19,9 +19,9 @@ buildPythonPackage rec {
sha256 = "07r0y995fin6cbnqlhmd38fv3pfhhqyw04l7nr38sldrd82gmsqx";
};
propagatedBuildInputs = [ libcst google_api_core proto-plus ];
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [
# requires credentials
@@ -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,7 +9,7 @@ buildPythonPackage rec {
sha256 = "0ncgcnbvmgqph54yh2pjx2hh82gnkhsrw5yirp4wlf7jclh6j9xh";
};
propagatedBuildInputs = [ google_api_core ];
propagatedBuildInputs = [ google-api-core ];
# No tests in repo
doCheck = false;
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, google_api_core, libcst, mock, proto-plus, pytestCheckHook, pytest-asyncio }:
{ lib, buildPythonPackage, fetchPypi, google-api-core, libcst, mock, proto-plus, pytestCheckHook, pytest-asyncio }:
buildPythonPackage rec {
pname = "google-cloud-os-config";
@@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "07zvagy9hwaccwvg1xad5nkalgkria0maa5yxiwqf1yk9f7gbyq1";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_api_core
, google_cloud_testutils
, google-api-core
, google-cloud-testutils
, grpc_google_iam_v1
, libcst
, mock
@@ -20,9 +20,9 @@ buildPythonPackage rec {
sha256 = "1rfdbkxbndi00wx9dx733ihp3hmcsk6k23pcjni0ki7m0c4acl5w";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core libcst proto-plus ];
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
preCheck = ''
# prevent google directory from shadowing google imports
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "1f67mr473vzv0qgjm4hycfnrjgiqrsv47vqrynwjy9yrca2130y7";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_cloud_core
, google_api_core
, google-cloud-core
, google-api-core
, mock
}:
@@ -16,7 +16,7 @@ buildPythonPackage rec {
sha256 = "1la643vkf6fm2gapz57cm92xzvmhzgpzv3bb6112yz1cizrvnxrm";
};
propagatedBuildInputs = [ google_api_core google_cloud_core ];
propagatedBuildInputs = [ google-api-core google-cloud-core ];
checkInputs = [ mock pytestCheckHook ];
@@ -1,8 +1,8 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_core
, google-api-core
, google-cloud-core
, mock
, pytestCheckHook
}:
@@ -16,7 +16,7 @@ buildPythonPackage rec {
sha256 = "1bd8hlp0ssi20ds4gknbxai8mih6xiz8b60ab7p0ngpdqp1kw52p";
};
propagatedBuildInputs = [ google_api_core google_cloud_core ];
propagatedBuildInputs = [ google-api-core google-cloud-core ];
checkInputs = [ mock pytestCheckHook ];
@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, grpc_google_iam_v1
, libcst
, mock
@@ -20,7 +20,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google_api_core
google-api-core
grpc_google_iam_v1
libcst
proto-plus
@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "1lgz6qpsfv4b7p5ff4sdpjpaddxpbazdvlcrqr1i0c0qil2lkm2i";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core libcst proto-plus ];
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, google_cloud_core
, google_cloud_testutils
, google-cloud-core
, google-cloud-testutils
, libcst
, mock
, proto-plus
@@ -26,9 +26,9 @@ buildPythonPackage rec {
--replace '"proto-plus == 1.11.0"' '"proto-plus"'
'';
propagatedBuildInputs = [ google_cloud_core grpc_google_iam_v1 libcst proto-plus sqlparse ];
propagatedBuildInputs = [ google-cloud-core grpc_google_iam_v1 libcst proto-plus sqlparse ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
preCheck = ''
# prevent google directory from shadowing google imports
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "0ch85h5xrb15fcml5v0f30s0niw02k4v8gi7i8a40161yj882hm7";
};
propagatedBuildInputs = [ libcst google_api_core proto-plus ];
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -2,12 +2,12 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_auth
, google_cloud_iam
, google_cloud_core
, google_cloud_kms
, google_cloud_testutils
, google_resumable_media
, google-auth
, google-cloud-iam
, google-cloud-core
, google-cloud-kms
, google-cloud-testutils
, google-resumable-media
, mock
}:
@@ -21,15 +21,15 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google_auth
google_cloud_core
google_resumable_media
google-auth
google-cloud-core
google-resumable-media
];
checkInputs = [
google_cloud_iam
google_cloud_kms
google_cloud_testutils
google-cloud-iam
google-cloud-kms
google-cloud-testutils
mock
pytestCheckHook
];
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, grpc_google_iam_v1
, libcst
, mock
@@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "1jsf7y88lvln9r08pmx673ibmgw397qmir5drrcfvlmgqvszp7qx";
};
propagatedBuildInputs = [ google_api_core grpc_google_iam_v1 libcst proto-plus ];
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, google_auth, six }:
{ stdenv, buildPythonPackage, fetchPypi, google-auth, six }:
buildPythonPackage rec {
pname = "google-cloud-testutils";
@@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "1bn1pz00lxym3vkl6l45b3nydpmfdvmylwggh2lspldrxwx39a0k";
};
propagatedBuildInputs = [ google_auth six ];
propagatedBuildInputs = [ google-auth six ];
# does not contain tests
doCheck = false;
@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "17igfwh34369gkvsbrm46j1ii61i6268wg2g2dl9c65nf9z3kgfb";
};
propagatedBuildInputs = [ libcst google_api_core proto-plus ];
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
@@ -1,9 +1,9 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google_cloud_core
, google_cloud_testutils
, google-api-core
, google-cloud-core
, google-cloud-testutils
, mock
, proto-plus
, pytestCheckHook
@@ -19,9 +19,9 @@ buildPythonPackage rec {
sha256 = "1lvcm4w1l7hiqg64kdscch3f3bq19q9ii49xj4lljn2a4xffxl8v";
};
propagatedBuildInputs = [ google_api_core google_cloud_core proto-plus ];
propagatedBuildInputs = [ google-api-core google-cloud-core proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [
# require credentials
@@ -2,9 +2,9 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_api_core
, google_cloud_core
, google_cloud_testutils
, google-api-core
, google-cloud-core
, google-cloud-testutils
, grpcio
, libcst
, mock
@@ -21,9 +21,9 @@ buildPythonPackage rec {
sha256 = "1s2gvlzfqd2gsrzaz7yl9q8s1k03dlsjahgg95s017vlcn21d0v1";
};
propagatedBuildInputs = [ google_api_core google_cloud_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core google-cloud-core libcst proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
preCheck = ''
# prevent shadowing imports
@@ -2,8 +2,8 @@
, buildPythonPackage
, fetchPypi
, mock
, google_api_core
, google_cloud_testutils
, google-api-core
, google-cloud-testutils
, proto-plus
, pytestCheckHook
, pytest-asyncio
@@ -18,9 +18,9 @@ buildPythonPackage rec {
sha256 = "1yhmizig41ymr2dz0i6ccrwszp0ivyykmq11vqxp82l9ncjima82";
};
propagatedBuildInputs = [ google_api_core proto-plus ];
propagatedBuildInputs = [ google-api-core proto-plus ];
checkInputs = [ google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [
# require credentials
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "0qbwhapmn5ia853c4nfnz1qiksngvr8j0xxjasrykwhxcsd7s1ka";
};
propagatedBuildInputs = [ libcst google_api_core proto-plus];
propagatedBuildInputs = [ libcst google-api-core proto-plus];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google_api_core
, google-api-core
, libcst
, mock
, proto-plus
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "14sky9bkl00n65ksig3f6psm31pkmkvlcprlk6s9if470j40zrhx";
};
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
@@ -1,9 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, google_auth
, google_cloud_testutils
, google_crc32c
, google-auth
, google-cloud-testutils
, google-crc32c
, mock
, pytestCheckHook
, pytest-asyncio
@@ -19,9 +19,9 @@ buildPythonPackage rec {
sha256 = "0hwxdgsqh6933kp4jkv6hwwdcqs7bgjn9j08ga399njv3s9b367f";
};
propagatedBuildInputs = [ google_auth google_crc32c requests ];
propagatedBuildInputs = [ google-auth google-crc32c requests ];
checkInputs = [ google_auth google_cloud_testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [ google-auth google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
preCheck = ''
# prevent shadowing imports
@@ -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
@@ -5,7 +5,7 @@
, buildPythonPackage
, isPy37
, protobuf
, google_apputils
, google-apputils
, six
, pyext
, libcxx
@@ -29,9 +29,9 @@ buildPythonPackage {
outputs = [ "out" "dev" ];
propagatedBuildInputs = [ six ] ++ optionals isPy27 [ google_apputils ];
propagatedBuildInputs = [ six ] ++ optionals isPy27 [ google-apputils ];
propagatedNativeBuildInputs = [ buildPackages.protobuf ]; # For protoc.
nativeBuildInputs = [ pyext ] ++ optionals isPy27 [ google_apputils ];
nativeBuildInputs = [ pyext ] ++ optionals isPy27 [ google-apputils ];
buildInputs = [ protobuf ];
patches = optional (isPy37 && (versionOlder protobuf.version "3.6.1.2"))