2017-04-30 10:53:17 -07:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
|
2014-11-20 02:24:51 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-17 15:53:10 -07:00
|
|
|
name = "owncloud-client-${version}";
|
2018-08-16 20:48:14 -07:00
|
|
|
version = "2.4.3";
|
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";
|
2018-08-16 20:48:14 -07:00
|
|
|
sha256 = "1gz6xg1vm054ksrsakzfkzxgpskm0xkhsqwq0fj3i2kas09zzczk";
|
2014-11-20 02:24:51 -08:00
|
|
|
};
|
|
|
|
|
2018-04-26 10:08:50 -07:00
|
|
|
patches = [ ./find-sql.patch ];
|
2017-11-22 11:11:18 -08:00
|
|
|
|
2017-03-17 15:53:10 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
2017-04-30 10:53:17 -07:00
|
|
|
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
|
2014-11-20 02:24:51 -08:00
|
|
|
|
2016-05-12 04:10:46 -07:00
|
|
|
cmakeFlags = [
|
2017-03-18 16:33:41 -07:00
|
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
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";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|