nixpkgs/pkgs/os-specific/linux/ipset/default.nix
2017-11-23 20:30:22 +01:00

24 lines
597 B
Nix

{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
name = "ipset-6.34";
src = fetchurl {
url = "http://ipset.netfilter.org/${name}.tar.bz2";
sha256 = "106nv1ngcvap0mqmb6jm07lc1q3w796rkzc1vrfs4yhbcwdq63np";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libmnl ];
configureFlags = [ "--with-kmod=no" ];
meta = with stdenv.lib; {
homepage = http://ipset.netfilter.org/;
description = "Administration tool for IP sets";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}