616fa05306
KeepassXC has a new bugfix release. The changelog is available at https://github.com/keepassxreboot/keepassxc/releases/tag/2.2.4.
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{ stdenv, fetchFromGitHub, fetchpatch,
|
|
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror, glibcLocales, libyubikey, yubikey-personalization, libXi, qtx11extras
|
|
, withKeePassHTTP ? true
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "keepassxc-${version}";
|
|
version = "2.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "keepassxreboot";
|
|
repo = "keepassxc";
|
|
rev = "${version}";
|
|
sha256 = "0q913v2ka6p7jr7c4w9fq8aqh5v6nxqgcv9h7zllk5p0amsf8d80";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DWITH_GUI_TESTS=ON"
|
|
"-DWITH_XC_AUTOTYPE=ON"
|
|
"-DWITH_XC_YUBIKEY=ON"
|
|
] ++ (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 glibcLocales libyubikey yubikey-personalization libXi qtx11extras ];
|
|
|
|
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.";
|
|
homepage = https://github.com/keepassxreboot/keepassxc;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ s1lvester jonafato ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|