12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-5V7eLnukVAcOSX52myvaTlDbemGp6mDaWrQc3w4P5MI=";
23 cargoHash = "sha256-sZl4FhaKIMJe7v5AAIM2w7M8Ev7vCht3owkvt0UhOu8=";
25 cargoBuildFlags = [ "--features=cli" ];
27 nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.isDarwin [ DarwinTools ];
29 buildInputs = [ libusb1 openssl ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
32 description = "CLI tool for on-chip debugging and flashing of ARM chips";
33 homepage = "https://probe.rs/";
34 changelog = "https://github.com/probe-rs/probe-rs/blob/v${version}/CHANGELOG.md";
35 license = with licenses; [ asl20 /* or */ mit ];
36 maintainers = with maintainers; [ xgroleau newam ];