evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ca / cargo-pio / package.nix
blob5942627f4aec0478d13ca4a0b41b3054d7112494
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 }:
5 rustPlatform.buildRustPackage rec {
6   pname = "cargo-pio";
7   version = "0.25.6";
9   src = fetchFromGitHub {
10     owner = "esp-rs";
11     repo = "embuild";
12     rev = "cargo-pio-v${version}";
13     hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k=";
14   };
16   cargoHash = "sha256-41ZDe7yP4C9JcX5trcDxcqdgZ+SnhDIIq51hM0Viv9w=";
18   buildAndTestSubdir = "cargo-pio";
20   meta = with lib; {
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";
26   };