3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/ipset/default.nix

24 lines
573 B
Nix
Raw Normal View History

2014-12-28 08:03:54 +00:00
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
2020-01-10 21:37:03 +00:00
pname = "ipset";
2020-03-06 14:59:54 +00:00
version = "7.6";
2014-12-28 08:03:54 +00:00
src = fetchurl {
2020-01-10 21:37:03 +00:00
url = "http://ipset.netfilter.org/${pname}-${version}.tar.bz2";
2020-03-06 14:59:54 +00:00
sha256 = "1ny2spcm6bmpj8vnazssg99k59impr7n84jzkdmdjly1m7548z8f";
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; {
2020-03-06 14:59:54 +00:00
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;
};
}