forked from mirrors/nixpkgs
ipset: Add derivation
This commit is contained in:
parent
3c050d00a5
commit
c17fda769a
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 ];
|
||||
};
|
||||
}
|
|
@ -8177,6 +8177,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