nixpkgs/pkgs/applications/networking/owncloud-client/default.nix
2016-04-02 19:02:54 -07:00

34 lines
898 B
Nix

{ stdenv, fetchurl, cmake, qt4, pkgconfig, qtkeychain, sqlite }:
stdenv.mkDerivation rec {
name = "owncloud-client" + "-" + version;
version = "2.1.1";
src = fetchurl {
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "4e7cfeb72ec565392e7968f352c4a7f0ef2988cc577ebdfd668a3887d320b1cb";
};
buildInputs =
[ cmake qt4 pkgconfig qtkeychain sqlite];
#configurePhase = ''
# mkdir build
# cd build
# cmake -DBUILD_WITH_QT4=on \
# -DCMAKE_INSTALL_PREFIX=$out \
# -DCMAKE_BUILD_TYPE=Release \
# ..
#'';
enableParallelBuilding = true;
meta = {
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;
};
}