2010-12-21 16:26:34 +00:00
|
|
|
{ fetchurl, stdenv, gettext, emacs, curl, check, bc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-02 19:22:49 +00:00
|
|
|
name = "recutils-1.7";
|
2010-12-21 16:26:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/recutils/${name}.tar.gz";
|
2016-09-02 19:22:49 +00:00
|
|
|
sha256 = "0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93";
|
2010-12-21 16:26:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2016-04-06 09:36:58 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2010-12-21 16:26:34 +00:00
|
|
|
buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]);
|
|
|
|
|
2016-09-02 19:22:49 +00:00
|
|
|
postInstall = ''
|
|
|
|
${emacs}/bin/emacs -Q -batch -f batch-byte-compile $out/share/emacs/site-lisp/*.el #*/
|
|
|
|
'';
|
|
|
|
|
2010-12-21 16:26:34 +00:00
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Tools and libraries to access human-editable, text-based databases";
|
2010-12-21 16:26:34 +00:00
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' GNU Recutils is a set of tools and libraries to access
|
|
|
|
human-editable, text-based databases called recfiles. The data is
|
|
|
|
stored as a sequence of records, each record containing an arbitrary
|
|
|
|
number of named fields.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/recutils/;
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-12-21 16:26:34 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2013-08-16 21:44:33 +00:00
|
|
|
maintainers = [ ];
|
2010-12-21 16:26:34 +00:00
|
|
|
};
|
|
|
|
}
|