2014-12-04 07:26:53 +00:00
|
|
|
{ stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }:
|
2013-07-18 23:29:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-04 07:26:53 +00:00
|
|
|
name = "srecord-1.64";
|
2013-07-18 23:29:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/srecord/${name}.tar.gz";
|
2014-12-04 07:26:53 +00:00
|
|
|
sha256 = "1qk75q0k5vzmm3932q9hqz2gp8n9rrdfjacsswxc02656f3l3929";
|
2013-07-18 23:29:50 +01:00
|
|
|
};
|
|
|
|
|
2014-12-04 07:26:53 +00:00
|
|
|
buildInputs = [ boost libtool groff ghostscript libgcrypt ];
|
|
|
|
|
2018-08-03 17:52:40 +01:00
|
|
|
configureFlags = [
|
|
|
|
(stdenv.lib.optional (libgcrypt == null) "--without-gcrypt")
|
|
|
|
];
|
2013-07-18 23:29:50 +01: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 14:08:59 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-07-18 23:29:50 +01:00
|
|
|
};
|
|
|
|
}
|