summaryrefslogtreecommitdiff
path: root/pkgs/python3Packages/pyease-grpc.nix
blob: 758c4b5b76c8077de5bc996ebc2e2764e623570b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
  };
}