python312Packages.grpcio: 1.64.1 -> 1.67.0

Changelog: https://github.com/grpc/grpc/releases/tag/v1.67.0
This commit is contained in:
Fabian Affolter
2024-10-22 14:28:28 +02:00
committed by scraptux
parent 6b5a8cb3f4
commit da16a24f0a
@@ -2,24 +2,24 @@
lib,
stdenv,
buildPythonPackage,
c-ares,
cython,
fetchPypi,
grpc,
six,
protobuf,
enum34 ? null,
futures ? null,
isPy27,
pkg-config,
cython,
c-ares,
openssl,
pkg-config,
protobuf,
pythonOlder,
setuptools,
zlib,
}:
buildPythonPackage rec {
pname = "grpcio";
format = "setuptools";
version = "1.66.2";
version = "1.67.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
@@ -31,6 +31,8 @@ buildPythonPackage rec {
"dev"
];
build-system = [ setuptools ];
nativeBuildInputs = [
cython
pkg-config
@@ -41,15 +43,8 @@ buildPythonPackage rec {
openssl
zlib
];
propagatedBuildInputs =
[
six
protobuf
]
++ lib.optionals (isPy27) [
enum34
futures
];
dependencies = [ protobuf ];
preBuild =
''
@@ -76,8 +71,9 @@ buildPythonPackage rec {
meta = with lib; {
description = "HTTP/2-based RPC framework";
license = licenses.asl20;
homepage = "https://grpc.io/grpc/python/";
changelog = "https://github.com/grpc/grpc/releases/tag/v${version}";
license = licenses.asl20;
maintainers = [ ];
};
}