Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
{ stdenv, fetchFromGitHub, fetchpatch, | ||
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror | ||
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror, glibcLocales | ||
, withKeePassHTTP ? true | ||
}: | ||
|
||
with stdenv.lib; | ||
|
||
stdenv.mkDerivation rec { | ||
name = "keepassx-community-${version}"; | ||
version = "2.1.4"; | ||
version = "2.2.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "keepassxreboot"; | ||
repo = "keepassxc"; | ||
rev = "${version}"; | ||
sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8"; | ||
sha256 = "0gg75mjy2p7lyh8nnivmyn7bjp1zyx26zm8s1fak7d2di2r0mnjc"; | ||
}; | ||
|
||
patches = [ | ||
(fetchpatch { # qt 4.9 | ||
url = "https://github.com/keepassxreboot/keepassxc/commit/2b6059dee3a95591d787e8b8c931cd68c059d43f.patch"; | ||
sha256 = "1v140z358rk75f7wsqawpai3x8v8qcqalnv9r0l1d4p1gxm1j766"; | ||
}) | ||
]; | ||
cmakeFlags = [ "-DWITH_GUI_TESTS=ON" ] ++ (optional withKeePassHTTP "-DWITH_XC_HTTP=ON"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
billksun
Contributor
|
||
|
||
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ]; | ||
doCheck = true; | ||
checkPhase = '' | ||
export LC_ALL="en_US.UTF-8" | ||
make test ARGS+="-E testgui --output-on-failure" | ||
''; | ||
|
||
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ]; | ||
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror glibcLocales ]; | ||
|
||
meta = { | ||
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."; | ||
|
The
cmakeFlags
needs to be updated to enable auto-type and support for yubikey (new feature):From: https://github.com/keepassxreboot/keepassxc/wiki/Building-KeePassXC