1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, grpcio
6}:
7
8buildPythonPackage rec {
9 pname = "chirpstack-api";
10 version = "3.9.4";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "08djidy3fyhghyzvndcjas3hb1s9d7719gvmgbl8bzxjm4h2c433";
15 };
16
17 propagatedBuildInputs = [
18 google-api-core
19 grpcio
20 ];
21
22 # Project has no tests
23 doCheck = false;
24 pythonImportsCheck = [ "chirpstack_api" ];
25
26 meta = with lib; {
27 description = "ChirpStack gRPC API message and service wrappers for Python";
28 homepage = "https://github.com/brocaar/chirpstack-api";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}