Merge pull request #192842 from therishidesai/humility

humility: init at unstable-2022-09-15
This commit is contained in:
Anderson Torres 2022-09-25 18:11:07 -03:00 committed by GitHub
commit bc2035baeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View file

@ -13283,6 +13283,12 @@
githubId = 57180880;
name = "Ansh Tyagi";
};
therishidesai = {
email = "desai.rishi1@gmail.com";
github = "therishidesai";
githubId = 5409166;
name = "Rishi Desai";
};
thesola10 = {
email = "me@thesola.io";
github = "Thesola10";

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

@ -24449,6 +24449,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;
};