nixpkgs/pkgs/applications/networking/owncloud-client/default.nix

30 lines
828 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
stdenv.mkDerivation rec {
2017-03-17 23:53:10 +01:00
name = "owncloud-client-${version}";
2018-01-12 18:02:21 +01:00
version = "2.3.4";
src = fetchurl {
2016-04-03 04:02:54 +02:00
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
2018-01-12 18:02:21 +01:00
sha256 = "1fpi1mlp2b8sx2993b4mava5c6qw794dmlayih430299z1l9wh49";
};
patches = [ ../nextcloud-client/find-sql.patch ];
2017-03-17 23:53:10 +01:00
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
cmakeFlags = [
"-UCMAKE_INSTALL_LIBDIR"
];
enableParallelBuilding = true;
2017-03-17 23:53:10 +01:00
meta = with stdenv.lib; {
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;
};
}