From 693d87982737c4819c73303db8b079c9d184240f Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Tue, 8 Nov 2022 02:50:48 +0300 Subject: [PATCH] fwbuilder: fix build Also reformat the derivation a bit and add Ninja support. --- pkgs/tools/security/fwbuilder/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/fwbuilder/default.nix b/pkgs/tools/security/fwbuilder/default.nix index 15b67932c55e..bbc6d3b55153 100644 --- a/pkgs/tools/security/fwbuilder/default.nix +++ b/pkgs/tools/security/fwbuilder/default.nix @@ -2,7 +2,7 @@ , stdenv , fetchFromGitHub , cmake -, qtbase +, ninja , wrapQtAppsHook , wayland , wayland-protocols @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake + ninja wrapQtAppsHook ]; @@ -33,13 +34,20 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = [ "-Wno-error=misleading-indentation" + "-Wno-error=deprecated-declarations" ]; meta = with lib; { description = "GUI Firewall Management Application"; - homepage = "https://github.com/fwbuilder/fwbuilder"; - license = licenses.gpl2; - platforms = platforms.linux; + longDescription = '' + Firewall Builder is a GUI firewall management application for iptables, + PF, Cisco ASA/PIX/FWSM, Cisco router ACL and more. Firewall configuration + data is stored in a central file that can scale to hundreds of firewalls + managed from a single UI. + ''; + homepage = "https://github.com/fwbuilder/fwbuilder"; + license = licenses.gpl2Only; + platforms = platforms.linux; maintainers = [ maintainers.elatov ]; }; }