about summary refs log tree commit diff
path: root/pkgs/applications/networking/nextcloud-client
diff options
context:
space:
mode:
authorClaas Augner <github@caugner.de>2017-08-28 22:33:51 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-08-28 21:33:51 +0100
commit03b08fca66850dc01f988146d8c807d059f9c4af (patch)
tree225bc9c3ad91da3140f7c20a81bf76a6c954cffe /pkgs/applications/networking/nextcloud-client
parent35a9538d16c83ca8444442db0680e0c31c4d932e (diff)
downloadnixlib-03b08fca66850dc01f988146d8c807d059f9c4af.tar
nixlib-03b08fca66850dc01f988146d8c807d059f9c4af.tar.gz
nixlib-03b08fca66850dc01f988146d8c807d059f9c4af.tar.bz2
nixlib-03b08fca66850dc01f988146d8c807d059f9c4af.tar.lz
nixlib-03b08fca66850dc01f988146d8c807d059f9c4af.tar.xz
nixlib-03b08fca66850dc01f988146d8c807d059f9c4af.tar.zst
nixlib-03b08fca66850dc01f988146d8c807d059f9c4af.zip
nextcloud-client 2.3.2 (#28645)
* nextcloud-client: init at 2.3.2

* nextcloud-client: nitpicks
Diffstat (limited to 'pkgs/applications/networking/nextcloud-client')
-rw-r--r--pkgs/applications/networking/nextcloud-client/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
new file mode 100644
index 000000000000..d369ec63a948
--- /dev/null
+++ b/pkgs/applications/networking/nextcloud-client/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
+
+stdenv.mkDerivation rec {
+  name = "nextcloud-client-${version}";
+  version = "2.3.2";
+
+  src = fetchgit {
+    url = "git://github.com/nextcloud/client_theming.git";
+    rev = "1ee750d1aeaaefc899629e85c311594603e9ac1b";
+    sha256 = "0dxyng8a7cg78z8yngiqypsb44lf5c6vkabvkfch0cl0cqmarc1a";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [ pkgconfig cmake ];
+  buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
+
+  preConfigure = ''
+    cmakeFlagsArray+=("-UCMAKE_INSTALL_LIBDIR" "-DOEM_THEME_DIR=$(realpath ./nextcloudtheme)" "../client")
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Nextcloud themed desktop client";
+    homepage = https://nextcloud.com;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ caugner ];
+    platforms = platforms.unix;
+  };
+}