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

34 lines
898 B
Nix
Raw Normal View History

2016-04-03 02:02:54 +00:00
{ stdenv, fetchurl, cmake, qt4, pkgconfig, qtkeychain, sqlite }:
stdenv.mkDerivation rec {
name = "owncloud-client" + "-" + version;
2016-04-03 02:02:54 +00:00
version = "2.1.1";
src = fetchurl {
2016-04-03 02:02:54 +00:00
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "4e7cfeb72ec565392e7968f352c4a7f0ef2988cc577ebdfd668a3887d320b1cb";
};
buildInputs =
2016-04-03 02:02:54 +00:00
[ 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;
};
}