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