2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "1.2.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "zlog";
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "HardySimpson";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "10hzifgpml7jm43y6v8c8q0cr9ziyx9qxznafxyw6glhnlqnb7pb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description= "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library";
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://hardysimpson.github.io/zlog/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl21;
|
2020-07-18 16:06:22 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|