evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ip / iptstate / package.nix
blobd1e193f831ca97fed269427bec3479cb209de3ff
1 { lib, stdenv, fetchurl, libnetfilter_conntrack, ncurses }:
3 stdenv.mkDerivation rec {
4   pname = "iptstate";
5   version = "2.2.7";
7   src = fetchurl {
8     url = "https://github.com/jaymzh/iptstate/releases/download/v${version}/${pname}-${version}.tar.bz2";
9     sha256 = "sha256-iW3wYCiFRWomMfeV1jT8ITEeUF+MkQNI5jEoYPIJeVU=";
10   };
12   buildInputs = [ libnetfilter_conntrack ncurses ];
14   meta = with lib; {
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;
22   };
24   installPhase = ''
25     install -m755 -D iptstate $out/bin/iptstate
26   '';