diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-06-26 23:45:54 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-07-06 16:01:49 +0200 |
commit | 376b222fd755f55ee58f94521b1868db3eee7a40 (patch) | |
tree | 4686dd7ff32a8143cd79b8a0eee9e0d3cbc67bec /pkgs | |
parent | 77ab76d4b70372308bfae618898bb6aac43f1ac0 (diff) |
seafile-shared: 6.1.0 -> 6.2.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/seafile-shared/default.nix | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/pkgs/misc/seafile-shared/default.nix b/pkgs/misc/seafile-shared/default.nix index f1ab822c6f4a..c47b3c322ca5 100644 --- a/pkgs/misc/seafile-shared/default.nix +++ b/pkgs/misc/seafile-shared/default.nix @@ -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 { - version = "6.1.0"; + version = "6.2.1"; name = "seafile-shared-${version}"; - src = fetchurl { - url = "https://github.com/haiwen/seafile/archive/v${version}.tar.gz"; - sha256 = "03zvxk25311xgn383k54qvvpr8xbnl1vxd99fg4ca9yg5rmir1q6"; + src = fetchFromGitHub { + owner = "haiwen"; + repo = "seafile"; + rev = "v${version}"; + sha256 = "199ivh6fbz4sgbz15mr6m8985yky5n3z6vpcpnh2ldjx4277gq68"; }; nativeBuildInputs = [ pkgconfig which autoreconfHook vala intltool ]; @@ -18,13 +20,6 @@ stdenv.mkDerivation rec { "--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; { homepage = https://github.com/haiwen/seafile; description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons"; |