Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 23 lines 579 B view raw
1{ lib, stdenv, fetchurl, pkg-config, libmnl }: 2 3stdenv.mkDerivation rec { 4 pname = "ipset"; 5 version = "7.22"; 6 7 src = fetchurl { 8 url = "https://ipset.netfilter.org/${pname}-${version}.tar.bz2"; 9 sha256 = "sha256-9qxaR8Pvn0xn/L31Xnkcv+OOsKSqG6rNEmRqFAq6zdk="; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 buildInputs = [ libmnl ]; 14 15 configureFlags = [ "--with-kmod=no" ]; 16 17 meta = with lib; { 18 homepage = "https://ipset.netfilter.org/"; 19 description = "Administration tool for IP sets"; 20 license = licenses.gpl2Plus; 21 platforms = platforms.linux; 22 }; 23}