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

                         
                  
                   

                  
                                                                   
                                                                   

    
                                     
                           


                                        
                    
                                             
                                                    

                                

    
{ lib, stdenv, fetchurl, pkg-config, libmnl }:

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

  src = fetchurl {
    url = "http://ipset.netfilter.org/${pname}-${version}.tar.bz2";
    sha256 = "sha256-JwMcNtNVkHAxzOQeZVU+mbsBPXYvzVU5L2PX6Edg+QA=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libmnl ];

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

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