about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix b/nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix
new file mode 100644
index 000000000000..4e548577f906
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/grpcio-tools/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildPythonPackage, fetchPypi, lib, grpc, grpcio}:
+
+buildPythonPackage rec {
+  pname = "grpcio-tools";
+  version = "1.18.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "77ec4d3c92ccbbe3de37c457e3c72962e519c36cafb96abe5842bced8eb926fa";
+  };
+
+  enableParallelBuilding = true;
+
+  propagatedBuildInputs = [ grpcio ];
+
+  # no tests in the package
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Protobuf code generator for gRPC";
+    license = lib.licenses.asl20;
+    homepage = "https://grpc.io/grpc/python/";
+    maintainers = with maintainers; [ vanschelven ];
+  };
+}