ipset: Add derivation
This commit is contained in:
parent
c53f532725
commit
c34daa0b48
22
pkgs/os-specific/linux/ipset/default.nix
Normal file
22
pkgs/os-specific/linux/ipset/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libmnl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ipset-6.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ipset.netfilter.org/${name}.tar.bz2";
|
||||
sha256 = "1l4mx78473azf7cb19fxf37gmj95k1zzabimbcmlg9h07wlgqw9h";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig 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 ];
|
||||
};
|
||||
}
|
|
@ -8176,6 +8176,8 @@ let
|
|||
|
||||
iptables = callPackage ../os-specific/linux/iptables { };
|
||||
|
||||
ipset = callPackage ../os-specific/linux/ipset { };
|
||||
|
||||
iw = callPackage ../os-specific/linux/iw { };
|
||||
|
||||
iwlwifi = callPackage ../os-specific/linux/firmware/iwlwifi { };
|
||||
|
|
Loading…
Reference in a new issue