diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-12-21 17:59:19 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-12-22 00:25:05 -0800 |
commit | de9249f9dac6a824793b5dd8d19c46c5e53f2422 (patch) | |
tree | 1286d8297fc2e00aa7837445210e7f72ed176b6a /pkgs/development/libraries | |
parent | 2b50067a1ed7b482c1aaeb166233c6ac90c3f018 (diff) |
grpc: add comment about updating python3Packages.grpcio-status
- Add python packages as tests
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/grpc/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/libraries/grpc/default.nix b/pkgs/development/libraries/grpc/default.nix index dab210d6b1e12..28c47640ca6a9 100644 --- a/pkgs/development/libraries/grpc/default.nix +++ b/pkgs/development/libraries/grpc/default.nix @@ -13,11 +13,16 @@ , grpc , abseil-cpp , libnsl + +# tests +, python3 }: stdenv.mkDerivation rec { pname = "grpc"; - version = "1.43.0"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too + version = "1.43.0"; # N.B: if you change this, please update: + # pythonPackages.grpcio-tools + # pythonPackages.grpcio-status src = fetchFromGitHub { owner = "grpc"; @@ -86,6 +91,10 @@ stdenv.mkDerivation rec { enableParallelBuilds = true; + passthru.tests = { + inherit (python3.pkgs) grpcio-status grpcio-tools; + }; + meta = with lib; { description = "The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)"; license = licenses.asl20; |