avrdude: add libusb-compat-0_1 dependency

For some programmers, avrdude displays the following error: avrdude error: avrdude was compiled without usb support.
According to this StackOverflow question [1], this is due to libusb-0.1 being missing during compilation.
This commit adds this missing library.

[1] https://stackoverflow.com/questions/69636608/beyond-linux-from-scratch-avrdude-was-compiled-without-usb-support

authored by Aaron Kaiser and committed by Bjørn Forsman 7c87c474 e81df373

+2 -1
+2 -1
pkgs/development/embedded/avrdude/default.nix
··· 1 { lib, callPackage, stdenv, fetchFromGitHub, cmake, bison, flex, libusb1, elfutils 2 - , libftdi1, readline, hidapi, libserialport 3 # Documentation building doesn't work on Darwin. It fails with: 4 # Undefined subroutine &Locale::Messages::dgettext called in ... texi2html 5 # ··· 35 libftdi1 36 libserialport 37 readline 38 ]; 39 40 postPatch = lib.optionalString (!useElfutils) ''
··· 1 { lib, callPackage, stdenv, fetchFromGitHub, cmake, bison, flex, libusb1, elfutils 2 + , libftdi1, readline, hidapi, libserialport, libusb-compat-0_1 3 # Documentation building doesn't work on Darwin. It fails with: 4 # Undefined subroutine &Locale::Messages::dgettext called in ... texi2html 5 # ··· 35 libftdi1 36 libserialport 37 readline 38 + libusb-compat-0_1 39 ]; 40 41 postPatch = lib.optionalString (!useElfutils) ''