libprotoident: init at 2.0.15-2

+48
+48
pkgs/by-name/li/libprotoident/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + autoreconfHook, 6 + pkg-config, 7 + bison, 8 + flex, 9 + libtrace, 10 + libflowmanager, 11 + nix-update-script, 12 + }: 13 + 14 + stdenv.mkDerivation (finalAttrs: { 15 + pname = "libprotoident"; 16 + version = "2.0.15-2"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "LibtraceTeam"; 20 + repo = "libprotoident"; 21 + tag = finalAttrs.version; 22 + hash = "sha256-XiZ/UqF11eeeGudNXJqtTfPn5xWvHPKPrgqV7iHii0M="; 23 + }; 24 + 25 + strictDeps = true; 26 + 27 + nativeBuildInputs = [ 28 + autoreconfHook 29 + pkg-config 30 + bison 31 + flex 32 + ]; 33 + buildInputs = [ 34 + libtrace 35 + libflowmanager 36 + ]; 37 + 38 + passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^([0-9.-]+)$" ]; }; 39 + 40 + meta = { 41 + description = "Network traffic classification library that requires minimal application payload"; 42 + homepage = "https://github.com/LibtraceTeam/libprotoident"; 43 + changelog = "https://github.com/LibtraceTeam/libprotoident/releases/tag/${finalAttrs.version}"; 44 + license = lib.licenses.lgpl3Plus; 45 + maintainers = with lib.maintainers; [ felbinger ]; 46 + platforms = lib.platforms.unix; 47 + }; 48 + })