aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-11-18 01:11:26 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-11-18 01:11:26 +0100
commit8a04ee0919035f89c3e12044f077bc438f0d0a46 (patch)
tree0c81d62db0eb8bc495b9a1f94bd641269dfeec94 /pkgs
parent0691a23f4cb076e87ff4b52cd4e8183fdcb73e04 (diff)
downloadNix-8a04ee0919035f89c3e12044f077bc438f0d0a46.tar.gz
Nix-8a04ee0919035f89c3e12044f077bc438f0d0a46.tar.zst
Nix-8a04ee0919035f89c3e12044f077bc438f0d0a46.zip
Add some nextcloud apps
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/webapps/default.nix4
-rw-r--r--pkgs/webapps/nextcloud/apps/apporder.nix7
-rw-r--r--pkgs/webapps/nextcloud/apps/cookbook.nix13
-rw-r--r--pkgs/webapps/nextcloud/apps/extract.nix7
-rw-r--r--pkgs/webapps/nextcloud/apps/files_readmemd.nix7
-rw-r--r--pkgs/webapps/nextcloud/apps/keeweb.nix10
-rw-r--r--pkgs/webapps/nextcloud/apps/maps.nix7
-rw-r--r--pkgs/webapps/nextcloud/apps/metadata.nix7
-rw-r--r--pkgs/webapps/nextcloud/apps/passman.nix6
-rw-r--r--pkgs/webapps/nextcloud/apps/polls.nix7
10 files changed, 64 insertions, 11 deletions
diff --git a/pkgs/webapps/default.nix b/pkgs/webapps/default.nix
index 8c3eb0e..2542575 100644
--- a/pkgs/webapps/default.nix
+++ b/pkgs/webapps/default.nix
@@ -59,8 +59,8 @@ rec {
59 "audioplayer" "bookmarks" "calendar" "contacts" "deck" 59 "audioplayer" "bookmarks" "calendar" "contacts" "deck"
60 "files_markdown" "gpxedit" "gpxpod" "keeweb" "music" 60 "files_markdown" "gpxedit" "gpxpod" "keeweb" "music"
61 "notes" "ocsms" "passman" "spreed" "tasks" 61 "notes" "ocsms" "passman" "spreed" "tasks"
62 "flowupload" "carnet" 62 "flowupload" "carnet" "maps" "cookbook" "polls"
63 # FIXME: fix passman for NC 16 63 "apporder" "extract" "files_readmemd" "metadata"
64 ]; 64 ];
65 in 65 in
66 lib.attrsets.genAttrs names 66 lib.attrsets.genAttrs names
diff --git a/pkgs/webapps/nextcloud/apps/apporder.nix b/pkgs/webapps/nextcloud/apps/apporder.nix
new file mode 100644
index 0000000..1a4d1f0
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/apporder.nix
@@ -0,0 +1,7 @@
1{ buildApp }:
2buildApp rec {
3 appName = "apporder";
4 version = "0.8.0";
5 url = "https://github.com/juliushaertl/apporder/releases/download/v${version}/${appName}.tar.gz";
6 sha256 = "04wlvhdngn3fkvphaply9lycvmfy6294pzpvccvkj2m8ihbdnigw";
7}
diff --git a/pkgs/webapps/nextcloud/apps/cookbook.nix b/pkgs/webapps/nextcloud/apps/cookbook.nix
new file mode 100644
index 0000000..adc47c2
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/cookbook.nix
@@ -0,0 +1,13 @@
1{ buildApp }:
2buildApp rec {
3 appName = "cookbook";
4 version = "0.5.4";
5 url = "https://github.com/mrzapp/nextcloud-cookbook/releases/download/v${version}/${appName}.tar.gz";
6 sha256 = "1dav07jylmw9n05l7p3m20ywky27nrg3gna271mly5bvs9q6kanm";
7 installPhase = ''
8 sed -i -e "s/application..ld..json/application[^\"|\\\\']*ld[^\"|\\\\']*json/" lib/Service/RecipeService.php
9 mkdir -p $out
10 cp -R . $out/
11 '';
12}
13
diff --git a/pkgs/webapps/nextcloud/apps/extract.nix b/pkgs/webapps/nextcloud/apps/extract.nix
new file mode 100644
index 0000000..99e4e8f
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/extract.nix
@@ -0,0 +1,7 @@
1{ buildApp }:
2buildApp rec {
3 appName = "extract";
4 version = "1.2.2";
5 url = "https://github.com/PaulLereverend/NextcloudExtract/releases/download/${version}/${appName}.tar.gz";
6 sha256 = "1aq8f5ps8259ihlh1qwhcj1gwy6w341gmagzz1r763pipkj960g6";
7}
diff --git a/pkgs/webapps/nextcloud/apps/files_readmemd.nix b/pkgs/webapps/nextcloud/apps/files_readmemd.nix
new file mode 100644
index 0000000..1d0dd42
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/files_readmemd.nix
@@ -0,0 +1,7 @@
1{ buildApp }:
2buildApp rec {
3 appName = "files_readmemd";
4 version = "1.1.2";
5 url = "https://gitlab.univ-nantes.fr/uncloud/files_readmemd/wikis/uploads/3c17fcee5fe4a7a7d77ac59de6feca96/${appName}.tar.gz";
6 sha256 = "1lx5rlh9n49cdbnxm6a85facjp4g88myaid764yr6jayc62g0qrq";
7}
diff --git a/pkgs/webapps/nextcloud/apps/keeweb.nix b/pkgs/webapps/nextcloud/apps/keeweb.nix
index 99713ee..866f337 100644
--- a/pkgs/webapps/nextcloud/apps/keeweb.nix
+++ b/pkgs/webapps/nextcloud/apps/keeweb.nix
@@ -1,20 +1,16 @@
1{ buildApp }: 1{ buildApp }:
2buildApp rec { 2buildApp rec {
3 appName = "keeweb"; 3 appName = "keeweb";
4 version = "0.5.0"; 4 version = "0.5.1";
5 url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz"; 5 url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz";
6 sha256 = "0wdr6ywlirmac7w1ld5ma7fwb4bykclbxfq2sxwg6pvzfid5vc8x"; 6 sha256 = "1iaz4d6fz4zlgdn2hj7xx0nayyd0l865zxd6h795fpx5qpdj911h";
7 installPhase = '' 7 installPhase = ''
8 mkdir -p $out 8 mkdir -p $out
9 cp -R . $out/ 9 cp -R . $out/
10 sed -i -e 's/max-version="15"/max-version="16"/' $out/appinfo/info.xml
11 ''; 10 '';
12 otherConfig = { 11 otherConfig = {
13 mimetypealiases = {
14 "x-application/kdbx" = "kdbx";
15 };
16 mimetypemapping = { 12 mimetypemapping = {
17 "kdbx" = ["x-application/kdbx"]; 13 "kdbx" = ["application/x-kdbx"];
18 }; 14 };
19 }; 15 };
20} 16}
diff --git a/pkgs/webapps/nextcloud/apps/maps.nix b/pkgs/webapps/nextcloud/apps/maps.nix
new file mode 100644
index 0000000..4232a24
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/maps.nix
@@ -0,0 +1,7 @@
1{ buildApp }:
2buildApp rec {
3 appName = "maps";
4 version = "0.1.2";
5 url = "https://github.com/nextcloud/maps/releases/download/v${version}/${appName}-${version}.tar.gz";
6 sha256 = "0jk4fikk72g2yj3p0f8i80d26lsi88kfpflrmh5c4acgf3jzxp02";
7}
diff --git a/pkgs/webapps/nextcloud/apps/metadata.nix b/pkgs/webapps/nextcloud/apps/metadata.nix
new file mode 100644
index 0000000..9adda9d
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/metadata.nix
@@ -0,0 +1,7 @@
1{ buildApp }:
2buildApp rec {
3 appName = "metadata";
4 version = "0.10.0";
5 url = "https://github.com/gino0631/nextcloud-metadata/releases/download/v${version}/${appName}.tar.gz";
6 sha256 = "1qqgzk0b13k5gfy9sdjqm9v325lm8qn7ikv3a8d21pzzqii6402x";
7}
diff --git a/pkgs/webapps/nextcloud/apps/passman.nix b/pkgs/webapps/nextcloud/apps/passman.nix
index 869acb3..0d9d994 100644
--- a/pkgs/webapps/nextcloud/apps/passman.nix
+++ b/pkgs/webapps/nextcloud/apps/passman.nix
@@ -1,7 +1,9 @@
1{ buildApp }: 1{ buildApp }:
2buildApp rec { 2buildApp rec {
3 # FIXME: it creates a /settings/user/additional setting url which
4 # doesn’t work
3 appName = "passman"; 5 appName = "passman";
4 version = "2.2.1"; 6 version = "2.3.4";
5 url = "https://releases.passman.cc/${appName}_${version}.tar.gz"; 7 url = "https://releases.passman.cc/${appName}_${version}.tar.gz";
6 sha256 = "064pq9d0pl3y1vcywpi19fg47zy7j4h0jaxy6jklwzwcrmzagbka"; 8 sha256 = "004bgdbz6ks0zizgx6gw6m60g30m1xclw4fakbh6qq1n8sxpdqsq";
7} 9}
diff --git a/pkgs/webapps/nextcloud/apps/polls.nix b/pkgs/webapps/nextcloud/apps/polls.nix
new file mode 100644
index 0000000..ff0258a
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/polls.nix
@@ -0,0 +1,7 @@
1{ buildApp }:
2buildApp rec {
3 appName = "polls";
4 version = "0.10.4";
5 url = "https://github.com/nextcloud/polls/releases/download/v${version}/${appName}.tar.gz";
6 sha256 = "10h2i1ya1n4vkbd84ak5xcbprzai4nxjsq6b8z097p9fb90rbw4r";
7}