at 17.09-beta 31 lines 1.1 kB view raw
1{ stdenv, fetchurl, pkgconfig, libusb1 }: 2 3stdenv.mkDerivation rec { 4 name="dfu-util-${version}"; 5 version = "0.9"; 6 7 nativeBuildInputs = [ pkgconfig ]; 8 buildInputs = [ libusb1 ]; 9 10 src = fetchurl { 11 url = "http://dfu-util.sourceforge.net/releases/${name}.tar.gz"; 12 sha256 = "0czq73m92ngf30asdzrfkzraag95hlrr74imbanqq25kdim8qhin"; 13 }; 14 15 meta = with stdenv.lib; { 16 description = "Device firmware update (DFU) USB programmer"; 17 longDescription = '' 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. 20 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. 25 ''; 26 homepage = http://dfu-util.gnumonks.org/; 27 license = licenses.gpl2Plus; 28 platforms = platforms.unix; 29 maintainers = [ maintainers.fpletz ]; 30 }; 31}