From c9cabb048f5c9422875f12114902e1267eee6a34 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Tue, 9 Mar 2021 22:33:10 +0300 Subject: [PATCH] =?UTF-8?q?keeweb:=201.16.7=20=E2=86=92=201.17.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/misc/keeweb/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/keeweb/default.nix b/pkgs/applications/misc/keeweb/default.nix index 391e698dcf7f..3b2ca74c6423 100644 --- a/pkgs/applications/misc/keeweb/default.nix +++ b/pkgs/applications/misc/keeweb/default.nix @@ -1,10 +1,10 @@ -{ lib, stdenv, fetchurl, appimageTools, undmg, libsecret }: +{ lib, stdenv, fetchurl, appimageTools, undmg, libsecret, libxshmfence }: let inherit (stdenv.hostPlatform) system; throwSystem = throw "Unsupported system: ${system}"; pname = "keeweb"; - version = "1.16.7"; + version = "1.17.0"; name = "${pname}-${version}"; suffix = { @@ -16,9 +16,9 @@ let src = fetchurl { url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.${suffix}"; sha256 = { - x86_64-linux = "0a4yh2jh9sph17mqqi62gm5jc4yffkysq6yiggyzz5f8xw4p315j"; - x86_64-darwin = "0ix1apddqvz561pw5lx47x091wlfj27zh8k8v7kn5xvm09hswfkr"; - aarch64-darwin = "0p0kql79kcb3w947g1ljhbj15b8aqrwcrbi0cknb12f6iq47lkz7"; + x86_64-linux = "1c7zvwnd46d3lrlcdigv341flz44jl6mnvr6zqny5mfz221ynbj7"; + x86_64-darwin = "1n4haxychm5jjhjnpncavjh0wr4dagqi78qfsx5gwlv86hzryzwy"; + aarch64-darwin = "1j7z63cbfms02f2lhl949wy3lc376jw8kqmjfn9j949s0l5fanpb"; }.${system} or throwSystem; }; @@ -29,6 +29,7 @@ let meta = with lib; { description = "Free cross-platform password manager compatible with KeePass"; homepage = "https://keeweb.info/"; + changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md"; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; @@ -37,7 +38,7 @@ let linux = appimageTools.wrapType2 rec { inherit name src meta; - extraPkgs = pkgs: with pkgs; [ libsecret ]; + extraPkgs = pkgs: with pkgs; [ libsecret libxshmfence ]; extraInstallCommands = '' mv $out/bin/{${name},${pname}} @@ -54,11 +55,11 @@ let nativeBuildInputs = [ undmg ]; - sourceRoot = "KeeWeb.app"; + sourceRoot = "."; installPhase = '' - mkdir -p $out/Applications/KeeWeb.app - cp -R . $out/Applications/KeeWeb.app + mkdir -p $out/Applications + cp -r *.app $out/Applications ''; }; in