seafile-client: 8.0.7 -> 9.0.2

This commit is contained in:
MGlolenstine 2023-06-26 12:08:26 +02:00
parent ecb8485514
commit a28d962e11

View file

@ -1,26 +1,45 @@
{ mkDerivation, lib, fetchFromGitHub, pkg-config, cmake, qtbase, qttools { lib
, seafile-shared, jansson, libsearpc , stdenv
, withShibboleth ? true, qtwebengine }: , fetchFromGitHub
, pkg-config
, cmake
, qtbase
, qttools
, libuuid
, seafile-shared
, jansson
, libsearpc
, withShibboleth ? true
, qtwebengine
, wrapQtAppsHook
}:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "seafile-client"; pname = "seafile-client";
version = "8.0.7"; version = "9.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "haiwen"; owner = "haiwen";
repo = "seafile-client"; repo = "seafile-client";
# Tag v8.0.7 used to point to this commit, but was re-tagged later to a state rev = "v${version}";
# that fails to link properly sha256 = "sha256-6AsvqlXDmTr3yBvYlV/0qjH+KnZ03S5TU7yzGt0MqiI=";
rev = "8b96abf64e6aa19e3beeff6b322bcd6d28120bdd";
sha256 = "00wfr7dvbyl7pg1xgssgz8a94c7c4n5r9266lhy9qcbz456hdcgj";
}; };
nativeBuildInputs = [ pkg-config cmake ]; nativeBuildInputs = [
buildInputs = [ qtbase qttools seafile-shared jansson libsearpc ] libuuid
++ lib.optional withShibboleth qtwebengine; pkg-config
cmake
wrapQtAppsHook
qttools
];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ] buildInputs = [
++ lib.optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON"; seafile-shared
jansson
libsearpc
] ++ lib.optional withShibboleth qtwebengine;
cmakeFlags = lib.optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON";
qtWrapperArgs = [ qtWrapperArgs = [
"--suffix PATH : ${lib.makeBinPath [ seafile-shared ]}" "--suffix PATH : ${lib.makeBinPath [ seafile-shared ]}"