nixpkgs/pkgs/applications/networking/owncloud-client/default.nix
Bjørn Forsman 7e9b186fe4 owncloud-client: unbreak build
By reusing the nextcloud patch to find the "Sql" module (Qt5Sql).

https://hydra.nixos.org/build/64533236/nixlog/1/tail
2017-11-22 20:18:24 +01:00

30 lines
828 B
Nix

{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
stdenv.mkDerivation rec {
name = "owncloud-client-${version}";
version = "2.3.3";
src = fetchurl {
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "1r5ddln1wc9iyjizgqb104i0r6qhzsmm2wdnxfaif119cv0vphda";
};
patches = [ ../nextcloud-client/find-sql.patch ];
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;
};
}