2022-05-07 19:53:19 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, 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=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
2022-05-07 19:53:19 +01:00
|
|
|
buildInputs = [
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
qtwayland
|
|
|
|
];
|
|
|
|
|
2022-04-15 17:46:12 +01:00
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-Wno-error=misleading-indentation"
|
|
|
|
];
|
|
|
|
|
2021-12-31 02:22:03 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "GUI Firewall Management Application";
|
|
|
|
homepage = "https://github.com/fwbuilder/fwbuilder";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.elatov ];
|
|
|
|
};
|
|
|
|
}
|