]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add circles and social nextcloud apps
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 24 Oct 2020 08:41:43 +0000 (10:41 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 24 Oct 2020 08:41:43 +0000 (10:41 +0200)
pkgs/webapps/nextcloud/apps/circles.nix [new file with mode: 0644]
pkgs/webapps/nextcloud/apps/social.nix [new file with mode: 0644]
pkgs/webapps/nextcloud/default.nix

diff --git a/pkgs/webapps/nextcloud/apps/circles.nix b/pkgs/webapps/nextcloud/apps/circles.nix
new file mode 100644 (file)
index 0000000..64a4f2f
--- /dev/null
@@ -0,0 +1,8 @@
+{ buildApp, nextcloudVersion }:
+assert nextcloudVersion >= 18 && nextcloudVersion <= 18;
+buildApp rec {
+  appName = "circles";
+  version = "0.18.9";
+  url = "https://github.com/nextcloud/circles/releases/download/v${version}/${appName}-${version}.tar.gz";
+  sha256 = "1a58zrjg4cc0igq14s5zfc5zva83mahmfr0mxvhvnasw7rwkpyzr";
+}
diff --git a/pkgs/webapps/nextcloud/apps/social.nix b/pkgs/webapps/nextcloud/apps/social.nix
new file mode 100644 (file)
index 0000000..75b790a
--- /dev/null
@@ -0,0 +1,9 @@
+{ buildApp, nextcloudVersion }:
+assert nextcloudVersion >= 17 && nextcloudVersion <= 19;
+buildApp rec {
+  appName = "social";
+  version = "0.3.1";
+  url = "https://github.com/nextcloud/social/releases/download/v${version}/${appName}-${version}.tar.gz";
+  sha256 = "03hh6vr34p33dphrjqmc7s8mvsk5n7dl817j8qkf75203y8szhdy";
+}
+
index 12134943cf746683946c3b956f2fd056ca11b586..54849bfbfe98d2564c8b8e5c599c28d6846b6141 100644 (file)
@@ -1,10 +1,11 @@
 { varDir ? "/var/lib/nextcloud", nextcloudVersion ? 18, otherConfig ? {}, lib, stdenv, callPackage, fetchzip, fetchurl }:
 let
   appNames = [
-    "apporder" "audioplayer" "bookmarks" "calendar" "carnet" "contacts"
-    "cookbook" "deck" "extract" "files_markdown" "files_readmemd"
-    "flowupload" "gpxedit" "gpxpod" "keeweb" "maps" "metadata" "music"
-    "notes" "ocsms" "passman" "polls" "spreed" "tasks"
+    "apporder" "audioplayer" "bookmarks" "calendar" "carnet" "circles"
+    "contacts" "cookbook" "deck" "extract" "files_markdown"
+    "files_readmemd" "flowupload" "gpxedit" "gpxpod" "keeweb" "maps"
+    "metadata" "music" "notes" "ocsms" "passman" "polls" "spreed"
+    "social" "tasks"
   ];
   allApps = lib.attrsets.genAttrs appNames
     (name: callPackage (./apps + "/${name}.nix") { inherit buildApp nextcloudVersion; });