nixpkgs/pkgs/development/libraries/zlog/default.nix

25 lines
623 B
Nix
Raw Normal View History

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