]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - pkgs/webapps/nextcloud/apps/keeweb.nix
Upgrade nextcloud to 16.0
[perso/Immae/Config/Nix.git] / pkgs / webapps / nextcloud / apps / keeweb.nix
CommitLineData
0ede7366
IB
1{ buildApp }:
2buildApp rec {
3 appName = "keeweb";
3a1461cf 4 version = "0.5.0";
0ede7366 5 url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz";
3a1461cf 6 sha256 = "0wdr6ywlirmac7w1ld5ma7fwb4bykclbxfq2sxwg6pvzfid5vc8x";
0ede7366
IB
7 installPhase = ''
8 mkdir -p $out
9 cp -R . $out/
3a1461cf 10 sed -i -e 's/max-version="15"/max-version="16"/' $out/appinfo/info.xml
0ede7366 11 '';
3a1461cf
IB
12 otherConfig = {
13 mimetypealiases = {
14 "x-application/kdbx" = "kdbx";
15 };
16 mimetypemapping = {
17 "kdbx" = ["x-application/kdbx"];
18 };
19 };
0ede7366 20}