12 rustPlatform.buildRustPackage rec {
13 pname = "probe-rs-tools";
16 src = fetchFromGitHub {
20 hash = "sha256-skTM2+7ra8rfRmcxYgE0+mgzGPUYf5JNChC28XM0EMc=";
23 cargoHash = "sha256-O7F0mx/gfIQUlt+oDsT/DZrHPSQLpL/Aytae24ROUF0=";
25 buildAndTestSubdir = pname;
28 # required by libz-sys, no option for dynamic linking
29 # https://github.com/rust-lang/libz-sys/issues/158
31 # build.rs fails without git
32 # https://github.com/probe-rs/probe-rs/pull/2492
43 # require a physical probe
44 "--skip=cmd::dap_server::server::debugger::test::attach_request"
45 "--skip=cmd::dap_server::server::debugger::test::attach_with_flashing"
46 "--skip=cmd::dap_server::server::debugger::test::launch_and_threads"
47 "--skip=cmd::dap_server::server::debugger::test::launch_with_config_error"
48 "--skip=cmd::dap_server::server::debugger::test::test_initalize_request"
49 "--skip=cmd::dap_server::server::debugger::test::test_launch_and_terminate"
50 "--skip=cmd::dap_server::server::debugger::test::test_launch_no_probes"
51 "--skip=cmd::dap_server::server::debugger::test::wrong_request_after_init"
52 # compiles an image for an embedded target which we do not have a toolchain for
53 "--skip=util::cargo::test::get_binary_artifact_with_cargo_config"
54 "--skip=util::cargo::test::get_binary_artifact_with_cargo_config_toml"
55 # requires other crates in the workspace
56 "--skip=util::cargo::test::get_binary_artifact"
57 "--skip=util::cargo::test::library_with_example_specified"
58 "--skip=util::cargo::test::multiple_binaries_in_crate_select_binary"
59 "--skip=util::cargo::test::workspace_binary_package"
60 "--skip=util::cargo::test::workspace_root"
64 description = "CLI tool for on-chip debugging and flashing of ARM chips";
65 homepage = "https://probe.rs/";
66 changelog = "https://github.com/probe-rs/probe-rs/blob/v${version}/CHANGELOG.md";
67 license = with licenses; [
71 maintainers = with maintainers; [