nixpkgs/pkgs/applications/networking/instant-messengers/vacuum/default.nix

57 lines
1.4 KiB
Nix
Raw Normal View History

x@{builderDefsPackage
, qt4, openssl
, xproto, libX11, libXScrnSaver, scrnsaverproto
, xz
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
version="1.1.2";
baseName="vacuum-im";
name="${baseName}-${version}";
url="http://vacuum-im.googlecode.com/files/vacuum-${version}.tar.xz";
hash="451dde9b3587503b035fa1ddd2c99f2052a0b17a603491c59e8c47a8bcd4746d";
};
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 = ["addInputs" "doQMake" "doMakeInstall"];
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;
license = with a.lib.licenses;
gpl3;
homepage = "http://code.google.com/p/vacuum-im/";
};
passthru = {
updateInfo = {
downloadPage = "http://code.google.com/p/vacuum-im/downloads/list?can=2&q=&colspec=Filename";
};
};
}) x