blob: cd0e267d9c2b4f7a63ae09b07391253ba1b003b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
buildPythonPackage,
fetchPypi,
protobuf,
grpcio,
setuptools,
}:
# This package should be updated together with the main grpc package and other
# related python grpc packages.
# nixpkgs-update: no auto update
buildPythonPackage rec {
pname = "grpcio-tools";
version = "1.76.0";
pyproject = true;
src = fetchPypi {
pname = "grpcio_tools";
inherit version;
hash = "sha256-zoAWm15q3z6DAvPrtssMOp8ICJEzq8pLdq1n91H1rYg=";
};
outputs = [
"out"
"dev"
];
enableParallelBuilding = true;
build-system = [ setuptools ];
pythonRelaxDeps = [
"protobuf"
"grpcio"
];
dependencies = [
protobuf
grpcio
setuptools
];
# no tests in the package
doCheck = false;
pythonImportsCheck = [ "grpc_tools" ];
meta = {
description = "Protobuf code generator for gRPC";
license = lib.licenses.asl20;
homepage = "https://grpc.io/grpc/python/";
maintainers = [ ];
};
}
|