@@ -1,17 +1,16 @@
11{ stdenv, fetchurl, cmake, qt4, pkgconfig, qtkeychain, sqlite }:
22
33stdenv.mkDerivation rec {
4− name = "owncloud-client" + "-" + version;
5−
6− version = "2.2.3";
4+ name = "owncloud-client-${version}";
5+ version = "2.3.0";
76
87 src = fetchurl {
98 url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
10− sha256 = "00bx9wrgvbdhi9vx30qfgkdz0k8nxlj313pac34cchx5xpij3jgq";
9+ sha256 = "10ah4zmnv4hfi50k59qwk990h1a4g95d3yvxqqrv4x1dv8p2sscf";
1110 };
1211
13− buildInputs =
14− [ cmake qt4 pkgconfig qtkeychain sqlite];
12+ nativeBuildInputs = [ pkgconfig cmake ];
13+ buildInputs = [ qt4 qtkeychain sqlite];
1514
1615 cmakeFlags = [
1716 "-UCMAKE_INSTALL_LIBDIR"
@@ -19,10 +18,10 @@ stdenv.mkDerivation rec {
1918
2019 enableParallelBuilding = true;
2120
22− meta = {
21+ meta = with stdenv.lib; {
2322 description = "Synchronise your ownCloud with your computer using this desktop client";
2423 homepage = https://owncloud.org;
25− maintainers = with stdenv.lib.maintainers; [ qknight ];
26− meta.platforms = stdenv.lib.platforms.unix;
24+ maintainers = [ maintainers.qknight ];
25+ platforms = platforms.unix;
2726 };
2827}