depot/third_party/nixpkgs/pkgs/development/tools/rust/probe-run/default.nix
Default email 408a0d163f Project import generated by Copybara.
GitOrigin-RevId: e019872af81e4013fd518fcacfba74b1de21a50e
2021-04-13 15:44:15 -04:00

25 lines
696 B
Nix

{ lib, rustPlatform, fetchFromGitHub, pkg-config, libusb1 }:
rustPlatform.buildRustPackage rec {
pname = "probe-run";
version = "0.2.1";
src = fetchFromGitHub {
owner = "knurling-rs";
repo = pname;
rev = "v${version}";
sha256 = "QEUsigoSqVczrsSSDnOhTXm94JTXHgxeNY0tGsOaRyg=";
};
cargoSha256 = "Fr5XWIUHXyfesouHi0Uryf/ZgB/rDDJ4G1BYGHw0QeQ=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 ];
meta = with lib; {
description = "Run embedded programs just like native ones.";
homepage = "https://github.com/knurling-rs/probe-run";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ hoverbear ];
};
}