Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
976 B
Nix
44 lines
976 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
libusb1,
|
|
libftdi,
|
|
cargo-readme,
|
|
pkg-config,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "humility";
|
|
version = "0-unstable-2025-02-25";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
cargo-readme
|
|
];
|
|
buildInputs = [
|
|
libusb1
|
|
libftdi
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oxidecomputer";
|
|
repo = "humility";
|
|
rev = "4e9b9f9efb455d62b44345b7c8659dcd962c73da";
|
|
sha256 = "sha256-BzLduU2Wu4UhmgDvvuCEXsABO/jPC7AjptDW8/zePEk=";
|
|
};
|
|
|
|
cargoHash = "sha256-GZkHPoDKiqTVwRAWXXbELXC1I/KRO+9sshY8/rGbA4A=";
|
|
|
|
# Prevent building and installing xtask, as it's a developer utility not intended for the end user
|
|
cargoBuildFlags = [ "-p humility-cli" ];
|
|
|
|
meta = with lib; {
|
|
description = "Debugger for Hubris";
|
|
mainProgram = "humility";
|
|
homepage = "https://github.com/oxidecomputer/humility";
|
|
license = with licenses; [ mpl20 ];
|
|
maintainers = with maintainers; [ therishidesai ];
|
|
};
|
|
}
|