mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
23 lines
543 B
Nix
23 lines
543 B
Nix
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ipset-7.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://ipset.netfilter.org/${name}.tar.bz2";
|
|
sha256 = "110q996yrf74ckpkc5f4pn8j5bqq98f27fsak3ibgr3zwmv435sa";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|