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 ];
|
|
|
|
|
2018-08-03 18:52:40 +02:00
|
|
|
configureFlags = [
|
|
|
|
(stdenv.lib.optional (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 ];
|
2017-07-30 15:08:59 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-07-19 00:29:50 +02:00
|
|
|
};
|
|
|
|
}
|