2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl }:
|
2014-12-28 09:03:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-01-10 22:37:03 +01:00
|
|
|
pname = "ipset";
|
2021-08-06 02:10:45 +02:00
|
|
|
version = "7.15";
|
2014-12-28 09:03:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-31 19:01:50 +02:00
|
|
|
url = "https://ipset.netfilter.org/${pname}-${version}.tar.bz2";
|
2021-08-06 02:10:45 +02:00
|
|
|
sha256 = "sha256-ClVFqq22QBQsH4iNNmp43fhyR5mWf6IGhqcAU71iF1E=";
|
2014-12-28 09:03:54 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-08-29 02:49:15 +02:00
|
|
|
buildInputs = [ libmnl ];
|
2014-12-28 09:03:54 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--with-kmod=no" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-07-31 19:01:50 +02:00
|
|
|
homepage = "https://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;
|
|
|
|
};
|
|
|
|
}
|