2014-12-28 08:03:54 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-08 00:28:06 +00:00
|
|
|
name = "ipset-6.27";
|
2014-12-28 08:03:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ipset.netfilter.org/${name}.tar.bz2";
|
2015-11-08 00:28:06 +00:00
|
|
|
sha256 = "0ddj66wr0xh9v6ks430l8r80lj2s9qc44d9c2ik48lwm0fl9fj3j";
|
2014-12-28 08:03:54 +00:00
|
|
|
};
|
|
|
|
|
2015-08-29 01:49:15 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libmnl ];
|
2014-12-28 08:03:54 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--with-kmod=no" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://ipset.netfilter.org/;
|
2014-12-28 18:41:06 +00:00
|
|
|
description = "Administration tool for IP sets";
|
2014-12-28 08:03:54 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|