lgogdownloader: format with nixfmt

Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
(cherry picked from commit 6d6ec24782)
This commit is contained in:
Ludovico Piero
2024-06-27 01:42:48 +09:00
committed by github-actions[bot]
parent 39b5f2cd31
commit 2ad7b7075f

View File

@@ -1,24 +1,25 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, curl
, boost
, liboauth
, jsoncpp
, htmlcxx
, rhash
, tinyxml-2
, help2man
, html-tidy
, wrapQtAppsHook
, qtbase
, qtwebengine
, testers
, lgogdownloader
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
curl,
boost,
liboauth,
jsoncpp,
htmlcxx,
rhash,
tinyxml-2,
help2man,
html-tidy,
wrapQtAppsHook,
qtbase,
qtwebengine,
testers,
lgogdownloader,
, enableGui ? true
enableGui ? true,
}:
stdenv.mkDerivation rec {
@@ -39,18 +40,20 @@ stdenv.mkDerivation rec {
html-tidy
] ++ lib.optional enableGui wrapQtAppsHook;
buildInputs = [
boost
curl
htmlcxx
jsoncpp
liboauth
rhash
tinyxml-2
] ++ lib.optionals enableGui [
qtbase
qtwebengine
];
buildInputs =
[
boost
curl
htmlcxx
jsoncpp
liboauth
rhash
tinyxml-2
]
++ lib.optionals enableGui [
qtbase
qtwebengine
];
cmakeFlags = lib.optional enableGui "-DUSE_QT_GUI=ON";