libtrace: init at 4.0.28-1

This commit is contained in:
Nico Felbinger
2025-06-13 18:18:13 +02:00
parent aa60bfcd16
commit b139e8d933
+54
View File
@@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
bison,
flex,
zlib,
bzip2,
xz,
libpcap,
wandio,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libtrace";
version = "4.0.28-1";
src = fetchFromGitHub {
owner = "LibtraceTeam";
repo = "libtrace";
tag = finalAttrs.version;
hash = "sha256-impZrZOOORsQaUz04pkCXGxJkXGaCBcJD390hm74peA=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
bison
flex
];
buildInputs = [
zlib
bzip2
xz
libpcap
wandio
];
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^([0-9.-]+)$" ]; };
meta = {
description = "C Library for working with network packet traces";
homepage = "https://github.com/LibtraceTeam/libtrace";
changelog = "https://github.com/LibtraceTeam/libtrace/releases/tag/${finalAttrs.version}";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ felbinger ];
platforms = lib.platforms.unix;
};
})