blob: c4dc0c3410787d9cdc3452e3eb70432c2a73b215 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ 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 ];
};
}
|