Files
nixpkgs/pkgs/by-name/fw/fwbuilder/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
wayland,
wayland-protocols,
libsForQt5,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fwbuilder";
version = "6.0.0-rc1";
src = fetchFromGitHub {
owner = "fwbuilder";
repo = "fwbuilder";
tag = "v${finalAttrs.version}";
hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ=";
};
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;' ';'
'';
nativeBuildInputs = [
cmake
ninja
libsForQt5.wrapQtAppsHook
];
buildInputs = [
wayland
wayland-protocols
libsForQt5.qtwayland
];
meta = {
description = "GUI Firewall Management Application";
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 = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ elatov ];
};
})