git.iko.soy/typeable/nixpkgs
on master help sign in
keeweb: 1.16.7 → 1.17.0
commitc9cabb048f5c9422875f12114902e1267eee6a34 authorNikolay Korotkiy <sikmir@gmail.com> dateTue 9 Mar 2021, 22:33 (6 years ago) parent100537f
1 file changed+10−9
pkgs/applications/misc/keeweb/default.nix+10−9
pkgs/applications/misc/keeweb/default.nix+10−9
@@ -1,10 +1,10 @@
1−{ lib, stdenv, fetchurl, appimageTools, undmg, libsecret }:
1+{ lib, stdenv, fetchurl, appimageTools, undmg, libsecret, libxshmfence }:
22let
33 inherit (stdenv.hostPlatform) system;
44 throwSystem = throw "Unsupported system: ${system}";
55
66 pname = "keeweb";
7− version = "1.16.7";
7+ version = "1.17.0";
88 name = "${pname}-${version}";
99
1010 suffix = {
@@ -16,9 +16,9 @@ let
1616 src = fetchurl {
1717 url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.${suffix}";
1818 sha256 = {
19− x86_64-linux = "0a4yh2jh9sph17mqqi62gm5jc4yffkysq6yiggyzz5f8xw4p315j";
20− x86_64-darwin = "0ix1apddqvz561pw5lx47x091wlfj27zh8k8v7kn5xvm09hswfkr";
21− aarch64-darwin = "0p0kql79kcb3w947g1ljhbj15b8aqrwcrbi0cknb12f6iq47lkz7";
19+ x86_64-linux = "1c7zvwnd46d3lrlcdigv341flz44jl6mnvr6zqny5mfz221ynbj7";
20+ x86_64-darwin = "1n4haxychm5jjhjnpncavjh0wr4dagqi78qfsx5gwlv86hzryzwy";
21+ aarch64-darwin = "1j7z63cbfms02f2lhl949wy3lc376jw8kqmjfn9j949s0l5fanpb";
2222 }.${system} or throwSystem;
2323 };
2424
@@ -29,6 +29,7 @@ let
2929 meta = with lib; {
3030 description = "Free cross-platform password manager compatible with KeePass";
3131 homepage = "https://keeweb.info/";
32+ changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md";
3233 license = licenses.mit;
3334 maintainers = with maintainers; [ sikmir ];
3435 platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
@@ -37,7 +38,7 @@ let
3738 linux = appimageTools.wrapType2 rec {
3839 inherit name src meta;
3940
40− extraPkgs = pkgs: with pkgs; [ libsecret ];
41+ extraPkgs = pkgs: with pkgs; [ libsecret libxshmfence ];
4142
4243 extraInstallCommands = ''
4344 mv $out/bin/{${name},${pname}}
@@ -54,11 +55,11 @@ let
5455
5556 nativeBuildInputs = [ undmg ];
5657
57− sourceRoot = "KeeWeb.app";
58+ sourceRoot = ".";
5859
5960 installPhase = ''
60− mkdir -p $out/Applications/KeeWeb.app
61− cp -R . $out/Applications/KeeWeb.app
61+ mkdir -p $out/Applications
62+ cp -r *.app $out/Applications
6263 '';
6364 };
6465in