summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2015-07-22 23:07:31 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2015-07-23 10:28:45 +0200
commit5955f815efb1eb5111be2346287ef81d79d220f8 (patch)
tree3ca9756b37a12ecf1c440a37649ab88a9721b3df /pkgs/development/tools
parentdfeaaa89098bc89f79d1686faf05b1a55d36fa54 (diff)
downloadnixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.tar
nixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.tar.gz
nixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.tar.bz2
nixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.tar.lz
nixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.tar.xz
nixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.tar.zst
nixpkgs-5955f815efb1eb5111be2346287ef81d79d220f8.zip
dfu-util: init at 0.8
Since the website and Sourceforge are currently down, the source tarball
is fetched from Debian mirrors.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/dfu-util/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/dfu-util/default.nix b/pkgs/development/tools/misc/dfu-util/default.nix
new file mode 100644
index 00000000000..f3a986e6432
--- /dev/null
+++ b/pkgs/development/tools/misc/dfu-util/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, pkgconfig, libusb1 }:
+
+stdenv.mkDerivation rec {
+  name="dfu-util-${version}";
+  version = "0.8";
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ libusb1 ];
+
+  src = fetchurl {
+    url = "mirror://debian/pool/main/d/dfu-util/dfu-util_0.8.orig.tar.gz";
+    sha256 = "0n7h08avlzin04j93m6hkq9id6hxjiiix7ff9gc2n89aw6dxxjsm";
+  };
+
+  meta = with stdenv.lib; {
+    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.
+    '';
+    homepage = http://dfu-util.gnumonks.org/;
+    license = licenses.gpl2Plus;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.fpletz ];
+  };
+}