summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-03-24 08:11:48 +0100
committerGitHub <noreply@github.com>2022-03-24 08:11:48 +0100
commitce017055bc2d15571c428482fcfbc2829ea0db06 (patch)
treedc849276ff22a86c3e694862a67ec21daa0b6f43 /pkgs/development/python-modules
parentda611930ce6df532e434cc18bd5509f5ec5266eb (diff)
python3Packages.google-cloud-container: disable on older Python releaes
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/google-cloud-container/default.nix19
1 files changed, 16 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/google-cloud-container/default.nix b/pkgs/development/python-modules/google-cloud-container/default.nix
index aee4ec8d8947..ae3c6a8be74a 100644
--- a/pkgs/development/python-modules/google-cloud-container/default.nix
+++ b/pkgs/development/python-modules/google-cloud-container/default.nix
@@ -8,20 +8,33 @@
, proto-plus
, pytestCheckHook
, pytest-asyncio
+, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.10.7";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-I3oYldj915GBCX5VLEZRqGS7jMHWasQGVIvj50EUTK4=";
+ hash = "sha256-I3oYldj915GBCX5VLEZRqGS7jMHWasQGVIvj50EUTK4=";
};
- 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 ];
+ checkInputs = [
+ mock
+ pytestCheckHook
+ pytest-asyncio
+ ];
disabledTests = [
# requires credentials