diff options
author | Moritz Maxeiner <moritz@ucworks.org> | 2014-02-04 20:02:46 +0100 |
---|---|---|
committer | Moritz Maxeiner <moritz@ucworks.org> | 2014-02-04 20:02:46 +0100 |
commit | 99ba14ee7a94d5f809d024e6fa4bfffba7984040 (patch) | |
tree | d8a9081e28cc909b6eb67e62341859327cd57ead /pkgs/applications/networking/seafile-client | |
parent | e1b206b4a9c895e6684fc948b1526d8759e54328 (diff) | |
download | nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.tar nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.tar.gz nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.tar.bz2 nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.tar.lz nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.tar.xz nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.tar.zst nixpkgs-99ba14ee7a94d5f809d024e6fa4bfffba7984040.zip |
Add packages for libzdb, libsearpc, ccnet, seafile-shared, and seafile-client
Diffstat (limited to 'pkgs/applications/networking/seafile-client')
-rw-r--r-- | pkgs/applications/networking/seafile-client/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/networking/seafile-client/default.nix b/pkgs/applications/networking/seafile-client/default.nix new file mode 100644 index 00000000000..8640389f9d3 --- /dev/null +++ b/pkgs/applications/networking/seafile-client/default.nix @@ -0,0 +1,38 @@ +{stdenv, fetchurl, writeScript, pkgconfig, cmake, qt4, seafileShared, ccnet, makeWrapper}: + +stdenv.mkDerivation rec +{ + version = "2.1.1"; + name = "seafile-client-${version}"; + + src = fetchurl + { + url = "https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz"; + sha256 = "d98515ea229df702cbe973d85ec0bd5cf3f5282ef1022ba0157d5301b521c8e0"; + }; + + buildInputs = [ pkgconfig cmake qt4 seafileShared makeWrapper ]; + + builder = writeScript "${name}-builder.sh" '' + source $stdenv/setup + + tar xvfz $src + cd seafile-client-* + + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_PREFIX="$out" . + make -j1 + + make install + + wrapProgram $out/bin/seafile-applet \ + --suffix PATH : ${ccnet}/bin:${seafileShared}/bin + ''; + + meta = + { + homepage = "https://github.com/haiwen/seafile-clients"; + description = "Desktop client for Seafile, the Next-generation Open Source Cloud Storage"; + license = stdenv.lib.licenses.asl20; + maintainers = [ stdenv.lib.maintainers.calrama ]; + }; +} |