nixpkgs-suyu/pkgs/os-specific/linux/ipset/default.nix

24 lines
571 B
Nix
Raw Normal View History

2014-12-28 09:03:54 +01:00
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
2020-01-10 22:37:03 +01:00
pname = "ipset";
version = "7.5";
2014-12-28 09:03:54 +01:00
src = fetchurl {
2020-01-10 22:37:03 +01:00
url = "http://ipset.netfilter.org/${pname}-${version}.tar.bz2";
sha256 = "02vangpxdyyk9z84vc0ba1vbjvfnd6zlniisc029xzkgmdafwym5";
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;
};
}