Skip to content

Commit

Permalink
Merge pull request #109800 from claudiiii/keepassxc-update
Browse files Browse the repository at this point in the history
keepassxc: 2.6.2 -> 2.6.3
  • Loading branch information
SuperSandro2000 committed Jan 18, 2021
2 parents 4a77f1e + ef0419f commit 4dffb6a
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions pkgs/applications/misc/keepassx/community.nix
Expand Up @@ -40,13 +40,13 @@ with lib;

stdenv.mkDerivation rec {
pname = "keepassxc";
version = "2.6.2";
version = "2.6.3";

src = fetchFromGitHub {
owner = "keepassxreboot";
repo = "keepassxc";
rev = version;
sha256 = "032dzywvwpclhsl3n1pq2m9gyxqpg0gkci6axbvbs7bn82wznc4h";
sha256 = "1jd2mvafyn095crfs2hnfprqiy8yqsvfybwbjq8n0agapnz4bl5h";
};

NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang [
Expand All @@ -55,11 +55,6 @@ stdenv.mkDerivation rec {
"-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}"
];

postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace CMakeLists.txt \
--replace "/usr/local/bin" "../bin" \
--replace "/usr/local/share/man" "../share/man"
'';
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";

patches = [
Expand All @@ -83,14 +78,18 @@ stdenv.mkDerivation rec {

doCheck = true;
checkPhase = ''
runHook preCheck
export LC_ALL="en_US.UTF-8"
export QT_QPA_PLATFORM=offscreen
export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
# testcli and testgui are flaky - skip them both
make test ARGS+="-E 'testcli|testgui' --output-on-failure"
runHook postCheck
'';

nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
nativeBuildInputs = [ cmake wrapQtAppsHook qttools pkg-config ];

buildInputs = [
asciidoctor
Expand All @@ -103,7 +102,6 @@ stdenv.mkDerivation rec {
libgpgerror
libsodium
libyubikey
pkg-config
qrencode
qtbase
qtsvg
Expand All @@ -124,7 +122,7 @@ stdenv.mkDerivation rec {
description = "Password manager to store your passwords safely and auto-type them into your everyday websites and applications";
longDescription = "A community fork of KeePassX, which is itself a port of KeePass Password Safe. The goal is to extend and improve KeePassX with new features and bugfixes to provide a feature-rich, fully cross-platform and modern open-source password manager. Accessible via native cross-platform GUI, CLI, and browser integration with the KeePassXC Browser Extension (https://github.com/keepassxreboot/keepassxc-browser).";
homepage = "https://keepassxc.org/";
license = licenses.gpl2;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jonafato turion ];
platforms = platforms.linux ++ platforms.darwin;
};
Expand Down

0 comments on commit 4dffb6a

Please sign in to comment.