nixpkgs-suyu/pkgs/development/libraries/zlog/default.nix
2020-06-30 19:16:30 -05:00

24 lines
623 B
Nix

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