about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix
blob: d842dc9364b075ed3889be3e10517a9efad7df8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
  };

  patches = [ ./fix-2.7.0.patch ];

  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];
}