diff --git a/pkgs/applications/networking/owncloud-client/default.nix b/pkgs/applications/networking/owncloud-client/default.nix index a35cfdffece2..1323c3121214 100644 --- a/pkgs/applications/networking/owncloud-client/default.nix +++ b/pkgs/applications/networking/owncloud-client/default.nix @@ -1,17 +1,16 @@ { stdenv, fetchurl, cmake, qt4, pkgconfig, qtkeychain, sqlite }: stdenv.mkDerivation rec { - name = "owncloud-client" + "-" + version; - - version = "2.2.3"; + name = "owncloud-client-${version}"; + version = "2.3.0"; src = fetchurl { url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz"; - sha256 = "00bx9wrgvbdhi9vx30qfgkdz0k8nxlj313pac34cchx5xpij3jgq"; + sha256 = "10ah4zmnv4hfi50k59qwk990h1a4g95d3yvxqqrv4x1dv8p2sscf"; }; - buildInputs = - [ cmake qt4 pkgconfig qtkeychain sqlite]; + nativeBuildInputs = [ pkgconfig cmake ]; + buildInputs = [ qt4 qtkeychain sqlite]; cmakeFlags = [ "-UCMAKE_INSTALL_LIBDIR" @@ -19,10 +18,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { description = "Synchronise your ownCloud with your computer using this desktop client"; homepage = https://owncloud.org; - maintainers = with stdenv.lib.maintainers; [ qknight ]; - meta.platforms = stdenv.lib.platforms.unix; + maintainers = [ maintainers.qknight ]; + platforms = platforms.unix; }; }