Skip to content

Commit

Permalink
probe-run: init at 0.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Ana Hobden <operator@hoverbear.org>
  • Loading branch information
Hoverbear authored and cole-h committed Apr 13, 2021
1 parent fc6f90c commit fc43a7f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/development/tools/rust/probe-run/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand Down

0 comments on commit fc43a7f

Please sign in to comment.