nixpkgs/pkgs/tools/misc/xburst-tools/default.nix
Lluís Batlle i Rossell 537ad15e86 Adding xburst-tools to manage the USB_BOOT mode of the Ben Nanonote (reflashing, ...)
I add the 'confuse' library as a side effect.

svn path=/nixpkgs/trunk/; revision=22817
2010-07-29 23:25:42 +00:00

31 lines
773 B
Nix

{stdenv, fetchgit, libusb, autoconf, automake, confuse}:
let
version = "2010-07-29";
in
stdenv.mkDerivation {
name = "xburst-tools-${version}";
patches = [ ./gcc-4.4.patch ];
src = fetchgit {
url = git://projects.qi-hardware.com/xburst-tools.git;
rev = "00be212db22643ad602eaf60b30eb943f119e78d";
sha256 = "66ea1a81b71bad599d76691f07a986f9bb2ccecf397e8486b661d8baace3460e";
};
preConfigure = ''
sh autogen.sh
'';
buildInputs = [ libusb autoconf automake confuse ];
meta = {
description = "Qi tools to access the Ben Nanonote USB_BOOT mode";
license = "GPLv3";
homepage = http://www.linux-mtd.infradead.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}