grpcio: init at 1.7.3
This commit is contained in:
parent
388c119d0b
commit
df69f446a8
2 changed files with 25 additions and 0 deletions
23
pkgs/development/python-modules/grpcio/default.nix
Normal file
23
pkgs/development/python-modules/grpcio/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, lib
|
||||||
|
, six, protobuf, enum34, futures, isPy26, isPy27, isPy34 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "grpcio";
|
||||||
|
version = "1.7.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1wkrxj1jmf2dyx207fc9ysyns9h27gls3drgg05mzdckjqr5lnl6";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six protobuf ]
|
||||||
|
++ lib.optionals (isPy26 || isPy27 || isPy34) [ enum34 ]
|
||||||
|
++ lib.optionals (isPy26 || isPy27) [ futures ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "HTTP/2-based RPC framework";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
homepage = "https://grpc.io/grpc/python/";
|
||||||
|
maintainers = with maintainers; [ vanschelven ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9130,6 +9130,8 @@ in {
|
||||||
pythonPackages = self;
|
pythonPackages = self;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
grpcio = callPackage ../development/python-modules/grpcio { };
|
||||||
|
|
||||||
gspread = buildPythonPackage rec {
|
gspread = buildPythonPackage rec {
|
||||||
version = "0.2.3";
|
version = "0.2.3";
|
||||||
name = "gspread-${version}";
|
name = "gspread-${version}";
|
||||||
|
|
Loading…
Reference in a new issue