1 { lib, stdenv, fetchurl, libnetfilter_conntrack, ncurses }:
3 stdenv.mkDerivation rec {
8 url = "https://github.com/jaymzh/iptstate/releases/download/v${version}/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-iW3wYCiFRWomMfeV1jT8ITEeUF+MkQNI5jEoYPIJeVU=";
12 buildInputs = [ libnetfilter_conntrack ncurses ];
15 description = "Conntrack top like tool";
16 mainProgram = "iptstate";
17 homepage = "https://github.com/jaymzh/iptstate";
18 platforms = platforms.linux;
19 maintainers = with maintainers; [ trevorj ];
20 downloadPage = "https://github.com/jaymzh/iptstate/releases";
21 license = licenses.zlib;
25 install -m755 -D iptstate $out/bin/iptstate