2010-09-20 09:40:30 +01:00
|
|
|
x@{builderDefsPackage
|
|
|
|
, qt4, openssl
|
2011-03-18 08:06:36 +00:00
|
|
|
, xproto, libX11, libXScrnSaver, scrnsaverproto
|
2011-09-01 07:15:12 +01:00
|
|
|
, xz
|
2010-09-20 09:40:30 +01:00
|
|
|
, ...}:
|
|
|
|
builderDefsPackage
|
|
|
|
(a :
|
|
|
|
let
|
|
|
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
|
|
[];
|
|
|
|
|
|
|
|
buildInputs = map (n: builtins.getAttr n x)
|
|
|
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
|
|
sourceInfo = rec {
|
2014-11-03 23:38:13 +00:00
|
|
|
version="1.2.4";
|
2011-09-01 07:15:12 +01:00
|
|
|
baseName="vacuum-im";
|
2010-09-20 09:40:30 +01:00
|
|
|
name="${baseName}-${version}";
|
2014-11-03 23:38:13 +00:00
|
|
|
url="https://googledrive.com/host/0B7A5K_290X8-d1hjQmJaSGZmTTA/vacuum-1.2.4.tar.gz";
|
|
|
|
sha256="10qxpfbbaagqcalhk0nagvi5irbbz5hk31w19lba8hxf6pfylrhf";
|
2010-09-20 09:40:30 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
2014-11-03 23:38:13 +00:00
|
|
|
sha256 = sourceInfo.sha256;
|
2010-09-20 09:40:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (sourceInfo) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
2012-01-18 10:26:38 +00:00
|
|
|
phaseNames = ["addInputs" "doQMake" "doMakeInstall"];
|
2010-10-13 00:15:25 +01:00
|
|
|
|
2010-09-20 09:40:30 +01:00
|
|
|
doQMake = a.fullDepEntry (''
|
|
|
|
qmake INSTALL_PREFIX=$out -recursive vacuum.pro
|
|
|
|
'') ["doUnpack" "addInputs"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An XMPP client fully composed of plugins";
|
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
2012-01-18 10:26:38 +00:00
|
|
|
license = with a.lib.licenses;
|
|
|
|
gpl3;
|
|
|
|
homepage = "http://code.google.com/p/vacuum-im/";
|
2010-09-20 09:40:30 +01:00
|
|
|
};
|
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://code.google.com/p/vacuum-im/downloads/list?can=2&q=&colspec=Filename";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|