2021-07-03 03:11:41 +00:00
|
|
|
{ lib, fetchurl, mkDerivation, cmake, extra-cmake-modules, pkg-config, qtbase, qtkeychain, sqlite, libsecret }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "owncloud-client";
|
2021-10-17 02:12:59 +00:00
|
|
|
version = "2.9.1.5500";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-03 03:11:41 +00:00
|
|
|
url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz";
|
2021-10-17 02:12:59 +00:00
|
|
|
sha256 = "0h4dclxr6kmhmx318wvxz36lhyqw84q0mg4c6di6p230mp8b1l4v";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-07-03 03:11:41 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ qtbase qtkeychain sqlite libsecret ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
|
|
|
"-DNO_SHIBBOLETH=1"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
|
|
homepage = "https://owncloud.org";
|
|
|
|
maintainers = [ maintainers.qknight ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|