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, lib,
stdenv, stdenv,
buildPythonPackage, buildPythonPackage,
c-ares,
cython,
fetchPypi, fetchPypi,
grpc, grpc,
six,
protobuf,
enum34 ? null,
futures ? null,
isPy27,
pkg-config,
cython,
c-ares,
openssl, openssl,
pkg-config,
protobuf,
pythonOlder,
setuptools,
zlib, zlib,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "grpcio"; pname = "grpcio";
format = "setuptools"; version = "1.67.0";
version = "1.66.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@@ -31,6 +31,8 @@ buildPythonPackage rec {
"dev" "dev"
]; ];
build-system = [ setuptools ];
nativeBuildInputs = [ nativeBuildInputs = [
cython cython
pkg-config pkg-config
@@ -41,15 +43,8 @@ buildPythonPackage rec {
openssl openssl
zlib zlib
]; ];
propagatedBuildInputs =
[ dependencies = [ protobuf ];
six
protobuf
]
++ lib.optionals (isPy27) [
enum34
futures
];
preBuild = preBuild =
'' ''
@@ -76,8 +71,9 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "HTTP/2-based RPC framework"; description = "HTTP/2-based RPC framework";
license = licenses.asl20;
homepage = "https://grpc.io/grpc/python/"; homepage = "https://grpc.io/grpc/python/";
changelog = "https://github.com/grpc/grpc/releases/tag/v${version}";
license = licenses.asl20;
maintainers = [ ]; maintainers = [ ];
}; };
} }