From b97b16534e769ff8a7c4dc9b41cfd108af7ac271 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 20 Mar 2008 09:50:31 +0000 Subject: [PATCH] Added Psi svn path=/nixpkgs/trunk/; revision=11214 --- .../instant-messengers/psi/0.11.nix | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/applications/networking/instant-messengers/psi/0.11.nix diff --git a/pkgs/applications/networking/instant-messengers/psi/0.11.nix b/pkgs/applications/networking/instant-messengers/psi/0.11.nix new file mode 100644 index 000000000000..5cd1ef1c43fa --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/psi/0.11.nix @@ -0,0 +1,30 @@ + +args : with args; with builderDefs {src="";} null; + let localDefs = builderDefs (rec { + src = /* put a fetchurl here */ + fetchurl { + url = ftp://ftp.ru.debian.org/debian/pool/main/p/psi/psi_0.11.orig.tar.gz; + sha256 = "1rgjahngari4pwhi0zz9mricaaqxkk8ry8w6s1vgsq3zwa2l5x57"; + }; + + buildInputs = [aspell qt zlib sox openssl libX11 xproto + libSM libICE]; + configureFlags = [" --with-zlib-inc=${zlib}/include " + " --with-openssl-inc=${openssl}/include " + ]; + }) args null; /* null is a terminator for sumArgs */ + in with localDefs; +stdenv.mkDerivation rec { + name = "psi-"+version; + MAKE="make"; + builder = writeScript (name + "-builder") + (textClosure localDefs + ["doConfigure" "doMakeInstall" doForceShare doPropagate]); + meta = { + description = " + Psi, an XMPP (Jabber) client. +"; + inherit src; + }; +} +