After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19.tar.gz \
--argstr baseRev 78e9caf153f5a339bf1d4c000ff6f0a503a369c8
result/bin/apply-formatting $NIXPKGS_PATH
36 lines
965 B
Nix
36 lines
965 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eventlog";
|
|
version = "0.2.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "balabit";
|
|
repo = "eventlog";
|
|
rev = "a5c19163ba131f79452c6dfe4e31c2b4ce4be741";
|
|
sha256 = "0a2za3hs7wzy14z7mfgldy1r9xdlqv97yli9wlm8xldr0amsx869";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Syslog event logger library";
|
|
longDescription = ''
|
|
The EventLog library aims to be a replacement of the simple syslog() API
|
|
provided on UNIX systems. The major difference between EventLog and
|
|
syslog is that EventLog tries to add structure to messages.
|
|
|
|
Where you had a simple non-structrured string in syslog() you have a
|
|
combination of description and tag/value pairs.
|
|
'';
|
|
homepage = "https://www.balabit.com/support/community/products/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|