chirpstack-concentratord: init at 4.4.5

This commit is contained in:
Steffen Vogel 2024-04-22 08:01:42 +02:00
parent 6bd22a9174
commit 430bc942da

View File

@ -0,0 +1,45 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
protobuf,
libloragw-2g4,
libloragw-sx1301,
libloragw-sx1302,
}:
rustPlatform.buildRustPackage rec {
pname = "chirpstack-concentratord";
version = "4.4.2";
src = fetchFromGitHub {
owner = "chirpstack";
repo = "chirpstack-concentratord";
rev = "v${version}";
hash = "sha256-UbUtNJuz8zfhHzyOiT/mRNtNRmdoNnuszrVSbLoVGK8=";
};
cargoHash = "sha256-JXIyrbBRGJR9mjvawU46mBfGYxZPpYl9aB9k3WBA/co=";
buildInputs = [
libloragw-2g4
libloragw-sx1301
libloragw-sx1302
];
nativeBuildInputs = [
protobuf
rustPlatform.bindgenHook
];
updateScript = nix-update-script { };
meta = {
description = "Concentrator HAL daemon for LoRa gateways";
homepage = "https://www.chirpstack.io/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.stv0g ];
platforms = lib.platforms.linux;
mainProgram = "chirpstack-concentratord";
};
}