humility: update libusb alias and vendor hash

+10 -4
+7 -3
pkgs/development/tools/rust/humility/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , rustPlatform 3 4 , fetchFromGitHub 4 - , libusb 5 + , libusb1 5 6 , libftdi 6 7 , cargo-readme 7 8 , pkg-config 9 + , AppKit 8 10 }: 9 11 10 12 rustPlatform.buildRustPackage rec { ··· 12 14 version = "unstable-2022-09-15"; 13 15 14 16 nativeBuildInputs = [ pkg-config cargo-readme ]; 15 - buildInputs = [ libusb libftdi ]; 17 + buildInputs = [ libusb1 libftdi ] ++ lib.optionals stdenv.isDarwin [ 18 + AppKit 19 + ]; 16 20 17 21 src = fetchFromGitHub { 18 22 owner = "oxidecomputer"; ··· 21 25 sha256 = "sha256-yW7QcxTWbL2YsV2bvfhbqQ2nawlPQbYxBfIGCWo28GY="; 22 26 }; 23 27 24 - cargoSha256 = "sha256-UhO8VO3OCfYc8Xq/P+l9f5ZrhOD/TBzSClAeAXLJLlc="; 28 + cargoSha256 = "sha256-IurLI0ZQNpmiYwfcMZuxi7FWtSX+Ts7GYWFwUfD+Ji8="; 25 29 26 30 meta = with lib; { 27 31 description = "Debugger for Hubris";
+3 -1
pkgs/top-level/all-packages.nix
··· 24995 24995 24996 24996 htop-vim = callPackage ../tools/system/htop/htop-vim.nix { }; 24997 24997 24998 - humility = callPackage ../development/tools/rust/humility {}; 24998 + humility = callPackage ../development/tools/rust/humility { 24999 + inherit (darwin.apple_sdk.frameworks) AppKit; 25000 + }; 24999 25001 25000 25002 btop = callPackage ../tools/system/btop { 25001 25003 stdenv = gcc11Stdenv;