keepassxc: fix 4.9 compatibility
This commit is contained in:
parent
0ae147c50a
commit
f319442b77
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub,
|
{ stdenv, fetchFromGitHub, fetchpatch,
|
||||||
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
|
cmake, libgcrypt, zlib, libmicrohttpd, libXtst, qtbase, qttools, libgpgerror
|
||||||
, withKeePassHTTP ? true
|
, withKeePassHTTP ? true
|
||||||
}:
|
}:
|
||||||
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8";
|
sha256 = "1znnw2xpv58x0rbpmm4y662377mbmcilhf8mhhjsz8vhahms33a8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch { # qt 4.9
|
||||||
|
url = "https://github.com/keepassxreboot/keepassxc/commit/2b6059dee3a95591d787e8b8c931cd68c059d43f.patch";
|
||||||
|
sha256 = "1v140z358rk75f7wsqawpai3x8v8qcqalnv9r0l1d4p1gxm1j766";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
|
cmakeFlags = optional (withKeePassHTTP) [ "-DWITH_XC_HTTP=ON" ];
|
||||||
|
|
||||||
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];
|
buildInputs = [ cmake libgcrypt zlib qtbase qttools libXtst libmicrohttpd libgpgerror ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user