2022-08-21 23:55:14 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-07-12 10:26:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-08-21 23:55:14 +00:00
|
|
|
version = "1.2.16";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "zlog";
|
2015-07-12 10:26:31 +00:00
|
|
|
|
2020-07-01 00:16:30 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "HardySimpson";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-21 23:55:14 +00:00
|
|
|
sha256 = "sha256-wpaMbFKSwTIFe3p65pMJ6Pf2qKp1uYZCyyinGU4AxrQ=";
|
2015-07-12 10:26:31 +00:00
|
|
|
};
|
|
|
|
|
2020-07-01 00:16:30 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2015-07-12 10:26:31 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-07-12 10:26:31 +00:00
|
|
|
description= "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library";
|
2020-07-01 00:16:30 +00:00
|
|
|
homepage = "https://hardysimpson.github.io/zlog/";
|
2015-07-12 10:26:31 +00:00
|
|
|
license = licenses.lgpl21;
|
2019-02-20 18:52:48 +00:00
|
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
2022-05-05 00:52:27 +00:00
|
|
|
mainProgram = "zlog-chk-conf";
|
|
|
|
platforms = platforms.unix;
|
2015-07-12 10:26:31 +00:00
|
|
|
};
|
|
|
|
}
|