6 rustPlatform.buildRustPackage rec {
10 src = fetchFromGitHub {
13 rev = "cargo-pio-v${version}";
14 hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k=";
17 cargoHash = "sha256-41ZDe7yP4C9JcX5trcDxcqdgZ+SnhDIIq51hM0Viv9w=";
19 buildAndTestSubdir = "cargo-pio";
22 description = "Build Rust embedded projects with PlatformIO";
23 homepage = "https://github.com/esp-rs/embuild/tree/master/cargo-pio";
24 license = with lib.licenses; [
28 maintainers = with maintainers; [ dannixon ];
29 mainProgram = "cargo-pio";