nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 1.4 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 ninja, 7 wayland, 8 wayland-protocols, 9 libsForQt5, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "fwbuilder"; 14 version = "6.0.0-rc1"; 15 16 src = fetchFromGitHub { 17 owner = "fwbuilder"; 18 repo = "fwbuilder"; 19 tag = "v${finalAttrs.version}"; 20 hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ="; 21 }; 22 23 postPatch = '' 24 # Avoid blanket -Werror as it triggers on any minor compiler 25 # warnings like deprecated functions or invalid indentat8ion. 26 # Leave fixing these problems to upstream. 27 substituteInPlace CMakeLists.txt --replace ';-Werror;' ';' 28 ''; 29 30 nativeBuildInputs = [ 31 cmake 32 ninja 33 libsForQt5.wrapQtAppsHook 34 ]; 35 36 buildInputs = [ 37 wayland 38 wayland-protocols 39 libsForQt5.qtwayland 40 ]; 41 42 meta = { 43 description = "GUI Firewall Management Application"; 44 longDescription = '' 45 Firewall Builder is a GUI firewall management application for iptables, 46 PF, Cisco ASA/PIX/FWSM, Cisco router ACL and more. Firewall configuration 47 data is stored in a central file that can scale to hundreds of firewalls 48 managed from a single UI. 49 ''; 50 homepage = "https://github.com/fwbuilder/fwbuilder"; 51 license = lib.licenses.gpl2Only; 52 platforms = lib.platforms.linux; 53 maintainers = with lib.maintainers; [ elatov ]; 54 }; 55})