summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/vacuum
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2010-09-20 08:40:30 +0000
committerMichael Raskin <7c6f434c@mail.ru>2010-09-20 08:40:30 +0000
commitb383ca8d2a9a096cc028ec84ce6b2c22dabbbe48 (patch)
treef910ac5207c356b6da5080003bbcbcba896b1486 /pkgs/applications/networking/instant-messengers/vacuum
parentc77f29daedfb1699f19902e517441cf63ecc0d96 (diff)
downloadnixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.tar
nixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.tar.gz
nixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.tar.bz2
nixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.tar.lz
nixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.tar.xz
nixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.tar.zst
nixpkgs-b383ca8d2a9a096cc028ec84ce6b2c22dabbbe48.zip
Add Vacuum IM
svn path=/nixpkgs/trunk/; revision=23870
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/vacuum')
-rw-r--r--pkgs/applications/networking/instant-messengers/vacuum/default.nix54
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/vacuum/default.nix b/pkgs/applications/networking/instant-messengers/vacuum/default.nix
new file mode 100644
index 00000000000..5d5aed592fd
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/vacuum/default.nix
@@ -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
+