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

24 lines
575 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, libmnl }:
2014-12-28 08:03:54 +00:00
stdenv.mkDerivation rec {
2020-01-10 21:37:03 +00:00
pname = "ipset";
2021-07-29 22:45:05 +00:00
version = "7.14";
2014-12-28 08:03:54 +00:00
src = fetchurl {
url = "https://ipset.netfilter.org/${pname}-${version}.tar.bz2";
2021-07-29 22:45:05 +00:00
sha256 = "sha256-JwMcNtNVkHAxzOQeZVU+mbsBPXYvzVU5L2PX6Edg+QA=";
2014-12-28 08:03:54 +00:00
};
nativeBuildInputs = [ pkg-config ];
2015-08-29 00:49:15 +00:00
buildInputs = [ libmnl ];
2014-12-28 08:03:54 +00:00
configureFlags = [ "--with-kmod=no" ];
meta = with lib; {
homepage = "https://ipset.netfilter.org/";
2014-12-28 18:41:06 +00:00
description = "Administration tool for IP sets";
2014-12-28 08:03:54 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}