keepassx{,2}: drop

Upstream has officially abandoned the project as of 2021 [0], there's been
no release since 2016, it uses the EoL Qt 4, and alternatives like
KeePassXC exist.

Also move KeePassXC to its own directory -- it doesn't make sense to
have it in KeePassX's folder anymore.

[0]: https://www.keepassx.org/index.html%3Fp=636.html

+5 -63
+2
nixos/doc/manual/release-notes/rl-2305.section.md
··· 78 78 79 79 - `git-bug` has been updated to at least version 0.8.0, which includes backwards incompatible changes. The `git-bug-migration` package can be used to upgrade existing repositories. 80 80 81 + - `keepassx` and `keepassx2` have been removed, due to upstream [stopping development](https://www.keepassx.org/index.html%3Fp=636.html). Consider [KeePassXC](https://keepassxc.org) as a maintained alternative. 82 + 81 83 - The `services.kubo.settings` option is now no longer stateful. If you changed any of the options in `services.kubo.settings` in the past and then removed them from your NixOS configuration again, those changes are still in your Kubo configuration file but will now be reset to the default. If you're unsure, you may want to make a backup of your configuration file (probably /var/lib/ipfs/config) and compare after the update. 82 84 83 85 - The EC2 image module no longer fetches instance metadata in stage-1. This results in a significantly smaller initramfs, since network drivers no longer need to be included, and faster boots, since metadata fetching can happen in parallel with startup of other services.
-22
pkgs/applications/misc/keepassx/2.0.nix
··· 1 - { lib, stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "keepassx2"; 5 - version = "2.0.3"; 6 - 7 - src = fetchurl { 8 - url = "https://www.keepassx.org/releases/${version}/keepassx-${version}.tar.gz"; 9 - sha256 = "1ia7cqx9ias38mnffsl7da7g1f66bcbjsi23k49sln0c6spb9zr3"; 10 - }; 11 - 12 - nativeBuildInputs = [ cmake ]; 13 - buildInputs = [ libgcrypt qt4 xorg.libXtst ]; 14 - 15 - meta = { 16 - description = "Qt password manager compatible with its Win32 and Pocket PC versions"; 17 - homepage = "https://www.keepassx.org/"; 18 - license = lib.licenses.gpl2; 19 - maintainers = with lib.maintainers; [ qknight ]; 20 - platforms = with lib.platforms; linux; 21 - }; 22 - }
pkgs/applications/misc/keepassx/community.nix pkgs/applications/misc/keepassxc/default.nix
pkgs/applications/misc/keepassx/darwin.patch pkgs/applications/misc/keepassxc/darwin.patch
-25
pkgs/applications/misc/keepassx/default.nix
··· 1 - { lib, stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xorgproto, libXtst }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "keepassx"; 5 - version = "0.4.4"; 6 - 7 - src = fetchurl { 8 - url = "https://www.keepassx.org/releases/${version}/${pname}-${version}.tar.gz"; 9 - sha256 = "1i5dq10x28mg7m4c0yacm32xfj4j7imir4ph8x9p0s2ym260c9ry"; 10 - }; 11 - 12 - patches = [ ./random.patch ]; 13 - 14 - buildInputs = [ bzip2 qt4 libX11 xorgproto libXtst ]; 15 - 16 - nativeBuildInputs = [ qmake4Hook ]; 17 - 18 - meta = { 19 - description = "Qt password manager compatible with its Win32 and Pocket PC versions"; 20 - homepage = "https://www.keepassx.org/"; 21 - license = lib.licenses.gpl2; 22 - maintainers = with lib.maintainers; [ qknight ]; 23 - platforms = with lib.platforms; linux; 24 - }; 25 - }
-13
pkgs/applications/misc/keepassx/random.patch
··· 1 - --- a/src/lib/random.cpp 2014-01-21 21:15:55.829312723 +0000 2 - +++ b/src/lib/random.cpp 2014-01-21 21:16:36.752535839 +0000 3 - @@ -28,6 +28,10 @@ 4 - #include <wincrypt.h> 5 - #include <QSysInfo> 6 - #endif 7 - +#ifndef Q_WS_WIN 8 - + #include <sys/types.h> 9 - + #include <unistd.h> 10 - +#endif 11 - 12 - #include <QCryptographicHash> 13 - #include <QCursor>
+2
pkgs/top-level/aliases.nix
··· 727 727 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # Added 2020-06-16 728 728 kdiff3-qt5 = throw "'kdiff3-qt5' has been renamed to/replaced by 'kdiff3'"; # Converted to throw 2022-02-22 729 729 keepass-keefox = throw "'keepass-keefox' has been renamed to/replaced by 'keepass-keepassrpc'"; # Converted to throw 2022-02-22 730 + keepassx = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17 730 731 keepassx-community = throw "'keepassx-community' has been renamed to/replaced by 'keepassxc'"; # Converted to throw 2022-02-22 731 732 keepassx-reboot = throw "'keepassx-reboot' has been renamed to/replaced by 'keepassx-community'"; # Converted to throw 2022-02-22 733 + keepassx2 = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17 732 734 keepassx2-http = throw "'keepassx2-http' has been renamed to/replaced by 'keepassx-reboot'"; # Converted to throw 2022-02-22 733 735 keepnote = throw "keepnote has been removed from nixpkgs, as it is stuck on python2"; # Added 2022-01-01 734 736 kerberos = libkrb5; # moved from top-level 2021-03-14
+1 -3
pkgs/top-level/all-packages.nix
··· 29300 29300 29301 29301 karlender = callPackage ../applications/office/karlender { }; 29302 29302 29303 - keepassx = callPackage ../applications/misc/keepassx { }; 29304 - keepassx2 = callPackage ../applications/misc/keepassx/2.0.nix { }; 29305 - keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix { 29303 + keepassxc = libsForQt5.callPackage ../applications/misc/keepassxc { 29306 29304 inherit (darwin.apple_sdk_11_0.frameworks) LocalAuthentication; 29307 29305 stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 29308 29306 };