probe-run: init at 0.2.1

Signed-off-by: Ana Hobden <operator@hoverbear.org>
This commit is contained in:
Ana Hobden 2021-04-12 21:40:33 -07:00 committed by Cole Helbling
parent fc6f90c526
commit fc43a7fa4d
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -257,6 +257,8 @@ in
html5validator = python3Packages.callPackage ../applications/misc/html5validator { };
probe-run = callPackage ../development/tools/rust/probe-run {};
proto-contrib = callPackage ../development/tools/proto-contrib {};
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};