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

25 lines
657 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-02-26 18:20:40 +01:00
version = "0.7.2";
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-02-26 18:20:40 +01:00
sha256 = "15gr99y1z9vbvhrkd25zqhnzhg6zjmaam3vfjzf2mazd39mx7d0x";
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 ];
2018-10-17 19:55:06 +02:00
platforms = platforms.unix;
2014-03-07 13:28:19 +01:00
};
}