about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/chirpstack-api/default.nix
blob: a019dd651999a32b5620e20bf2db7f810d7f71e2 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, grpcio
}:

buildPythonPackage rec {
  pname = "chirpstack-api";
  version = "3.9.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "08djidy3fyhghyzvndcjas3hb1s9d7719gvmgbl8bzxjm4h2c433";
  };

  propagatedBuildInputs = [
    google-api-core
    grpcio
  ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "chirpstack_api" ];

  meta = with lib; {
    description = "ChirpStack gRPC API message and service wrappers for Python";
    homepage = "https://github.com/brocaar/chirpstack-api";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}