summary refs log blame commit diff
path: root/pkgs/os-specific/linux/ipset/default.nix
blob: 6696252678dce51372a9a8ecd88c212b2038f956 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                        

                  

                  

                                                                    

    

                                    




                                           
                                                    

                                

    
{ stdenv, fetchurl, pkgconfig, libmnl }:

stdenv.mkDerivation rec {
  pname = "ipset";
  version = "7.5";

  src = fetchurl {
    url = "http://ipset.netfilter.org/${pname}-${version}.tar.bz2";
    sha256 = "02vangpxdyyk9z84vc0ba1vbjvfnd6zlniisc029xzkgmdafwym5";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libmnl ];

  configureFlags = [ "--with-kmod=no" ];

  meta = with stdenv.lib; {
    homepage = http://ipset.netfilter.org/;
    description = "Administration tool for IP sets";
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}