Skip to content

Commit

Permalink
cargo-pio: init at 0.25.6
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Apr 9, 2024
1 parent 190224f commit c81b999
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/by-name/ca/cargo-pio/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ 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-41ZDe7yP4C9JcX5trcDxcqdgZ+SnhDIIq51hM0Viv9w=";

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";
};
}

0 comments on commit c81b999

Please sign in to comment.