nixpkgs/pkgs/by-name/zl/zlog/package.nix
Nikolay Korotkiy f2a6f8ea83
zlog: modernize
2025-02-23 00:29:47 +04:00

30 lines
682 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zlog";
version = "1.2.18";
src = fetchFromGitHub {
owner = "HardySimpson";
repo = "zlog";
tag = finalAttrs.version;
hash = "sha256-79yyOGKgqUR1KI2+ngZd7jfVcz4Dw1IxaYfBJyjsxYc=";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library";
homepage = "https://hardysimpson.github.io/zlog/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ matthiasbeyer ];
mainProgram = "zlog-chk-conf";
platforms = lib.platforms.unix;
};
})