nixpkgs-suyu/pkgs/development/tools/misc/dfu-programmer/default.nix

24 lines
625 B
Nix
Raw Normal View History

2014-08-12 13:42:10 +02:00
{ stdenv, fetchurl, libusb }:
2014-03-07 13:28:19 +01:00
let
2015-01-10 14:41:11 +01:00
version = "0.7.1";
2014-03-07 13:28:19 +01:00
in
stdenv.mkDerivation rec {
name="dfu-programmer-${version}";
2014-08-12 13:42:10 +02:00
buildInputs = [ libusb ];
2014-03-07 13:28:19 +01:00
src = fetchurl {
url = "mirror://sourceforge/dfu-programmer/${name}.tar.gz";
2015-01-10 14:41:11 +01:00
sha256 = "0cwy7z5h6f13yx9bkgh61bphzii6lcl21j2gckskphf37bfzazwz";
2014-03-07 13:28:19 +01:00
};
2014-08-12 13:42:10 +02:00
configureFlags = [ "--disable-libusb_1_0" ];
2014-03-07 13:28:19 +01:00
meta = with stdenv.lib; {
license = licenses.gpl2;
2014-11-11 14:20:43 +01:00
description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
2014-03-07 13:28:19 +01:00
homepage = http://dfu-programmer.sourceforge.net/;
maintainers = [ maintainers.the-kenny ];
};
}