owncloud-client: add libsecret dependency

The libsecret dependency is required to access secrets from the gnome keychain.
This commit is contained in:
Fabian Hauser 2020-07-02 15:04:37 +02:00 committed by Bjørn Forsman
parent 66d0b2a0d0
commit cf0552de9b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite }:
{ lib, stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite, libsecret }:
mkDerivation rec {
pname = "owncloud-client";
@ -12,6 +12,10 @@ mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ qtbase qtkeychain sqlite ];
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
];
cmakeFlags = [
"-UCMAKE_INSTALL_LIBDIR"
"-DNO_SHIBBOLETH=1"