cargo-espflash: rename to espflash (#286386)
This commit is contained in:
parent
e2a31fdb93
commit
6babd03fa0
4 changed files with 7 additions and 47 deletions
|
@ -12,7 +12,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-espflash";
|
pname = "espflash";
|
||||||
version = "2.1.0";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -36,13 +36,15 @@ rustPlatform.buildRustPackage rec {
|
||||||
SystemConfiguration
|
SystemConfiguration
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoHash = "sha256-FpBc92a2JQHRLe5S6yh3l0FpRI8LpkGGEma/4v5X4xs=";
|
cargoHash = "sha256-Xj5FVTssC3e+mMhDHmKqV6lUQgaIv3aVc1yewbQSy9E=";
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py";
|
description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py";
|
||||||
homepage = "https://github.com/esp-rs/cargo-espflash";
|
homepage = "https://github.com/esp-rs/espflash";
|
||||||
|
changelog = "https://github.com/esp-rs/espflash/blob/v${version}/CHANGELOG.md";
|
||||||
|
mainProgram = "espflash";
|
||||||
license = with licenses; [ mit /* or */ asl20 ];
|
license = with licenses; [ mit /* or */ asl20 ];
|
||||||
maintainers = with maintainers; [ matthiasbeyer ];
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
};
|
};
|
|
@ -1,39 +0,0 @@
|
||||||
{ 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 ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -141,6 +141,7 @@ mapAliases ({
|
||||||
cadence = throw "cadence has been removed from nixpkgs, as it was archived upstream"; # Added 2023-10-28
|
cadence = throw "cadence has been removed from nixpkgs, as it was archived upstream"; # Added 2023-10-28
|
||||||
cask = emacs.pkgs.cask; # Added 2022-11-12
|
cask = emacs.pkgs.cask; # Added 2022-11-12
|
||||||
cargo-embed = throw "cargo-embed is now part of the probe-rs package"; # Added 2023-07-03
|
cargo-embed = throw "cargo-embed is now part of the probe-rs package"; # Added 2023-07-03
|
||||||
|
cargo-espflash = espflash;
|
||||||
cargo-flash = throw "cargo-flash is now part of the probe-rs package"; # Added 2023-07-03
|
cargo-flash = throw "cargo-flash is now part of the probe-rs package"; # Added 2023-07-03
|
||||||
catfish = throw "'catfish' has been renamed to/replaced by 'xfce.catfish'"; # Converted to throw 2023-09-10
|
catfish = throw "'catfish' has been renamed to/replaced by 'xfce.catfish'"; # Converted to throw 2023-09-10
|
||||||
cawbird = throw "cawbird has been abandoned upstream and is broken anyways due to Twitter closing its API";
|
cawbird = throw "cawbird has been abandoned upstream and is broken anyways due to Twitter closing its API";
|
||||||
|
|
|
@ -16859,10 +16859,6 @@ with pkgs;
|
||||||
|
|
||||||
cargo2junit = callPackage ../development/tools/rust/cargo2junit { };
|
cargo2junit = callPackage ../development/tools/rust/cargo2junit { };
|
||||||
|
|
||||||
cargo-espflash = callPackage ../development/tools/rust/cargo-espflash {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
|
||||||
};
|
|
||||||
|
|
||||||
cargo-web = callPackage ../development/tools/rust/cargo-web {
|
cargo-web = callPackage ../development/tools/rust/cargo-web {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||||
};
|
};
|
||||||
|
@ -31241,7 +31237,7 @@ with pkgs;
|
||||||
|
|
||||||
espeakup = callPackage ../applications/accessibility/espeakup { };
|
espeakup = callPackage ../applications/accessibility/espeakup { };
|
||||||
|
|
||||||
espflash = callPackage ../development/embedded/espflash {
|
espflash = callPackage ../by-name/es/espflash/package.nix {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue