Merge pull request #275490 from newAM/espflash-2.1.0

This commit is contained in:
Sandro 2024-01-17 15:34:17 +01:00 committed by GitHub
commit 6340d6b574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, stdenv
, udev
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "espflash";
version = "2.1.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-Gd+8pA36mO+BCA0EFshboBi0etNjsiQFQU1wBYf/o6I=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [
udev
] ++ lib.optionals stdenv.isDarwin [
Security
SystemConfiguration
];
cargoHash = "sha256-IObAbsyrVBXt5zldirRezU7vS3R3aUihMFy2yIRWIlk=";
meta = with lib; {
description = "Serial flasher utility for Espressif SoCs and modules";
homepage = "https://github.com/esp-rs/espflash";
changelog = "https://github.com/esp-rs/espflash/blob/v${version}/CHANGELOG.md";
mainProgram = "espflash";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ newam ];
};
}

View File

@ -31357,6 +31357,10 @@ with pkgs;
espeakup = callPackage ../applications/accessibility/espeakup { };
espflash = callPackage ../development/embedded/espflash {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
etebase-server = with python3Packages; toPythonApplication etebase-server;
etesync-dav = callPackage ../applications/misc/etesync-dav { };