forked from mirrors/nixpkgs
29 lines
814 B
Nix
29 lines
814 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "owncloud-client-${version}";
|
|
version = "2.5.3.11470";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
|
|
sha256 = "0cznis8qadsnlgm046lxn8vmbxli6zp4b8nk93n53mkfxlcw355n";
|
|
};
|
|
|
|
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;
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
}
|