chirpstack-rest-api: init at 4.9.0 (#353916)

This commit is contained in:
Aleksana 2024-11-24 20:34:32 +08:00 committed by GitHub
commit 4284da6a65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "chirpstack-rest-api";
version = "4.10.1";
src = fetchFromGitHub {
owner = "chirpstack";
repo = "chirpstack-rest-api";
rev = "v${version}";
hash = "sha256-Rqxayn5vcCsvdztfElhRrdxxO3l5SgtckmWQMYey9MA=";
};
vendorHash = "sha256-7Qcd7AQjIdp5j7/i7wEZslMiOR5/rJ0HGbo8o7Q035U=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "gRPC API to REST proxy for Chirpstack";
homepage = "https://www.chirpstack.io/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.stv0g ];
mainProgram = "chirpstack-rest-api";
};
}