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

34 lines
930 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite, libsecret }:
mkDerivation rec {
pname = "owncloud-client";
version = "2.5.4.11654";
src = fetchurl {
2016-04-03 04:02:54 +02:00
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "0gsnry0786crbnpgg3f1vcqw6mwbz6svhm6mw3767qi4lb33jm31";
};
2017-03-17 23:53:10 +01:00
nativeBuildInputs = [ pkgconfig cmake ];
2019-12-08 05:59:15 +01:00
buildInputs = [ qtbase qtkeychain sqlite ];
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
];
cmakeFlags = [
"-UCMAKE_INSTALL_LIBDIR"
2019-12-08 05:59:15 +01:00
"-DNO_SHIBBOLETH=1"
];
enableParallelBuilding = true;
2017-03-17 23:53:10 +01:00
meta = with stdenv.lib; {
description = "Synchronise your ownCloud with your computer using this desktop client";
homepage = "https://owncloud.org";
2017-03-17 23:53:10 +01:00
maintainers = [ maintainers.qknight ];
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}