humility: init at unstable-2022-09-15

A debugger for the Hubris RTOS
This commit is contained in:
Rishi Desai 2022-09-25 00:06:04 -07:00
parent 17b1f4e699
commit 63d54a85c1
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, rustPlatform
, fetchFromGitHub
, libusb
, libftdi
, cargo-readme
, pkg-config
}:
rustPlatform.buildRustPackage rec {
pname = "humility";
version = "unstable-2022-09-15";
nativeBuildInputs = [ pkg-config cargo-readme ];
buildInputs = [ libusb libftdi ];
src = fetchFromGitHub {
owner = "oxidecomputer";
repo = pname;
rev = "d336c21c7b6da7f8203a9331c7657581de2bc6ad";
sha256 = "sha256-yW7QcxTWbL2YsV2bvfhbqQ2nawlPQbYxBfIGCWo28GY=";
};
cargoSha256 = "sha256-UhO8VO3OCfYc8Xq/P+l9f5ZrhOD/TBzSClAeAXLJLlc=";
meta = with lib; {
description = "Debugger for Hubris";
homepage = "https://github.com/oxidecomputer/humility";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ therishidesai ];
};
}

View file

@ -24438,6 +24438,8 @@ with pkgs;
htop-vim = callPackage ../tools/system/htop/htop-vim.nix { };
humility = callPackage ../development/tools/rust/humility {};
btop = callPackage ../tools/system/btop {
stdenv = gcc11Stdenv;
};