mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-18 18:15:16 +00:00
This this puts the ABP parameters into a single JSON(B) field, to reduce the amount of device-profile fields that currently exist. The same work will be done for Class-B/C and Relay parameters. Once completed, this means we can drop the diesel '64-column-tables' feature, which will reduce compile time.
30 lines
863 B
Nix
30 lines
863 B
Nix
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-24.11.tar.gz") {} }:
|
|
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
pkgs.pkg-config
|
|
];
|
|
buildInputs = [
|
|
pkgs.cacert
|
|
pkgs.rustup
|
|
pkgs.protobuf
|
|
pkgs.perl
|
|
pkgs.cmake
|
|
pkgs.clang
|
|
pkgs.postgresql # needed to build the diesel cli utility
|
|
pkgs.go # go api
|
|
pkgs.nodejs # js api + ui
|
|
pkgs.yarn
|
|
pkgs.protoc-gen-grpc-web # grpc-web api
|
|
pkgs.protoc-gen-go # go api
|
|
pkgs.protoc-gen-go-grpc
|
|
pkgs.openssl
|
|
pkgs.sqlite
|
|
pkgs.diesel-cli
|
|
];
|
|
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
|
BINDGEN_EXTRA_CLANG_ARGS = "-I${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include";
|
|
DOCKER_BUILDKIT = "1";
|
|
NIX_STORE = "/nix/store";
|
|
}
|