2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }:
|
2013-07-18 23:29:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 11:34:30 +01:00
|
|
|
pname = "srecord";
|
|
|
|
version = "1.64";
|
2013-07-18 23:29:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 11:34:30 +01:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.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 ];
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
configureFlags = lib.optional (libgcrypt == null) "--without-gcrypt";
|
2013-07-18 23:29:50 +01:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2013-07-18 23:29:50 +01:00
|
|
|
description = "Collection of powerful tools for manipulating EPROM load files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://srecord.sourceforge.net/";
|
2013-07-18 23:29:50 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2021-01-23 12:26:19 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2013-07-18 23:29:50 +01:00
|
|
|
};
|
|
|
|
}
|