mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
grpc: add comment about updating python3Packages.grpcio-status
- Add python packages as tests
This commit is contained in:
parent
2b50067a1e
commit
de9249f9da
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user