mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
cargo-pio: init at 0.25.6 (#296660)
This commit is contained in:
commit
703fc88d84
27
pkgs/by-name/ca/cargo-pio/package.nix
Normal file
27
pkgs/by-name/ca/cargo-pio/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user