2021-01-18 22:50:56 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl }:
|
2014-12-28 00:03:54 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-01-10 13:37:03 -08:00
|
|
|
pname = "ipset";
|
2021-02-21 11:26:40 -08:00
|
|
|
version = "7.11";
|
2014-12-28 00:03:54 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-10 13:37:03 -08:00
|
|
|
url = "http://ipset.netfilter.org/${pname}-${version}.tar.bz2";
|
2021-02-21 11:26:40 -08:00
|
|
|
sha256 = "sha256-MVG6rTDx2eMXsqtPL1qnqfe03BH8+P5zrNDcC126v30=";
|
2014-12-28 00:03:54 -08:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-08-28 17:49:15 -07:00
|
|
|
buildInputs = [ libmnl ];
|
2014-12-28 00:03:54 -08:00
|
|
|
|
|
|
|
configureFlags = [ "--with-kmod=no" ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-06 06:59:54 -08:00
|
|
|
homepage = "http://ipset.netfilter.org/";
|
2014-12-28 10:41:06 -08:00
|
|
|
description = "Administration tool for IP sets";
|
2014-12-28 00:03:54 -08:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|