Skip to content

Commit 7df83ab

Browse files
committedJun 26, 2017
keepassx-community: 2.1.4 -> 2.2.0
1 parent 8d8fdce commit 7df83ab

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed
 

Diff for: ‎pkgs/applications/misc/keepassx/community.nix

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
{ stdenv, fetchFromGitHub, fetchpatch,
2-
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
2+
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror, glibcLocales
33
, withKeePassHTTP ? true
44
}:
55

66
with stdenv.lib;
77

88
stdenv.mkDerivation rec {
99
name = "keepassx-community-${version}";
10-
version = "2.1.4";
10+
version = "2.2.0";
1111

1212
src = fetchFromGitHub {
1313
owner = "keepassxreboot";
1414
repo = "keepassxc";
1515
rev = "${version}";
16-
sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8";
16+
sha256 = "0gg75mjy2p7lyh8nnivmyn7bjp1zyx26zm8s1fak7d2di2r0mnjc";
1717
};
1818

19-
patches = [
20-
(fetchpatch { # qt 4.9
21-
url = "https://github.com/keepassxreboot/keepassxc/commit/2b6059dee3a95591d787e8b8c931cd68c059d43f.patch";
22-
sha256 = "1v140z358rk75f7wsqawpai3x8v8qcqalnv9r0l1d4p1gxm1j766";
23-
})
24-
];
19+
cmakeFlags = [ "-DWITH_GUI_TESTS=ON" ] ++ (optional withKeePassHTTP "-DWITH_XC_HTTP=ON");
Has conversations. Original line has conversations.
2520

26-
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
21+
doCheck = true;
22+
checkPhase = ''
23+
export LC_ALL="en_US.UTF-8"
24+
make test ARGS+="-E testgui --output-on-failure"
25+
'';
2726

28-
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];
27+
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror glibcLocales ];
2928

3029
meta = {
3130
description = "Fork of the keepassX password-manager with additional http-interface to allow browser-integration an use with plugins such as PasslFox (https://github.com/pfn/passifox). See also keepassX2.";

0 commit comments

Comments
 (0)
Please sign in to comment.