Merge pull request #259017 from samueltardieu/rtthost
This commit is contained in:
commit
0bf82c9fb7
@ -15371,6 +15371,12 @@
|
|||||||
githubId = 107703;
|
githubId = 107703;
|
||||||
name = "Samuel Rivas";
|
name = "Samuel Rivas";
|
||||||
};
|
};
|
||||||
|
samueltardieu = {
|
||||||
|
email = "nixpkgs@sam.rfc1149.net";
|
||||||
|
github = "samueltardieu";
|
||||||
|
githubId = 44656;
|
||||||
|
name = "Samuel Tardieu";
|
||||||
|
};
|
||||||
samw = {
|
samw = {
|
||||||
email = "sam@wlcx.cc";
|
email = "sam@wlcx.cc";
|
||||||
github = "wlcx";
|
github = "wlcx";
|
||||||
|
33
pkgs/development/tools/rust/rtthost/default.nix
Normal file
33
pkgs/development/tools/rust/rtthost/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchCrate
|
||||||
|
, pkg-config
|
||||||
|
, libusb1
|
||||||
|
, DarwinTools
|
||||||
|
, AppKit
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "rtthost";
|
||||||
|
version = "0.20.0";
|
||||||
|
|
||||||
|
src = fetchCrate {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-h/D2LW8tQ2WfVrP+HOLs3Gg7HS2Rd0zXBxbnxvEeiWk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-cEzp33y1wuOrKHJBdAPxWUc1ANpT7Sg1MZmaCno1WKA=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.isDarwin [ DarwinTools ];
|
||||||
|
|
||||||
|
buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "RTT (Real-Time Transfer) client";
|
||||||
|
homepage = "https://probe.rs/";
|
||||||
|
changelog = "https://github.com/probe-rs/probe-rs/blob/v${version}/CHANGELOG.md";
|
||||||
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
maintainers = with maintainers; [ samueltardieu ];
|
||||||
|
};
|
||||||
|
}
|
@ -732,6 +732,11 @@ with pkgs;
|
|||||||
inherit (darwin) DarwinTools;
|
inherit (darwin) DarwinTools;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rtthost = callPackage ../development/tools/rust/rtthost {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||||
|
inherit (darwin) DarwinTools;
|
||||||
|
};
|
||||||
|
|
||||||
mix2nix = callPackage ../development/tools/mix2nix { };
|
mix2nix = callPackage ../development/tools/mix2nix { };
|
||||||
|
|
||||||
n98-magerun = callPackage ../development/tools/misc/n98-magerun { };
|
n98-magerun = callPackage ../development/tools/misc/n98-magerun { };
|
||||||
|
Loading…
Reference in New Issue
Block a user