From 252dd7d899b7a0deea1537cc5d2d48b825afffb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 13 Dec 2018 21:25:24 +0100 Subject: Initial commit published for NUR --- pkgs/webapps/nextcloud/apps/keeweb.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/webapps/nextcloud/apps/keeweb.nix (limited to 'pkgs/webapps/nextcloud/apps/keeweb.nix') 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 @@ +{ buildApp }: +buildApp rec { + appName = "keeweb"; + version = "0.5.0"; + url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz"; + sha256 = "0wdr6ywlirmac7w1ld5ma7fwb4bykclbxfq2sxwg6pvzfid5vc8x"; + installPhase = '' + mkdir -p $out + cp -R . $out/ + sed -i -e 's/max-version="15"/max-version="16"/' $out/appinfo/info.xml + ''; + otherConfig = { + mimetypealiases = { + "x-application/kdbx" = "kdbx"; + }; + mimetypemapping = { + "kdbx" = ["x-application/kdbx"]; + }; + }; +} -- cgit v1.2.3