iptstate: init at 2.2.6 (#26878)
* Add iptstate package * iptstate: nit pick
This commit is contained in:
committed by
Jörg Thalheim
parent
c30cf6f0f1
commit
068341b1c7
26
pkgs/os-specific/linux/iptstate/default.nix
Normal file
26
pkgs/os-specific/linux/iptstate/default.nix
Normal file
@@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user