2010-12-21 17:26:34 +01:00
|
|
|
{ fetchurl, stdenv, gettext, emacs, curl, check, bc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-01-06 15:37:59 +01:00
|
|
|
name = "recutils-1.1";
|
2010-12-21 17:26:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/recutils/${name}.tar.gz";
|
2011-01-06 15:37:59 +01:00
|
|
|
sha256 = "0qkgbkzc5wknkw26q78dxn6sbbixzj7d1xpj1wpg6lq40pxacdbi";
|
2010-12-21 17:26:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]);
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU Recutils, 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 = "GPLv3+";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
};
|
|
|
|
}
|