Skip to content

Commit

Permalink
iptstate: init at 2.2.6 (#26878)
Browse files Browse the repository at this point in the history
* Add iptstate package

* iptstate: nit pick
  • Loading branch information
akatrevorjay authored and Mic92 committed Jun 27, 2017
1 parent c30cf6f commit 068341b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@
tokudan = "Daniel Frank <git@danielfrank.net>";
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
travisbhartwell = "Travis B. Hartwell <nafai@travishartwell.net>";
trevorj = "Trevor Joynson <nix@trevor.joynson.io>";
trino = "Hubert Mühlhans <muehlhans.hubert@ekodia.de>";
tstrobel = "Thomas Strobel <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>";
ttuegel = "Thomas Tuegel <ttuegel@mailbox.org>";
Expand Down
26 changes: 26 additions & 0 deletions pkgs/os-specific/linux/iptstate/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, fetchurl, libnetfilter_conntrack, ncurses }:

stdenv.mkDerivation rec {
name = "iptstate-${version}";
version = "2.2.6";

src = fetchurl {
url = "https://github.com/jaymzh/iptstate/releases/download/v${version}/${name}.tar.bz2";
sha256 = "bef8eb67a4533e53079f397b71e91dd34da23f8cbd65cb2d5b67cb907b00c068";
};

buildInputs = [ libnetfilter_conntrack ncurses ];

meta = with stdenv.lib; {
description = "Conntrack top like tool";
homepage = https://github.com/jaymzh/iptstate;
platforms = platforms.linux;
maintainers = with maintainers; [ trevorj ];
downloadPage = "https://github.com/jaymzh/iptstate/releases";
};

installPhase = ''
install -m755 -D iptstate $out/bin/iptstate
'';
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11772,6 +11772,8 @@ with pkgs;
flex = flex_2_5_35;
};

iptstate = callPackage ../os-specific/linux/iptstate { } ;

ipset = callPackage ../os-specific/linux/ipset { };

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

0 comments on commit 068341b

Please sign in to comment.