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