2013-06-25 21:19:31 +01:00
|
|
|
{ composableDerivation, fetchurl, yacc, flex, texLive, libusb }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2008-12-20 01:20:35 +00:00
|
|
|
let edf = composableDerivation.edf; in
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2011-08-23 04:23:34 +01:00
|
|
|
composableDerivation.composableDerivation {} rec {
|
2013-09-12 23:16:53 +01:00
|
|
|
name="avrdude-5.11";
|
2008-12-20 01:20:35 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
src = fetchurl {
|
2013-07-14 03:23:06 +01:00
|
|
|
url = "mirror://savannah/avrdude/${name}.tar.gz";
|
2013-09-12 23:16:53 +01:00
|
|
|
sha256 = "1mwmslqysak25a3x61pj97wygqgk79s5qpp50xzay6yb1zrz85v3";
|
2009-03-06 23:21:24 +00:00
|
|
|
};
|
2007-09-02 09:06:54 +01:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
configureFlags = [ "--disable-dependency-tracking" ];
|
2007-09-02 09:06:54 +01:00
|
|
|
|
2013-06-25 21:19:31 +01:00
|
|
|
buildInputs = [ yacc flex libusb ];
|
2007-09-02 09:06:54 +01:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
flags =
|
2010-07-28 12:55:54 +01:00
|
|
|
edf { name = "doc"; enable = { buildInputs = texLive; configureFlags = ["--enable-doc"]; }; }
|
|
|
|
// edf { name = "parport"; };
|
2007-09-02 09:06:54 +01:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
cfg = {
|
|
|
|
docSupport = false; # untested
|
|
|
|
parportSupport = true;
|
|
|
|
};
|
2007-09-02 09:06:54 +01:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
meta = {
|
|
|
|
license = "GPL-2";
|
|
|
|
description = "AVR Downloader/UploaDEr";
|
|
|
|
homepage = http://savannah.nongnu.org/projects/avrdude;
|
2007-09-02 09:06:54 +01:00
|
|
|
};
|
|
|
|
}
|