2022-05-07 18:53:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2022-11-07 23:50:48 +00:00
|
|
|
, ninja
|
2022-05-07 18:53:19 +00:00
|
|
|
, wrapQtAppsHook
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
|
|
|
, qtwayland
|
|
|
|
}:
|
2021-12-31 02:22:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fwbuilder";
|
|
|
|
version = "6.0.0-rc1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fwbuilder";
|
|
|
|
repo = "fwbuilder";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ=";
|
|
|
|
};
|
|
|
|
|
2022-11-08 10:35:09 +00:00
|
|
|
postPatch = ''
|
|
|
|
# Avoid blanket -Werror as it triggers on any minor compiler
|
|
|
|
# warnings like deprecated functions or invalid indentat8ion.
|
|
|
|
# Leave fixing these problems to upstream.
|
|
|
|
substituteInPlace CMakeLists.txt --replace ';-Werror;' ';'
|
|
|
|
'';
|
|
|
|
|
2021-12-31 02:22:03 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2022-11-07 23:50:48 +00:00
|
|
|
ninja
|
2021-12-31 02:22:03 +00:00
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
2022-05-07 18:53:19 +00:00
|
|
|
buildInputs = [
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
qtwayland
|
|
|
|
];
|
|
|
|
|
2021-12-31 02:22:03 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "GUI Firewall Management Application";
|
2022-11-07 23:50:48 +00:00
|
|
|
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;
|
2021-12-31 02:22:03 +00:00
|
|
|
maintainers = [ maintainers.elatov ];
|
|
|
|
};
|
|
|
|
}
|