nixpkgs/pkgs/applications/networking/seafile-client/default.nix
R. RyanTM 25540a5a2c seafile-client: 6.1.6 -> 6.1.7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/seafile-client/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 6.1.7 with grep in /nix/store/a366qmps5kxnbp50jw7hyyxx2bizakyl-seafile-client-6.1.7
- directory tree listing: https://gist.github.com/add05f4339b66469b6acbaad439c677f
2018-04-01 18:43:54 +02:00

38 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, writeScript, pkgconfig, cmake, qtbase, qttools
, seafile-shared, ccnet, makeWrapper
, withShibboleth ? true, qtwebengine }:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "6.1.7";
name = "seafile-client-${version}";
src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile-client";
rev = "v${version}";
sha256 = "1wf258sxn4pqdn1xypqwlxbnls771k2c6whpbinpns3knv5zvgaq";
};
nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
buildInputs = [ qtbase qttools seafile-shared ]
++ optional withShibboleth qtwebengine;
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ]
++ optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON";
postInstall = ''
wrapProgram $out/bin/seafile-applet \
--suffix PATH : ${stdenv.lib.makeBinPath [ ccnet seafile-shared ]}
'';
meta = with stdenv.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 = [ ];
};
}