{ lib, rustPlatform }: rustPlatform.buildRustPackage { pname = "van-weather"; version = "0.1.0"; src = lib.fileset.toSource { root = ../..; fileset = lib.fileset.unions [ ../../Cargo.toml ../../Cargo.lock ../../clippy.toml ../. ]; }; cargoLock.lockFile = ../../Cargo.lock; cargoBuildFlags = [ "-p" "van-weather" ]; cargoTestFlags = [ "-p" "van-weather" ]; meta = { description = "Privacy-masked van weather publisher for Home Assistant"; mainProgram = "van-weather"; }; }