chirpstack-concentratord: init at 4.4.5
This commit is contained in:
parent
6bd22a9174
commit
430bc942da
45
pkgs/by-name/ch/chirpstack-concentratord/package.nix
Normal file
45
pkgs/by-name/ch/chirpstack-concentratord/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user