lgogdownloader: format with nixfmt

Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
This commit is contained in:
Ludovico Piero 2024-06-27 01:42:48 +09:00
parent e52335e6f4
commit 6d6ec24782
No known key found for this signature in database
GPG Key ID: 3911DD276CFE779C

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";