espflash: 3.1.1 -> 3.2.0

This commit is contained in:
Stefan Frijters 2024-10-18 12:04:56 +02:00
parent b3e63b1845
commit 8524e36e4b
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F

View File

@ -15,13 +15,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "espflash"; pname = "espflash";
version = "3.1.1"; version = "3.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "esp-rs"; owner = "esp-rs";
repo = "espflash"; repo = "espflash";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-NplHzdUHlBgujH8rLYT5VbYBV7NljMJEbMAxZ5ZK8JY="; hash = "sha256-X9VTwXk/6zAkQb5P9Wz8Pt4oIt2xXfff9dhGb8wauG4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
SystemConfiguration SystemConfiguration
]; ];
cargoHash = "sha256-iA8VJj0btFHUoyY7w8kR+9AU5Yrts4ctr90jxlWQu4c="; cargoHash = "sha256-3xUDsznzIRlfGwVuIH1+Ub5tE/ST981KZS/2TAKaBAE=";
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd espflash \ installShellCompletion --cmd espflash \