Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
726 B
Nix
32 lines
726 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-pio";
|
|
version = "0.25.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "esp-rs";
|
|
repo = "embuild";
|
|
rev = "cargo-pio-v${version}";
|
|
hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k=";
|
|
};
|
|
|
|
cargoHash = "sha256-/WBhgPyd5hR3DBYvV8pd7uZb6FeD3yiDe3wOKtyFRG8=";
|
|
|
|
buildAndTestSubdir = "cargo-pio";
|
|
|
|
meta = with lib; {
|
|
description = "Build Rust embedded projects with PlatformIO";
|
|
homepage = "https://github.com/esp-rs/embuild/tree/master/cargo-pio";
|
|
license = with lib.licenses; [
|
|
asl20
|
|
mit
|
|
];
|
|
maintainers = with maintainers; [ dannixon ];
|
|
mainProgram = "cargo-pio";
|
|
};
|
|
}
|