mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
342e99a587
Follow-up to #170730 After release, the v8.0.7 tag had been re-tagged to a newer but broken state. This commit does not change the built program but only ensures that it continues to be buildable.
37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
{ mkDerivation, lib, fetchFromGitHub, pkg-config, cmake, qtbase, qttools
|
|
, seafile-shared, jansson, libsearpc
|
|
, withShibboleth ? true, qtwebengine }:
|
|
|
|
mkDerivation rec {
|
|
pname = "seafile-client";
|
|
version = "8.0.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "haiwen";
|
|
repo = "seafile-client";
|
|
# Tag v8.0.7 used to point to this commit, but was re-tagged later to a state
|
|
# that fails to link properly
|
|
rev = "8b96abf64e6aa19e3beeff6b322bcd6d28120bdd";
|
|
sha256 = "00wfr7dvbyl7pg1xgssgz8a94c7c4n5r9266lhy9qcbz456hdcgj";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
|
buildInputs = [ qtbase qttools seafile-shared jansson libsearpc ]
|
|
++ lib.optional withShibboleth qtwebengine;
|
|
|
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ]
|
|
++ lib.optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON";
|
|
|
|
qtWrapperArgs = [
|
|
"--suffix PATH : ${lib.makeBinPath [ seafile-shared ]}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/haiwen/seafile-client";
|
|
description = "Desktop client for Seafile, the Next-generation Open Source Cloud Storage";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ schmittlauch greizgh ];
|
|
};
|
|
}
|