depot/third_party/nixpkgs/pkgs/applications/networking/owncloud-client/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
818 B
Nix

{ stdenv, fetchurl, mkDerivation, cmake, pkgconfig, qtbase, qtkeychain, sqlite }:
mkDerivation rec {
pname = "owncloud-client";
version = "2.5.4.11654";
src = fetchurl {
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "0gsnry0786crbnpgg3f1vcqw6mwbz6svhm6mw3767qi4lb33jm31";
};
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ qtbase qtkeychain sqlite ];
cmakeFlags = [
"-UCMAKE_INSTALL_LIBDIR"
"-DNO_SHIBBOLETH=1"
];
enableParallelBuilding = true;
meta = with stdenv.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;
};
}