seafile-shared: 6.1.0 -> 6.2.1

This commit is contained in:
Robert Schütz 2018-06-26 23:45:54 +02:00
parent 77ab76d4b7
commit 376b222fd7

View File

@ -1,12 +1,14 @@
{stdenv, fetchurl, which, autoreconfHook, pkgconfig, curl, vala, python, intltool, fuse, ccnet}: {stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, curl, vala, python, intltool, fuse, ccnet}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "6.1.0"; version = "6.2.1";
name = "seafile-shared-${version}"; name = "seafile-shared-${version}";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/haiwen/seafile/archive/v${version}.tar.gz"; owner = "haiwen";
sha256 = "03zvxk25311xgn383k54qvvpr8xbnl1vxd99fg4ca9yg5rmir1q6"; repo = "seafile";
rev = "v${version}";
sha256 = "199ivh6fbz4sgbz15mr6m8985yky5n3z6vpcpnh2ldjx4277gq68";
}; };
nativeBuildInputs = [ pkgconfig which autoreconfHook vala intltool ]; nativeBuildInputs = [ pkgconfig which autoreconfHook vala intltool ];
@ -18,13 +20,6 @@ stdenv.mkDerivation rec {
"--disable-console" "--disable-console"
]; ];
postInstall = ''
# Remove seafile binary
rm -rf "$out/bin/seafile"
# Remove cli client binary
rm -rf "$out/bin/seaf-cli"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/haiwen/seafile; homepage = https://github.com/haiwen/seafile;
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons"; description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";