dropwatch. 1.5.1 -> 1.5.3 (#119989)
* dropwatch. 1.5.1 -> 1.5.3 https://github.com/nhorman/dropwatch/releases/tag/v1.5.2 https://github.com/nhorman/dropwatch/releases/tag/v1.5.3 Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
082c5c8344
commit
c15541a27c
@ -1,30 +1,47 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
{ lib
|
||||||
, libnl, readline, libbfd, ncurses, zlib }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, libbfd
|
||||||
|
, libnl
|
||||||
|
, libpcap
|
||||||
|
, ncurses
|
||||||
|
, readline
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dropwatch";
|
pname = "dropwatch";
|
||||||
version = "1.5.1";
|
version = "1.5.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nhorman";
|
owner = "nhorman";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1qmax0l7z1qik42c949fnvjh5r6awk4gpgzdsny8iwnmwzjyp8b8";
|
sha256 = "0axx0zzrs7apqnl0r70jyvmgk7cs5wk185id479mapgngibwkyxy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libbfd libnl ncurses readline zlib ];
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
# To avoid running into https://sourceware.org/bugzilla/show_bug.cgi?id=14243 we need to define:
|
];
|
||||||
NIX_CFLAGS_COMPILE = "-DPACKAGE=${pname} -DPACKAGE_VERSION=${version}";
|
buildInputs = [
|
||||||
|
libbfd
|
||||||
|
libnl
|
||||||
|
libpcap
|
||||||
|
ncurses
|
||||||
|
readline
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Linux kernel dropped packet monitor";
|
description = "Linux kernel dropped packet monitor";
|
||||||
homepage = "https://github.com/nhorman/dropwatch";
|
homepage = "https://github.com/nhorman/dropwatch";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.c0bw3b ];
|
maintainers = with maintainers; [ c0bw3b ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user