python3Packages.google-cloud-pubsub: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent af8eb674fe
commit 149c8c9929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      pkgs/development/python-modules/google-cloud-pubsub/default.nix

@ -10,6 +10,7 @@
, mock
, proto-plus
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
@ -17,9 +18,11 @@ buildPythonPackage rec {
version = "2.12.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-5RoIpyVm/y2+6pN4mJPWHbVUwxH6yWI/vIuCVNJU2aw=";
hash = "sha256-5RoIpyVm/y2+6pN4mJPWHbVUwxH6yWI/vIuCVNJU2aw=";
};
propagatedBuildInputs = [
@ -47,7 +50,9 @@ buildPythonPackage rec {
"tests/unit/pubsub_v1"
];
pythonImportsCheck = [ "google.cloud.pubsub" ];
pythonImportsCheck = [
"google.cloud.pubsub"
];
meta = with lib; {
description = "Google Cloud Pub/Sub API client library";

Loading…
Cancel
Save