2014-12-04 08:26:53 +01:00
|
|
|
{ stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }:
|
2013-07-19 00:29:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-04 08:26:53 +01:00
|
|
|
name = "srecord-1.64";
|
2013-07-19 00:29:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/srecord/${name}.tar.gz";
|
2014-12-04 08:26:53 +01:00
|
|
|
sha256 = "1qk75q0k5vzmm3932q9hqz2gp8n9rrdfjacsswxc02656f3l3929";
|
2013-07-19 00:29:50 +02:00
|
|
|
};
|
|
|
|
|
2014-12-04 08:26:53 +01:00
|
|
|
buildInputs = [ boost libtool groff ghostscript libgcrypt ];
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optionalString
|
|
|
|
(libgcrypt == null) "--without-gcrypt";
|
2013-07-19 00:29:50 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Collection of powerful tools for manipulating EPROM load files";
|
|
|
|
homepage = http://srecord.sourceforge.net/;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|