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