Loading pkgs/by-name/zl/zlog/package.nix +3 −12 Original line number Diff line number Diff line Loading @@ -2,28 +2,19 @@ lib, stdenv, fetchFromGitHub, fetchpatch, }: stdenv.mkDerivation rec { version = "1.2.17"; version = "1.2.18"; pname = "zlog"; src = fetchFromGitHub { owner = "HardySimpson"; repo = pname; rev = version; sha256 = "sha256-ckpDMRLxObpl8N539DC5u2bPpmD7jM+KugurUfta6tg="; hash = "sha256-79yyOGKgqUR1KI2+ngZd7jfVcz4Dw1IxaYfBJyjsxYc="; }; patches = [ (fetchpatch { name = "CVE-2024-22857.patch"; url = "https://github.com/HardySimpson/zlog/commit/c47f781a9f1e9604f5201e27d046d925d0d48ac4.patch"; hash = "sha256-3FAAHJ2R/OpNpErWXptjEh0x370/jzvK2VhuUuyaOjE="; }) ]; makeFlags = [ "PREFIX=${placeholder "out"}" ]; preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' Loading @@ -33,7 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library"; homepage = "https://hardysimpson.github.io/zlog/"; license = licenses.lgpl21; license = licenses.asl20; maintainers = [ maintainers.matthiasbeyer ]; mainProgram = "zlog-chk-conf"; platforms = platforms.unix; Loading Loading
pkgs/by-name/zl/zlog/package.nix +3 −12 Original line number Diff line number Diff line Loading @@ -2,28 +2,19 @@ lib, stdenv, fetchFromGitHub, fetchpatch, }: stdenv.mkDerivation rec { version = "1.2.17"; version = "1.2.18"; pname = "zlog"; src = fetchFromGitHub { owner = "HardySimpson"; repo = pname; rev = version; sha256 = "sha256-ckpDMRLxObpl8N539DC5u2bPpmD7jM+KugurUfta6tg="; hash = "sha256-79yyOGKgqUR1KI2+ngZd7jfVcz4Dw1IxaYfBJyjsxYc="; }; patches = [ (fetchpatch { name = "CVE-2024-22857.patch"; url = "https://github.com/HardySimpson/zlog/commit/c47f781a9f1e9604f5201e27d046d925d0d48ac4.patch"; hash = "sha256-3FAAHJ2R/OpNpErWXptjEh0x370/jzvK2VhuUuyaOjE="; }) ]; makeFlags = [ "PREFIX=${placeholder "out"}" ]; preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' Loading @@ -33,7 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Reliable, high-performance, thread safe, flexible, clear-model, pure C logging library"; homepage = "https://hardysimpson.github.io/zlog/"; license = licenses.lgpl21; license = licenses.asl20; maintainers = [ maintainers.matthiasbeyer ]; mainProgram = "zlog-chk-conf"; platforms = platforms.unix; Loading