2017-04-30 19:53:17 +02:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
|
2014-11-20 11:24:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-17 23:53:10 +01:00
|
|
|
name = "owncloud-client-${version}";
|
2017-09-24 12:37:54 +02:00
|
|
|
version = "2.3.3";
|
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";
|
2017-09-24 12:37:54 +02:00
|
|
|
sha256 = "1r5ddln1wc9iyjizgqb104i0r6qhzsmm2wdnxfaif119cv0vphda";
|
2014-11-20 11:24:51 +01:00
|
|
|
};
|
|
|
|
|
2017-03-17 23:53:10 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
2017-04-30 19:53:17 +02:00
|
|
|
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
|
2014-11-20 11:24:51 +01:00
|
|
|
|
2016-05-12 13:10:46 +02:00
|
|
|
cmakeFlags = [
|
2017-03-19 00:33:41 +01:00
|
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
2016-05-12 13:10:46 +02:00
|
|
|
];
|
2014-11-20 11:24:51 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-17 23:53:10 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-20 11:24:51 +01:00
|
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
|
|
homepage = https://owncloud.org;
|
2017-03-17 23:53:10 +01:00
|
|
|
maintainers = [ maintainers.qknight ];
|
|
|
|
platforms = platforms.unix;
|
2014-11-20 11:24:51 +01:00
|
|
|
};
|
|
|
|
}
|