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 | 24fd1fe6c62b7a9fc347794fde043285da272f5c (patch) | |
tree | 65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/webapps/nextcloud/apps/keeweb.nix | |
download | NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip |
Initial commit published for NUR
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 | } | ||