aboutsummaryrefslogtreecommitdiff
path: root/pkgs/webapps/nextcloud/apps/keeweb.nix
blob: 4ea13990dfc3535fbb3603f355ec2a9a47a345d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ buildApp, nextcloudVersion }:
assert nextcloudVersion >= 11 && nextcloudVersion <= 18;
buildApp rec {
  appName = "keeweb";
  version = "0.6.2";
  url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz";
  sha256 = "067801qz0fcfvmb14ja1ringzk53j1wp7ys2fl7lnlhf45r81vxx";
  installPhase = ''
    mkdir -p $out
    cp -R . $out/
    '';
  otherConfig = {
    mimetypemapping = {
      "kdbx" = ["application/x-kdbx"];
    };
  };
}