Here it comes.

I only added SSL, what I needed, although the program supports more things.

I hacked the diff for all-packages.nix, since some latter changes I
proposed aren't still in the trunk, so this patch should add only
mcabber.

Regards,
Lluís.
Index: pkgs/top-level/all-packages.nix
===================================================================
--- pkgs/top-level/all-packages.nix     (revision 13697)
+++ pkgs/top-level/all-packages.nix     (working copy)
@@ -969,6 +973,11 @@
     inherit (xlibs) libX11;
   };
 
+  mcabber = import ../applications/networking/instant-messengers/mcabber {
+    inherit fetchurl stdenv openssl ncurses pkgconfig;
+    inherit (gtkLibs) glib;
+  };
+
   mdbtools = builderDefsPackage (selectVersion ../tools/misc/mdbtools 
"0.6-pre1") {
     inherit readline pkgconfig bison;
     inherit (gtkLibs) glib;
Index: pkgs/applications/networking/instant-messengers/mcabber/default.nix
===================================================================
--- pkgs/applications/networking/instant-messengers/mcabber/default.nix 
(revision 0)
+++ pkgs/applications/networking/instant-messengers/mcabber/default.nix 
(revision 0)
@@ -0,0 +1,19 @@
+{stdenv, fetchurl, openssl, ncurses, pkgconfig, glib}:
+
+stdenv.mkDerivation {
+
+  name = "mcabber-0.9.9";
+
+  src = fetchurl {
+    url = http://mirror.mcabber.com/files/mcabber-0.9.9.tar.bz2;
+    sha256 = 
"2a231c9241211d33745f110f35cfa6bdb051b32791461b9579794b6623863bb1";
+  };
+
+  meta = { homepage = "http://mirror.mcabber.com/";;
+           description = "Small Jabber console client";
+         };
+
+  buildInputs = [openssl ncurses pkgconfig glib];
+
+  configureFlags = "--with-openssl=${openssl}";
+}
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to