humility: update libusb alias and vendor hash

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