diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 252dd7d899b7a0deea1537cc5d2d48b825afffb0 (patch) | |
tree | f51c3c9cd7429b0b9553a840f26bee489be045bc /pkgs/webapps/nextcloud/apps/keeweb.nix | |
download | NUR-252dd7d899b7a0deea1537cc5d2d48b825afffb0.tar.gz NUR-252dd7d899b7a0deea1537cc5d2d48b825afffb0.tar.zst NUR-252dd7d899b7a0deea1537cc5d2d48b825afffb0.zip |
Initial commit published for NURnur_root
Diffstat (limited to 'pkgs/webapps/nextcloud/apps/keeweb.nix')
-rw-r--r-- | pkgs/webapps/nextcloud/apps/keeweb.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/webapps/nextcloud/apps/keeweb.nix b/pkgs/webapps/nextcloud/apps/keeweb.nix new file mode 100644 index 00000000..99713eee --- /dev/null +++ b/pkgs/webapps/nextcloud/apps/keeweb.nix | |||
@@ -0,0 +1,20 @@ | |||
1 | { buildApp }: | ||
2 | buildApp rec { | ||
3 | appName = "keeweb"; | ||
4 | version = "0.5.0"; | ||
5 | url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz"; | ||
6 | sha256 = "0wdr6ywlirmac7w1ld5ma7fwb4bykclbxfq2sxwg6pvzfid5vc8x"; | ||
7 | installPhase = '' | ||
8 | mkdir -p $out | ||
9 | cp -R . $out/ | ||
10 | sed -i -e 's/max-version="15"/max-version="16"/' $out/appinfo/info.xml | ||
11 | ''; | ||
12 | otherConfig = { | ||
13 | mimetypealiases = { | ||
14 | "x-application/kdbx" = "kdbx"; | ||
15 | }; | ||
16 | mimetypemapping = { | ||
17 | "kdbx" = ["x-application/kdbx"]; | ||
18 | }; | ||
19 | }; | ||
20 | } | ||