cargo-espflash: init at 1.6.0 (#190265)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f8cc46e493
commit
e4a45f97c0
30
pkgs/development/tools/rust/cargo-espflash/default.nix
Normal file
30
pkgs/development/tools/rust/cargo-espflash/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, udev }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-espflash";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esp-rs";
|
||||
repo = "espflash";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YQ621YbdEy2sS4uEYvgnQU1G9iW5SpWNObPH4BfyeF0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
udev
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-mDSNjeaEtYpEGpiIg2F+e8x/XCssNQxUx+6Cj+8XX5Q=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py";
|
||||
homepage = "https://github.com/esp-rs/cargo-espflash";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
}
|
@ -14543,6 +14543,8 @@ with pkgs;
|
||||
buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { };
|
||||
cratesIO = callPackage ../build-support/rust/crates-io.nix { };
|
||||
|
||||
cargo-espflash = callPackage ../development/tools/rust/cargo-espflash { };
|
||||
|
||||
cargo-web = callPackage ../development/tools/rust/cargo-web {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user