It was using libusb-compat instead of libusb1, and the former no longer propagates the latter. While at it, also move cmake to nativeBuildInputs and format the expression.
cabal2nix