1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/tools/misc/recutils/default.nix
2016-09-02 22:01:06 +02:00

39 lines
1 KiB
Nix

{ fetchurl, stdenv, gettext, emacs, curl, check, bc }:
stdenv.mkDerivation rec {
name = "recutils-1.7";
src = fetchurl {
url = "mirror://gnu/recutils/${name}.tar.gz";
sha256 = "0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93";
};
doCheck = true;
hardeningDisable = [ "format" ];
buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]);
postInstall = ''
${emacs}/bin/emacs -Q -batch -f batch-byte-compile $out/share/emacs/site-lisp/*.el #*/
'';
meta = {
description = "Tools and libraries to access human-editable, text-based databases";
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/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
};
}