Unverified Commit cdc5c9bb authored by Theodore Ni's avatar Theodore Ni
Browse files

humility: update libusb alias and vendor hash

parent 9bbb7fb6
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, libusb
, libusb1
, libftdi
, cargo-readme
, pkg-config
, AppKit
}:

rustPlatform.buildRustPackage rec {
@@ -12,7 +14,9 @@ rustPlatform.buildRustPackage rec {
  version = "unstable-2022-09-15";

  nativeBuildInputs = [ pkg-config cargo-readme ];
  buildInputs = [ libusb libftdi ];
  buildInputs = [ libusb1 libftdi ] ++ lib.optionals stdenv.isDarwin [
    AppKit
  ];

  src = fetchFromGitHub {
    owner = "oxidecomputer";
@@ -21,7 +25,7 @@ rustPlatform.buildRustPackage rec {
    sha256 = "sha256-yW7QcxTWbL2YsV2bvfhbqQ2nawlPQbYxBfIGCWo28GY=";
  };

  cargoSha256 = "sha256-UhO8VO3OCfYc8Xq/P+l9f5ZrhOD/TBzSClAeAXLJLlc=";
  cargoSha256 = "sha256-IurLI0ZQNpmiYwfcMZuxi7FWtSX+Ts7GYWFwUfD+Ji8=";

  meta = with lib; {
    description = "Debugger for Hubris";
+3 −1
Original line number Diff line number Diff line
@@ -24995,7 +24995,9 @@ with pkgs;
  htop-vim = callPackage ../tools/system/htop/htop-vim.nix { };
  humility = callPackage ../development/tools/rust/humility {};
  humility = callPackage ../development/tools/rust/humility {
    inherit (darwin.apple_sdk.frameworks) AppKit;
  };
  btop = callPackage ../tools/system/btop {
    stdenv = gcc11Stdenv;