probe-rs-cli: 0.13.0 -> 0.14.0

This commit is contained in:
Alex Martens 2023-01-14 11:30:27 -08:00
parent 5fb9ccbd5b
commit b0fd480841
2 changed files with 17 additions and 6 deletions

View file

@ -1,18 +1,28 @@
{ lib, stdenv, rustPlatform, fetchCrate, pkg-config, libusb1, AppKit }: { lib
, stdenv
, rustPlatform
, fetchCrate
, pkg-config
, libusb1
, openssl
, DarwinTools
, AppKit
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "probe-rs-cli"; pname = "probe-rs-cli";
version = "0.13.0"; version = "0.14.0";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
sha256 = "sha256-3aKRUABJ1LkRGzwDSwQZeNXKGeRmTlbHKSGewfKn+2Q="; sha256 = "sha256-y9EHksRDVbw58XiV7/dKzy4p6OWWAkQ3X9LP/WDWD2c=";
}; };
cargoSha256 = "sha256-bOfdpRVm9zqpFF/YmD06u4OKdyqXwfCSTNlTIZZygeg="; cargoSha256 = "sha256-vv8XSAsGs1M97Y6cIGYevCdaxmPy3aDmHFF00exumq8=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.isDarwin [ DarwinTools ];
buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
buildInputs = [ libusb1 openssl ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
meta = with lib; { meta = with lib; {
description = "CLI tool for on-chip debugging and flashing of ARM chips"; description = "CLI tool for on-chip debugging and flashing of ARM chips";

View file

@ -509,6 +509,7 @@ with pkgs;
probe-rs-cli = callPackage ../development/tools/rust/probe-rs-cli { probe-rs-cli = callPackage ../development/tools/rust/probe-rs-cli {
inherit (darwin.apple_sdk.frameworks) AppKit; inherit (darwin.apple_sdk.frameworks) AppKit;
inherit (darwin) DarwinTools;
}; };
probe-run = callPackage ../development/tools/rust/probe-run { probe-run = callPackage ../development/tools/rust/probe-run {