2020-07-02 06:04:37 -07:00
|
|
|
{ lib, stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite, libsecret }:
|
2014-11-20 02:24:51 -08:00
|
|
|
|
2019-10-01 14:48:23 -07:00
|
|
|
mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "owncloud-client";
|
2019-04-09 10:01:20 -07:00
|
|
|
version = "2.5.4.11654";
|
2014-11-20 02:24:51 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-02 19:02:54 -07:00
|
|
|
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
|
2019-04-09 10:01:20 -07:00
|
|
|
sha256 = "0gsnry0786crbnpgg3f1vcqw6mwbz6svhm6mw3767qi4lb33jm31";
|
2014-11-20 02:24:51 -08:00
|
|
|
};
|
|
|
|
|
2017-03-17 15:53:10 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
2019-12-07 20:59:15 -08:00
|
|
|
buildInputs = [ qtbase qtkeychain sqlite ];
|
2014-11-20 02:24:51 -08:00
|
|
|
|
2020-07-02 06:04:37 -07:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
|
|
|
|
];
|
|
|
|
|
2016-05-12 04:10:46 -07:00
|
|
|
cmakeFlags = [
|
2017-03-18 16:33:41 -07:00
|
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
2019-12-07 20:59:15 -08:00
|
|
|
"-DNO_SHIBBOLETH=1"
|
2016-05-12 04:10:46 -07:00
|
|
|
];
|
2014-11-20 02:24:51 -08:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-17 15:53:10 -07:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-20 02:24:51 -08:00
|
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://owncloud.org";
|
2017-03-17 15:53:10 -07:00
|
|
|
maintainers = [ maintainers.qknight ];
|
|
|
|
platforms = platforms.unix;
|
2018-08-09 03:46:06 -07:00
|
|
|
license = licenses.gpl2Plus;
|
2014-11-20 02:24:51 -08:00
|
|
|
};
|
|
|
|
}
|