blob: 6565cafabb43ab36728caa49a126c0c3e06fe7a6 (
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
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
google-api-core,
grpcio,
}:
buildPythonPackage rec {
pname = "chirpstack-api";
version = "3.12.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "brocaar";
repo = "chirpstack-api";
rev = "v${version}";
hash = "sha256-TDwvUNnGAbt10lLg6U7q+JMg7uu8TLySYqNyt/uk8UY=";
};
sourceRoot = "${src.name}/python/src";
propagatedBuildInputs = [
google-api-core
grpcio
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "chirpstack_api" ];
meta = {
description = "ChirpStack gRPC API message and service wrappers for Python";
homepage = "https://github.com/brocaar/chirpstack-api";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|