2021-10-13 17:35:05 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, bc
|
|
|
|
, check
|
|
|
|
, curl
|
|
|
|
}:
|
2010-12-21 17:26:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 11:42:09 +02:00
|
|
|
pname = "recutils";
|
|
|
|
version = "1.8";
|
2010-12-21 17:26:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-10-13 17:35:05 +02:00
|
|
|
url = "mirror://gnu/recutils/${pname}-${version}.tar.gz";
|
|
|
|
hash = "sha256-346uaVk/26U+Jky/SyMH37ghIMCbb6sj4trVGomlsZM=";
|
2010-12-21 17:26:34 +01:00
|
|
|
};
|
|
|
|
|
2016-04-06 11:36:58 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-10-13 17:35:05 +02:00
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
];
|
2018-08-08 23:35:55 +02:00
|
|
|
|
2021-10-13 17:35:05 +02:00
|
|
|
checkInputs = [
|
|
|
|
check
|
|
|
|
bc
|
|
|
|
];
|
2018-08-08 23:35:55 +02:00
|
|
|
doCheck = true;
|
2010-12-21 17:26:34 +01:00
|
|
|
|
2021-10-13 17:35:05 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.gnu.org/software/recutils/";
|
2021-10-13 17:35:05 +02: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;
|
2010-12-21 17:26:34 +01:00
|
|
|
};
|
|
|
|
}
|