2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-08-28 16:12:03 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libipfix";
|
2017-08-28 16:12:03 +00:00
|
|
|
version = "110209";
|
|
|
|
src = fetchurl {
|
2018-11-24 18:58:03 +00:00
|
|
|
url = "mirror://sourceforge/libipfix/files/libipfix/libipfix_110209.tgz";
|
2017-08-28 16:12:03 +00:00
|
|
|
sha256 = "0h7v0sxjjdc41hl5vq2x0yhyn04bczl11bqm97825mivrvfymhn6";
|
|
|
|
};
|
2022-06-03 17:35:56 +00:00
|
|
|
|
|
|
|
# Workaround build failure on -fno-common toolchains:
|
|
|
|
# ld: ../libmisc/libmisc.a(mlog.o):/build/libipfix_110209/libmisc/misc.h:111: multiple definition of
|
|
|
|
# `ht_globals'; collector.o:/build/libipfix_110209/collector/../libmisc/misc.h:111: first defined here
|
|
|
|
# TODO: drop the workaround when fix ix released:
|
|
|
|
# https://sourceforge.net/p/libipfix/code/ci/a501612c6b8ac6f2df16b366f7a92211382bae6b/
|
|
|
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://libipfix.sourceforge.net/";
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "The libipfix C-library implements the IPFIX protocol defined by the IP Flow Information Export working group of the IETF";
|
2017-08-28 16:12:03 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ lewo ];
|
|
|
|
};
|
|
|
|
}
|