b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
31 lines
954 B
Nix
31 lines
954 B
Nix
{ lib, fetchurl, mkDerivation, cmake, extra-cmake-modules, pkg-config, qtbase, qtkeychain, sqlite, libsecret }:
|
|
|
|
mkDerivation rec {
|
|
pname = "owncloud-client";
|
|
version = "2.11.0.8354";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz";
|
|
sha256 = "sha256-YraWvGgeF5b1+3i5Jlk+bwvAULr7KFOSX8y0ZoPpljI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake extra-cmake-modules ];
|
|
buildInputs = [ qtbase qtkeychain sqlite libsecret ];
|
|
|
|
qtWrapperArgs = [
|
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-UCMAKE_INSTALL_LIBDIR"
|
|
"-DNO_SHIBBOLETH=1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
homepage = "https://owncloud.org";
|
|
maintainers = [ maintainers.qknight ];
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
}
|