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

32 lines
891 B
Nix
Raw Normal View History

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