My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/recutils/default.nix

43 lines
985 B

{ lib
, stdenv
, fetchurl
, bc
, check
, curl
}:
stdenv.mkDerivation rec {
pname = "recutils";
version = "1.9";
src = fetchurl {
url = "mirror://gnu/recutils/${pname}-${version}.tar.gz";
hash = "sha256-YwFZKwAgwUtFZ1fvXUNNSfYCe45fOkmdEzYvIFxIbg4=";
};
hardeningDisable = lib.optional stdenv.cc.isClang "format";
buildInputs = [
curl
];
checkInputs = [
bc
check
];
doCheck = true;
meta = with lib; {
homepage = "https://www.gnu.org/software/recutils/";
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;
};
}