From 57cffe5040fc6827d3193c779850049529d00bc1 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Tue, 11 May 2010 17:28:54 +0000 Subject: [PATCH] pidgin plugin sipe contributed by David Brown svn path=/nixpkgs/trunk/; revision=21730 --- .../pidgin-plugins/sipe/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix new file mode 100644 index 000000000000..b80f81010da6 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix @@ -0,0 +1,22 @@ +args: with args; + +let + version = "1.10.0"; +in +stdenv.mkDerivation { + name = "pidgin-sipe-${version}"; + src = fetchurl { + url = "mirror://sourceforge/sipe/sipe/pidgin-sipe-${version}/pidgin-sipe-${version}.tar.gz"; + sha256 = "11d85qxix1dmwvzs3lx0sycsx1d5sy67r9y78fs7z716py4mg9np"; + }; + + meta = { + description = "SIPE plugin for Pidgin IM."; + homepage = http://sipe.sourceforge.net/; + license = "GPLv2"; + }; + + postInstall = "find $out -ls; ln -s \$out/lib/purple-2 \$out/share/pidgin-sipe"; + + buildInputs = [pidgin intltool libxml2]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e3d397b11da..367e99223e78 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8216,6 +8216,10 @@ let inherit fetchurl stdenv libotr pidgin; }; + pidginsipe = import ../applications/networking/instant-messengers/pidgin-plugins/sipe { + inherit fetchurl stdenv pidgin intltool libxml2; + }; + pinfo = import ../applications/misc/pinfo { inherit fetchurl stdenv ncurses readline; };