git.iko.soy/typeable/nixpkgs
on master help sign in
seafile-client: 5.0.7 -> 6.1.0

bump to qt5

commit30d76b8ccdf12412df7e00cb619c5fe12a09706a authorSimon Lackerbauer <simon@lackerbauer.com> dateSun 6 Aug 2017, 19:09 (9 years ago) parentc839b6c
5 files changed+24−35
pkgs/applications/networking/seafile-client/default.nix+15−26 pkgs/development/libraries/libsearpc/default.nix+1−1 pkgs/misc/seafile-shared/default.nix+3−3 pkgs/tools/networking/ccnet/default.nix+4−4 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/networking/seafile-client/default.nix+15−26
@@ -1,39 +1,28 @@
1−{stdenv, fetchurl, writeScript, pkgconfig, cmake, qt4, seafile-shared, ccnet, makeWrapper}:
1+{ stdenv, fetchurl, writeScript, pkgconfig, cmake, qtbase, qttools
2+, seafile-shared, ccnet, makeWrapper }:
23
3−stdenv.mkDerivation rec
4−{
5− version = "5.0.7";
4+stdenv.mkDerivation rec {
5+ version = "6.1.0";
66 name = "seafile-client-${version}";
77
8− src = fetchurl
9− {
8+ src = fetchurl {
109 url = "https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz";
11− sha256 = "ae6975bc1adf45d09cf9f6332ceac7cf285f8191f6cf50c6291ed45f8cf4ffa5";
10+ sha256 = "16rn6b9ayaccgwx8hs3yh1wb395pp8ffh8may8a8bpcc4gdry7bd";
1211 };
1312
14− buildInputs = [ pkgconfig cmake qt4 seafile-shared makeWrapper ];
15−
16− builder = writeScript "${name}-builder.sh" ''
17− source $stdenv/setup
18−
19− tar xvfz $src
20− cd seafile-client-*
21−
22− cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_PREFIX="$out" .
23− make -j1
24−
25− make install
13+ nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
14+ buildInputs = [ qtbase qttools seafile-shared ];
2615
16+ postInstall = ''
2717 wrapProgram $out/bin/seafile-applet \
2818 --suffix PATH : ${stdenv.lib.makeBinPath [ ccnet seafile-shared ]}
29− '';
19+ '';
3020
31− meta =
32− {
33− homepage = https://github.com/haiwen/seafile-clients;
21+ meta = with stdenv.lib; {
22+ homepage = https://github.com/haiwen/seafile-client;
3423 description = "Desktop client for Seafile, the Next-generation Open Source Cloud Storage";
35− license = stdenv.lib.licenses.asl20;
36− platforms = stdenv.lib.platforms.linux;
37− maintainers = [ stdenv.lib.maintainers.calrama ];
24+ license = licenses.asl20;
25+ platforms = platforms.linux;
26+ maintainers = [ maintainers.calrama ];
3827 };
3928}
pkgs/development/libraries/libsearpc/default.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec
44{
55 version = "3.0.7";
6− seafileVersion = "5.0.7";
6+ seafileVersion = "6.1.0";
77 name = "libsearpc-${version}";
88
99 src = fetchurl
pkgs/misc/seafile-shared/default.nix+3−3
@@ -2,20 +2,20 @@
22
33stdenv.mkDerivation rec
44{
5− version = "5.0.7";
5+ version = "6.1.0";
66 name = "seafile-shared-${version}";
77
88 src = fetchurl
99 {
1010 url = "https://github.com/haiwen/seafile/archive/v${version}.tar.gz";
11− sha256 = "ec166c86a41e7ab3b1ae97a56326ab4a2b1ec38686486b956c3d153b8023c670";
11+ sha256 = "03zvxk25311xgn383k54qvvpr8xbnl1vxd99fg4ca9yg5rmir1q6";
1212 };
1313
1414 buildInputs = [ which automake autoconf pkgconfig libtool vala_0_23 python intltool fuse ];
1515 propagatedBuildInputs = [ ccnet curl ];
1616
1717 preConfigure = ''
18− sed -ie 's|/bin/bash|/bin/sh|g' ./autogen.sh
18+ sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh
1919 ./autogen.sh
2020 '';
2121
pkgs/tools/networking/ccnet/default.nix+4−4
@@ -2,21 +2,21 @@
22
33stdenv.mkDerivation rec
44{
5− version = "5.0.7";
6− seafileVersion = "5.0.7";
5+ version = "6.1.0";
6+ seafileVersion = "6.1.0";
77 name = "ccnet-${version}";
88
99 src = fetchurl
1010 {
1111 url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
12− sha256 = "1e1c670a85619b174328a15925a050c7a8b323fecd13434992332f5c15e05de1";
12+ sha256 = "0q4a102xlcsxlr53h4jr4w8qzkbzvm2f3nk9fsha48h6l2hw34bb";
1313 };
1414
1515 buildInputs = [ which automake autoconf pkgconfig libtool vala_0_23 python ];
1616 propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
1717
1818 preConfigure = ''
19− sed -ie 's|/bin/bash|/bin/sh|g' ./autogen.sh
19+ sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh
2020 ./autogen.sh
2121 '';
2222
pkgs/top-level/all-packages.nix+1−1
@@ -15973,7 +15973,7 @@ with pkgs;
1597315973 inherit (gnome2) libart_lgpl;
1597415974 };
1597515975
15976− seafile-client = callPackage ../applications/networking/seafile-client { };
15976+ seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { };
1597715977
1597815978 seeks = callPackage ../tools/networking/p2p/seeks {
1597915979 protobuf = protobuf2_5;