nixpkgs/pkgs/tools/misc/recutils/default.nix
Ludovic Courtès bd311de25c GNU Recutils 1.0.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25227
2010-12-21 16:26:34 +00:00

33 lines
929 B
Nix

{ fetchurl, stdenv, gettext, emacs, curl, check, bc }:
stdenv.mkDerivation rec {
name = "recutils-1.0";
src = fetchurl {
url = "mirror://gnu/recutils/${name}.tar.gz";
sha256 = "1m8ir31wjybm9x8bv73f330kb2hkmc8lrpwgd5h9avva4x5b7g5d";
};
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 ];
};
}