mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
32 lines
966 B
Nix
32 lines
966 B
Nix
{ lib, fetchurl, mkDerivation, cmake, extra-cmake-modules, pkg-config, qtbase, qtkeychain, sqlite, libsecret }:
|
|
|
|
mkDerivation rec {
|
|
pname = "owncloud-client";
|
|
version = "2.8.2.4246";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz";
|
|
sha256 = "0cc2e5154a1349bd21941ac3c32e8621778a9ff150730a19de2710e22d32fc43";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|