git.iko.soy/typeable/nixpkgs
on master help sign in
seafile-client: add optional Shibboleth support
commit7cceee29fb712067cf00e4e14c9376b71df2248b authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateTue 5 Sep 2017, 18:05 (9 years ago) parent101a048
1 file changed+9−2
pkgs/applications/networking/seafile-client/default.nix+9−2
pkgs/applications/networking/seafile-client/default.nix+9−2
@@ -1,5 +1,8 @@
11{ stdenv, fetchurl, writeScript, pkgconfig, cmake, qtbase, qttools
2−, seafile-shared, ccnet, makeWrapper }:
2+, seafile-shared, ccnet, makeWrapper
3+, withShibboleth ? true, qtwebengine }:
4+
5+with stdenv.lib;
36
47stdenv.mkDerivation rec {
58 version = "6.1.0";
@@ -11,7 +14,11 @@ stdenv.mkDerivation rec {
1114 };
1215
1316 nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
14− buildInputs = [ qtbase qttools seafile-shared ];
17+ buildInputs = [ qtbase qttools seafile-shared ]
18+ ++ optional withShibboleth qtwebengine;
19+
20+ cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ]
21+ ++ optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON";
1522
1623 postInstall = ''
1724 wrapProgram $out/bin/seafile-applet \