python311Packages.pygnmi: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2023-11-11 10:32:57 +01:00 committed by GitHub
parent 5d94872a44
commit 93900ac8ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
, grpcio , grpcio
, protobuf , protobuf
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,6 +14,8 @@ buildPythonPackage rec {
version = "0.8.13"; version = "0.8.13";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "akarneliuk"; owner = "akarneliuk";
repo = "pygnmi"; repo = "pygnmi";