git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.google-cloud-monitoring: disable on older Python releases
commita7a609a42a312198cf6f30e23bf5e52b1efb2d97 authorFabian Affolter <mail@fabian-affolter.ch> dateTue 1 Mar 2022, 08:36 (5 years ago) parent857383c
1 file changed+17−3
pkgs/development/python-modules/google-cloud-monitoring/default.nix+17−3
pkgs/development/python-modules/google-cloud-monitoring/default.nix+17−3
@@ -9,20 +9,34 @@
99, pytestCheckHook
1010, pytest-asyncio
1111, mock
12+, pythonOlder
1213}:
1314
1415buildPythonPackage rec {
1516 pname = "google-cloud-monitoring";
1617 version = "2.9.0";
18+ format = "setuptools";
19+
20+ disabled = pythonOlder "3.6";
1721
1822 src = fetchPypi {
1923 inherit pname version;
20− sha256 = "sha256-6Xu07QBrVGQOwxi65KZaYFKF3DJ/1uc+zC+NUKqJeWM=";
24+ hash = "sha256-6Xu07QBrVGQOwxi65KZaYFKF3DJ/1uc+zC+NUKqJeWM=";
2125 };
2226
23− propagatedBuildInputs = [ libcst google-api-core proto-plus ];
27+ propagatedBuildInputs = [
28+ libcst
29+ google-api-core
30+ proto-plus
31+ ];
2432
25− checkInputs = [ google-cloud-testutils mock pandas pytestCheckHook pytest-asyncio ];
33+ checkInputs = [
34+ google-cloud-testutils
35+ mock
36+ pandas
37+ pytestCheckHook
38+ pytest-asyncio
39+ ];
2640
2741 disabledTests = [
2842 # requires credentials