408a0d163f
GitOrigin-RevId: e019872af81e4013fd518fcacfba74b1de21a50e
25 lines
696 B
Nix
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 ];
|
|
};
|
|
}
|