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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
575 B
Nix
Raw Normal View History

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