nixpkgs/pkgs/tools/misc/recutils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
957 B
Nix
Raw Normal View History

2021-10-13 15:35:05 +00:00
{ lib
, stdenv
, fetchurl
, bc
, check
, curl
}:
stdenv.mkDerivation rec {
pname = "recutils";
version = "1.8";
src = fetchurl {
2021-10-13 15:35:05 +00:00
url = "mirror://gnu/recutils/${pname}-${version}.tar.gz";
hash = "sha256-346uaVk/26U+Jky/SyMH37ghIMCbb6sj4trVGomlsZM=";
};
2016-04-06 09:36:58 +00:00
hardeningDisable = [ "format" ];
2021-10-13 15:35:05 +00:00
buildInputs = [
curl
];
2021-10-13 15:35:05 +00:00
checkInputs = [
check
bc
];
doCheck = true;
2021-10-13 15:35:05 +00:00
meta = with lib; {
homepage = "https://www.gnu.org/software/recutils/";
2021-10-13 15:35:05 +00:00
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.
'';
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.all;
};
}