git.iko.soy/typeable/nixpkgs
on master help sign in
keepassxc: fix 4.9 compatibility
commitf319442b77bcbf6465119b84da548b6b41f820e3 authorJörg Thalheim <joerg@thalheim.io> dateSun 25 Jun 2017, 09:36 (9 years ago) parent0ae147c
1 file changed+8−1
pkgs/applications/misc/keepassx/community.nix+8−1
pkgs/applications/misc/keepassx/community.nix+8−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub,
1+{ stdenv, fetchFromGitHub, fetchpatch,
22 cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
33, withKeePassHTTP ? true
44}:
@@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
1616 sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8";
1717 };
1818
19+ patches = [
20+ (fetchpatch { # qt 4.9
21+ url = "https://github.com/keepassxreboot/keepassxc/commit/2b6059dee3a95591d787e8b8c931cd68c059d43f.patch";
22+ sha256 = "1v140z358rk75f7wsqawpai3x8v8qcqalnv9r0l1d4p1gxm1j766";
23+ })
24+ ];
25+
1926 cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
2027
2128 buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];