vacuum: 1.3.0.20160104 -> unstable-2021-12-09

qt4 -> qt5

(cherry picked from commit 2c2ebf360333dedcdc1400c5f024425cf7fc5947)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
ajs124 2022-05-26 03:43:43 +02:00 committed by Matthias Beyer
parent de24b1e3b1
commit 533540bb99
No known key found for this signature in database
2 changed files with 31 additions and 23 deletions

View file

@ -1,35 +1,43 @@
{ lib, stdenv, fetchFromGitHub
, qt4, qmake4Hook, openssl
, xorgproto, libX11, libXScrnSaver
, xz, zlib
{ stdenv, lib, fetchFromGitHub
, qtbase
, qttools
, qtx11extras
, qtmultimedia
, qtwebkit
, wrapQtAppsHook
, cmake
, openssl
, xorgproto, libX11, libXScrnSaver
, xz, zlib
}:
stdenv.mkDerivation {
pname = "vacuum-im";
version = "1.3.0.20160104";
version = "unstable-2021-12-09";
src = fetchFromGitHub {
owner = "Vacuum-IM";
repo = "vacuum-im";
rev = "1.3.0.20160104-Alpha";
sha256 = "1jcw9c7s75y4c3m4skfc3cc0i519z39b23n997vj5mwcjplxyc76";
rev = "0abd5e11dd3e2538b8c47f5a06febedf73ae99ee";
sha256 = "0l9pln07zz874m1r6wnpc9vcdbpgvjdsy49cjjilc6s4p4b2c812";
};
buildInputs = [
qt4 openssl xorgproto libX11 libXScrnSaver xz zlib
nativeBuildInputs = [
wrapQtAppsHook
cmake
];
buildInputs = [
qtbase
qttools
qtx11extras
qtmultimedia
qtwebkit
openssl
xorgproto
libX11
libXScrnSaver
xz
zlib
];
# hack: needed to fix build issues in
# https://hydra.nixos.org/build/38322959/nixlog/1
# should be an upstream issue but it's easy to fix
NIX_LDFLAGS = "-lz";
nativeBuildInputs = [ qmake4Hook ];
preConfigure = ''
qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
'';
hardeningDisable = [ "format" ];
meta = with lib; {
description = "An XMPP client fully composed of plugins";

View file

@ -14072,7 +14072,7 @@ with pkgs;
v2ray-geoip = callPackage ../data/misc/v2ray-geoip { };
vacuum = callPackage ../applications/networking/instant-messengers/vacuum { };
vacuum = libsForQt5.callPackage ../applications/networking/instant-messengers/vacuum {};
validator-nu = callPackage ../tools/text/validator-nu { };