2017-03-18 23:33:41 +00:00
|
|
|
{ stdenv, fetchurl, cmake, qt5, pkgconfig, qtkeychain, sqlite }:
|
2014-11-20 10:24:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-17 22:53:10 +00:00
|
|
|
name = "owncloud-client-${version}";
|
|
|
|
version = "2.3.0";
|
2014-11-20 10:24:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-03 03:02:54 +01:00
|
|
|
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
|
2017-03-17 22:53:10 +00:00
|
|
|
sha256 = "10ah4zmnv4hfi50k59qwk990h1a4g95d3yvxqqrv4x1dv8p2sscf";
|
2014-11-20 10:24:51 +00:00
|
|
|
};
|
|
|
|
|
2017-03-17 22:53:10 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
2017-03-18 23:33:41 +00:00
|
|
|
buildInputs = [ qt5.qtbase qt5.qtwebkit qtkeychain sqlite ];
|
2014-11-20 10:24:51 +00:00
|
|
|
|
2016-05-12 12:10:46 +01:00
|
|
|
cmakeFlags = [
|
2017-03-18 23:33:41 +00:00
|
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
2016-05-12 12:10:46 +01:00
|
|
|
];
|
2014-11-20 10:24:51 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-17 22:53:10 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-20 10:24:51 +00:00
|
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
|
|
homepage = https://owncloud.org;
|
2017-03-17 22:53:10 +00:00
|
|
|
maintainers = [ maintainers.qknight ];
|
|
|
|
platforms = platforms.unix;
|
2014-11-20 10:24:51 +00:00
|
|
|
};
|
|
|
|
}
|