summaryrefslogtreecommitdiff
path: root/pkgs/python3Packages/pyease-grpc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/python3Packages/pyease-grpc.nix')
-rw-r--r--pkgs/python3Packages/pyease-grpc.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/python3Packages/pyease-grpc.nix b/pkgs/python3Packages/pyease-grpc.nix
new file mode 100644
index 0000000..758c4b5
--- /dev/null
+++ b/pkgs/python3Packages/pyease-grpc.nix
@@ -0,0 +1,33 @@
+{
+ lib,
+ python3Packages,
+ fetchFromGitHub,
+}:
+python3Packages.buildPythonPackage rec {
+ pname = "pyease-grpc";
+ version = "1.7.0";
+ pyproject = true;
+
+ src = fetchFromGitHub {
+ owner = "dipu-bd";
+ repo = "pyease-grpc";
+ rev = "v${version}";
+ sha256 = "sha256-IE6Dryqz4wcoTbHv0HMhVYH99iq2KPYCjWhC+usc2aQ=";
+ };
+
+ build-system = [
+ python3Packages.setuptools
+ ];
+
+ dependencies = with python3Packages; [
+ requests
+ protobuf
+ grpcio
+ ];
+
+ meta = {
+ homepage = "https://github.com/dipu-bd/pyease-grpc";
+ description = "Easy to use requests-like gRPC client in python";
+ license = lib.licenses.mit;
+ };
+}