Skip to content

Commit 068341b

Browse files
akatrevorjayMic92
authored andcommittedJun 27, 2017
iptstate: init at 2.2.6 (#26878)
* Add iptstate package * iptstate: nit pick
1 parent c30cf6f commit 068341b

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
 

‎lib/maintainers.nix

+1
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@
550550
tokudan = "Daniel Frank <git@danielfrank.net>";
551551
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
552552
travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>";
553+
trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
553554
trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";
554555
tstrobel = "Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>";
555556
ttuegel = "Thomas Tuegel <ttuegel@mailbox.org>";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{ stdenv, fetchurl, libnetfilter_conntrack, ncurses }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "iptstate-${version}";
5+
version = "2.2.6";
6+
7+
src = fetchurl {
8+
url = "https://github.com/jaymzh/iptstate/releases/download/v${version}/${name}.tar.bz2";
9+
sha256 = "bef8eb67a4533e53079f397b71e91dd34da23f8cbd65cb2d5b67cb907b00c068";
10+
};
11+
12+
buildInputs = [ libnetfilter_conntrack ncurses ];
13+
14+
meta = with stdenv.lib; {
15+
description = "Conntrack top like tool";
16+
homepage = https://github.com/jaymzh/iptstate;
17+
platforms = platforms.linux;
18+
maintainers = with maintainers; [ trevorj ];
19+
downloadPage = "https://github.com/jaymzh/iptstate/releases";
20+
};
21+
22+
installPhase = ''
23+
install -m755 -D iptstate $out/bin/iptstate
24+
'';
25+
}
26+

‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -11772,6 +11772,8 @@ with pkgs;
1177211772
flex = flex_2_5_35;
1177311773
};
1177411774

11775+
iptstate = callPackage ../os-specific/linux/iptstate { } ;
11776+
1177511777
ipset = callPackage ../os-specific/linux/ipset { };
1177611778

1177711779
irqbalance = callPackage ../os-specific/linux/irqbalance { };

0 commit comments

Comments
 (0)
Please sign in to comment.