nixpkgs/pkgs/applications/networking/instant-messengers/vacuum/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

32 lines
844 B
Nix

{ stdenv, fetchurl, qt4, openssl, xproto, libX11
, libXScrnSaver, scrnsaverproto, xz
}:
stdenv.mkDerivation rec {
name="${baseName}-${version}";
baseName = "vacuum-im";
version = "1.2.4";
src = fetchurl {
url="https://googledrive.com/host/0B7A5K_290X8-d1hjQmJaSGZmTTA/vacuum-1.2.4.tar.gz";
sha256="10qxpfbbaagqcalhk0nagvi5irbbz5hk31w19lba8hxf6pfylrhf";
};
configurePhase = "qmake INSTALL_PREFIX=$out -recursive vacuum.pro";
hardeningDisable = [ "format" ];
buildInputs = [
qt4 openssl xproto libX11 libXScrnSaver scrnsaverproto xz
];
meta = with stdenv.lib; {
description = "An XMPP client fully composed of plugins";
maintainers = with maintainers; [ raskin ];
platforms = with platforms; linux;
license = with licenses; gpl3;
homepage = "http://code.google.com/p/vacuum-im/";
};
}