mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
fdcb4fa4b8
The build fails due to missing qt linguist tools. That's solved by adding 'qttools'. But the build fails soon after with missing 'Sql' module. I didn't manage to solve that, so use Qt 5.6 where it works. Using libsForQt seems to be the way Qt packages are composed today, so use that (seems safer).
28 lines
775 B
Nix
28 lines
775 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "owncloud-client-${version}";
|
|
version = "2.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
|
|
sha256 = "10ah4zmnv4hfi50k59qwk990h1a4g95d3yvxqqrv4x1dv8p2sscf";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
|
|
|
|
cmakeFlags = [
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
homepage = https://owncloud.org;
|
|
maintainers = [ maintainers.qknight ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|