treefmt / nix fmt (pull_request) Successful in 6s
pytest / pytest (pull_request) Successful in 33s
test ebook search / test-ebook-search (pull_request) Successful in 38s
build_systems / build-bob (pull_request) Successful in 57s
build_systems / build-rhapsody-in-green (pull_request) Successful in 1m6s
build_systems / build-brain (pull_request) Successful in 1m47s
build_systems / build-jeeves (pull_request) Successful in 2m27s
Add a Rust implementation with privacy-masked locations, HTTP retries, and Home Assistant sensor publishing. Package it with Nix and switch the systemd service from Python to the compiled binary.
14 lines
276 B
Nix
14 lines
276 B
Nix
{ rustPlatform }:
|
|
rustPlatform.buildRustPackage {
|
|
pname = "van-weather";
|
|
version = "0.1.0";
|
|
src = ./.;
|
|
|
|
cargoLock.lockFile = ./Cargo.lock;
|
|
|
|
meta = {
|
|
description = "Privacy-masked van weather publisher for Home Assistant";
|
|
mainProgram = "van-weather";
|
|
};
|
|
}
|