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