summaryrefslogtreecommitdiff
path: root/pkgs/applications/misc/keepassx/community.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/keepassx/community.nix')
-rw-r--r--pkgs/applications/misc/keepassx/community.nix23
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/applications/misc/keepassx/community.nix b/pkgs/applications/misc/keepassx/community.nix
index 621d856aae22..23a478ef3c54 100644
--- a/pkgs/applications/misc/keepassx/community.nix
+++ b/pkgs/applications/misc/keepassx/community.nix
@@ -23,6 +23,7 @@
, qtsvg
, qtx11extras
, quazip
+, readline
, wrapQtAppsHook
, yubikey-personalization
, zlib
@@ -51,13 +52,13 @@ stdenv.mkDerivation rec {
sha256 = "02ajfkw818cmalvkl0kqvza85rgdgs59kw2v7b3c4v8kv00c41j3";
};
- env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang (toString [
+ env.NIX_CFLAGS_COMPILE = optionalString stdenv.cc.isClang (toString [
"-Wno-old-style-cast"
"-Wno-error"
"-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}"
]);
- env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
+ env.NIX_LDFLAGS = optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
patches = [
./darwin.patch
@@ -108,12 +109,14 @@ stdenv.mkDerivation rec {
qtbase
qtsvg
qtx11extras
+ readline
yubikey-personalization
zlib
]
- ++ lib.optional withKeePassKeeShareSecure quazip
- ++ lib.optional stdenv.isDarwin qtmacextras
- ++ lib.optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication;
+ ++ optional withKeePassKeeShareSecure quazip
+ ++ optional stdenv.isDarwin qtmacextras
+ ++ optional (stdenv.isDarwin && withKeePassTouchID)
+ darwin.apple_sdk.frameworks.LocalAuthentication;
preFixup = optionalString stdenv.isDarwin ''
# Make it work without Qt in PATH.
@@ -123,8 +126,14 @@ stdenv.mkDerivation rec {
passthru.tests = nixosTests.keepassxc;
meta = {
- 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).";
+ description = "Offline password manager with many features.";
+ 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, has browser integration
+ using the KeePassXC Browser Extension (https://github.com/keepassxreboot/keepassxc-browser)
+ '';
homepage = "https://keepassxc.org/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jonafato turion ];