summary refs log tree commit diff
path: root/pkgs/development/libraries/libotr/default.nix
blob: 3782dabc67bd0420f2df111ab0b4b3298f824e29 (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
{stdenv, fetchgit, libgcrypt, autoconf, automake, libtool}:

stdenv.mkDerivation rec {
  name = "libotr-20130821-git-f0f8a2";
  src = fetchgit {
    url = "http://git.code.sf.net/p/otr/libotr";
    rev = "f0f8a2";
    sha256 = "08019r8bnk8f4yx6574jdz217p283ry7dmpqcad2d87yhkdmc3mm";
  };

  NIX_LDFLAGS = "-lssp";

  propagatedBuildInputs = [ libgcrypt autoconf automake libtool ];

  preConfigure = "autoreconf -vfi";

  meta = {
    homepage = "http://www.cypherpunks.ca/otr/";
    repositories.git = git://git.code.sf.net/p/otr/libotr;
    license = stdenv.lib.licenses.lgpl21;
    description = "Library for Off-The-Record Messaging";
  };
}