2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libusb1-axoloti }:
|
2017-10-04 16:11:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dfu-util";
|
2017-10-04 16:11:52 +01:00
|
|
|
version = "0.8";
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-10-04 16:11:52 +01:00
|
|
|
buildInputs = [ libusb1-axoloti ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://dfu-util.sourceforge.net/releases/${pname}-${version}.tar.gz";
|
2017-10-04 16:11:52 +01:00
|
|
|
sha256 = "0n7h08avlzin04j93m6hkq9id6hxjiiix7ff9gc2n89aw6dxxjsm";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-04 16:11:52 +01:00
|
|
|
description = "Device firmware update (DFU) USB programmer";
|
|
|
|
longDescription = ''
|
|
|
|
dfu-util is a program that implements the host (PC) side of the USB
|
|
|
|
DFU 1.0 and 1.1 (Universal Serial Bus Device Firmware Upgrade) protocol.
|
|
|
|
|
|
|
|
DFU is intended to download and upload firmware to devices connected over
|
|
|
|
USB. It ranges from small devices like micro-controller boards up to mobile
|
|
|
|
phones. With dfu-util you are able to download firmware to your device or
|
|
|
|
upload firmware from it.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://dfu-util.sourceforge.net";
|
2017-10-04 16:11:52 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|