Add Vacuum IM

svn path=/nixpkgs/trunk/; revision=23870
This commit is contained in:
Michael Raskin 2010-09-20 08:40:30 +00:00
parent c77f29daed
commit b383ca8d2a
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
x@{builderDefsPackage
, qt4, openssl
, xproto, libX11
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
version="1.0.2";
baseName="vacuum";
name="${baseName}-${version}";
url="http://vacuum-im.googlecode.com/files/${name}-source.tar.gz";
hash="01ndwxpgr8911f2nfyb6i7avmmlwfikn031q1s60js4lgbqdq3b7";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doQMake" "doMakeInstall"];
goSrcDir = ''cd vacuum-*/'';
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;
};
passthru = {
updateInfo = {
downloadPage = "http://code.google.com/p/vacuum-im/downloads/list?can=2&q=&colspec=Filename";
};
};
}) x

View File

@ -1204,6 +1204,8 @@ let
unetbootin = callPackage ../tools/cd-dvd/unetbootin { };
upx = callPackage ../tools/compression/upx { };
vacuum = callPackage ../applications/networking/instant-messengers/vacuum {};
vbetool = builderDefsPackage ../tools/system/vbetool {
inherit pciutils libx86 zlib;