summaryrefslogtreecommitdiff
path: root/pkgs/webapps/nextcloud/apps/ocsms.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-13 21:25:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-24 01:40:13 +0200
commit252dd7d899b7a0deea1537cc5d2d48b825afffb0 (patch)
treef51c3c9cd7429b0b9553a840f26bee489be045bc /pkgs/webapps/nextcloud/apps/ocsms.nix
downloadNUR-nur_root.tar.gz
NUR-nur_root.tar.zst
NUR-nur_root.zip
Initial commit published for NURnur_root
Diffstat (limited to 'pkgs/webapps/nextcloud/apps/ocsms.nix')
-rw-r--r--pkgs/webapps/nextcloud/apps/ocsms.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/webapps/nextcloud/apps/ocsms.nix b/pkgs/webapps/nextcloud/apps/ocsms.nix
new file mode 100644
index 00000000..bd772952
--- /dev/null
+++ b/pkgs/webapps/nextcloud/apps/ocsms.nix
@@ -0,0 +1,13 @@
1{ buildApp }:
2buildApp rec {
3 appName = "ocsms";
4 version = "2.1.1";
5 url = "https://github.com/nextcloud/${appName}/releases/download/${version}/${appName}-${version}.tar.gz";
6 sha256 = "0sgfbmy1c8rgzjvf9snc7rzgp8aqsc65zfwgi6qcsf2g6gam5n7a";
7 installPhase = ''
8 sed -i -e "/addScript.*devel/d" -e "s@//\(.*addScript.*app.min\)@\1@" templates/main.php
9 sed -i -e 's/max-version="15.0"/max-version="16.0"/' appinfo/info.xml
10 mkdir -p $out
11 cp -R . $out/
12 '';
13}