nfdump: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-04 17:21:08 +01:00
parent c30e3bc5d0
commit cbaf3173f1

View file

@ -1,22 +1,40 @@
{ lib, stdenv, fetchFromGitHub { lib
, autoconf, automake, libtool, pkg-config , stdenv
, bzip2, libpcap, flex, bison }: , fetchFromGitHub
, autoconf
, automake
, libtool
, pkg-config
, bzip2
, libpcap
, flex
, bison
}:
let version = "1.7.1"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "nfdump"; pname = "nfdump";
inherit version; version = "1.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "phaag"; owner = "phaag";
repo = "nfdump"; repo = "nfdump";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-oCaJPx6+C0NQSuUcsP54sycNLt/zaqe5c81dwHNBcnQ="; hash = "sha256-oCaJPx6+C0NQSuUcsP54sycNLt/zaqe5c81dwHNBcnQ=";
}; };
nativeBuildInputs = [ autoconf automake flex libtool pkg-config bison ]; nativeBuildInputs = [
buildInputs = [ bzip2 libpcap ]; autoconf
automake
flex
libtool
pkg-config
bison
];
buildInputs = [
bzip2
libpcap
];
preConfigure = '' preConfigure = ''
# The script defaults to glibtoolize on darwin, so we pass the correct # The script defaults to glibtoolize on darwin, so we pass the correct
@ -37,8 +55,9 @@ stdenv.mkDerivation {
nfdump is a set of tools for working with netflow data. nfdump is a set of tools for working with netflow data.
''; '';
homepage = "https://github.com/phaag/nfdump"; homepage = "https://github.com/phaag/nfdump";
changelog = "https://github.com/phaag/nfdump/releases/tag/v${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.takikawa ]; maintainers = with maintainers; [ takikawa ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }