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

31 lines
843 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
stdenv.mkDerivation rec {
2017-03-17 22:53:10 +00:00
name = "owncloud-client-${version}";
version = "2.4.3";
src = fetchurl {
2016-04-03 03:02:54 +01:00
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "1gz6xg1vm054ksrsakzfkzxgpskm0xkhsqwq0fj3i2kas09zzczk";
};
2018-04-26 18:08:50 +01:00
patches = [ ./find-sql.patch ];
2017-03-17 22:53:10 +00:00
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
cmakeFlags = [
"-UCMAKE_INSTALL_LIBDIR"
];
enableParallelBuilding = true;
2017-03-17 22:53:10 +00:00
meta = with stdenv.lib; {
description = "Synchronise your ownCloud with your computer using this desktop client";
homepage = https://owncloud.org;
2017-03-17 22:53:10 +00:00
maintainers = [ maintainers.qknight ];
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}