1 { lib, stdenv, fetchurl, pkg-config, libusb1 }:
3 stdenv.mkDerivation rec {
7 nativeBuildInputs = [ pkg-config ];
8 buildInputs = [ libusb1 ];
11 url = "https://dfu-util.sourceforge.net/releases/${pname}-${version}.tar.gz";
12 sha256 = "sha256-tLU7ohqC7349TEffKVKt9fpJT0mbawtXxYxdBK6P8Z4=";
16 description = "Device firmware update (DFU) USB programmer";
18 dfu-util is a program that implements the host (PC) side of the USB
19 DFU 1.0 and 1.1 (Universal Serial Bus Device Firmware Upgrade) protocol.
21 DFU is intended to download and upload firmware to devices connected over
22 USB. It ranges from small devices like micro-controller boards up to mobile
23 phones. With dfu-util you are able to download firmware to your device or
24 upload firmware from it.
26 homepage = "https://dfu-util.sourceforge.net";
27 license = licenses.gpl2Plus;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.fpletz ];