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

25 lines
658 B
Nix
Raw Normal View History

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