Skip to content

Commit

Permalink
python312Packages.grpcio: 1.64.1 -> 1.67.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and scraptux committed Oct 22, 2024
1 parent 6b5a8cb commit da16a24
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions pkgs/development/python-modules/grpcio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -31,6 +31,8 @@ buildPythonPackage rec {
"dev"
];

build-system = [ setuptools ];

nativeBuildInputs = [
cython
pkg-config
Expand All @@ -41,15 +43,8 @@ buildPythonPackage rec {
openssl
zlib
];
propagatedBuildInputs =
[
six
protobuf
]
++ lib.optionals (isPy27) [
enum34
futures
];

dependencies = [ protobuf ];

preBuild =
''
Expand All @@ -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 = [ ];
};
}

0 comments on commit da16a24

Please sign in to comment.