2021-06-29 07:50:50 +01:00
|
|
|
{ lib, fetchurl, mkDerivation, cmake, extra-cmake-modules, pkg-config, qtbase, qtkeychain, sqlite, libsecret }:
|
2014-11-20 10:24:51 +00:00
|
|
|
|
2019-10-01 22:48:23 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "owncloud-client";
|
2022-04-08 18:41:34 +01:00
|
|
|
version = "2.10.1.7187";
|
2014-11-20 10:24:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-29 07:50:50 +01:00
|
|
|
url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz";
|
2022-04-08 18:41:34 +01:00
|
|
|
sha256 = "sha256-SNabKv5z7viDI3XDQ2mWjEgFKAGSR5K9sI3Tu5eZbwU=";
|
2014-11-20 10:24:51 +00:00
|
|
|
};
|
|
|
|
|
2021-06-29 07:50:50 +01:00
|
|
|
nativeBuildInputs = [ pkg-config cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ qtbase qtkeychain sqlite libsecret ];
|
2014-11-20 10:24:51 +00:00
|
|
|
|
2020-07-02 14:04:37 +01:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
|
|
|
|
];
|
|
|
|
|
2016-05-12 12:10:46 +01:00
|
|
|
cmakeFlags = [
|
2017-03-18 23:33:41 +00:00
|
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
2019-12-08 04:59:15 +00:00
|
|
|
"-DNO_SHIBBOLETH=1"
|
2016-05-12 12:10:46 +01:00
|
|
|
];
|
2014-11-20 10:24:51 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-11-20 10:24:51 +00:00
|
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://owncloud.org";
|
2017-03-17 22:53:10 +00:00
|
|
|
maintainers = [ maintainers.qknight ];
|
|
|
|
platforms = platforms.unix;
|
2018-08-09 11:46:06 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2014-11-20 10:24:51 +00:00
|
|
|
};
|
|
|
|
}
|