5 rustPlatform.buildRustPackage rec {
9 src = fetchFromGitHub {
12 rev = "cargo-pio-v${version}";
13 hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k=";
16 cargoHash = "sha256-41ZDe7yP4C9JcX5trcDxcqdgZ+SnhDIIq51hM0Viv9w=";
18 buildAndTestSubdir = "cargo-pio";
21 description = "Build Rust embedded projects with PlatformIO";
22 homepage = "https://github.com/esp-rs/embuild/tree/master/cargo-pio";
23 license = with lib.licenses; [ asl20 mit ];
24 maintainers = with maintainers; [ dannixon ];
25 mainProgram = "cargo-pio";