summary refs log tree commit diff
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
parent35a9538d16c83ca8444442db0680e0c31c4d932e (diff)
downloadnixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.tar
nixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.tar.gz
nixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.tar.bz2
nixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.tar.lz
nixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.tar.xz
nixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.tar.zst
nixpkgs-03b08fca66850dc01f988146d8c807d059f9c4af.zip
nextcloud-client 2.3.2 (#28645)
* nextcloud-client: init at 2.3.2

* nextcloud-client: nitpicks
-rw-r--r--lib/maintainers.nix1
-rw-r--r--pkgs/applications/networking/nextcloud-client/default.nix28
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 31 insertions, 0 deletions
diff --git a/lib/maintainers.nix b/lib/maintainers.nix
index 7fd33f3b396..8e97bac42ac 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -97,6 +97,7 @@
   canndrew = "Andrew Cann <shum@canndrew.org>";
   carlsverre = "Carl Sverre <accounts@carlsverre.com>";
   casey = "Casey Rodarmor <casey@rodarmor.net>";
+  caugner = "Claas Augner <nixos@caugner.de>";
   cdepillabout = "Dennis Gosnell <cdep.illabout@gmail.com>";
   cfouche = "Chaddaï Fouché <chaddai.fouche@gmail.com>";
   changlinli = "Changlin Li <mail@changlinli.com>";
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
new file mode 100644
index 00000000000..d369ec63a94
--- /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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 469000ba931..041bd7dd268 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3416,6 +3416,8 @@ with pkgs;
 
   nextcloud = callPackage ../servers/nextcloud { };
 
+  nextcloud-client = libsForQt56.callPackage ../applications/networking/nextcloud-client { };
+
   nextcloud-news-updater = callPackage ../servers/nextcloud/news-updater.nix { };
 
   ngrep = callPackage ../tools/networking/ngrep { };