1{ fetchurl, stdenv, gettext, emacs, curl, check, bc }:
2
3stdenv.mkDerivation rec {
4 name = "recutils-1.5";
5
6 src = fetchurl {
7 url = "mirror://gnu/recutils/${name}.tar.gz";
8 sha256 = "1v2xzwwwhc5j5kmvg4sv6baxjpsfqh8ln7ilv4mgb1408rs7xmky";
9 };
10
11 patches = [ ./glibc.patch ];
12
13 doCheck = true;
14
15 hardeningDisable = [ "format" ];
16
17 buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]);
18
19 meta = {
20 description = "Tools and libraries to access human-editable, text-based databases";
21
22 longDescription =
23 '' GNU Recutils is a set of tools and libraries to access
24 human-editable, text-based databases called recfiles. The data is
25 stored as a sequence of records, each record containing an arbitrary
26 number of named fields.
27 '';
28
29 homepage = http://www.gnu.org/software/recutils/;
30
31 license = stdenv.lib.licenses.gpl3Plus;
32
33 platforms = stdenv.lib.platforms.all;
34 maintainers = [ ];
35 };
36}