Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, cryptography, dictdiffer, grpcio, protobuf, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pygnmi"; version = "0.8.13"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "akarneliuk"; repo = "pygnmi"; rev = "refs/tags/v${version}"; sha256 = "sha256-NkByimHk1DoBjMMD7ywplo38VxBpp1pnClYUzhtKwY4="; };
propagatedBuildInputs = [ cryptography dictdiffer grpcio protobuf ];
# almost all tests fail with: # TypeError: expected string or bytes-like object doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pygnmi" ];
meta = with lib; { description = "Pure Python gNMI client to manage network functions and collect telemetry"; homepage = "https://github.com/akarneliuk/pygnmi"; changelog = "https://github.com/akarneliuk/pygnmi/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };}