summary refs log tree commit diff
path: root/pkgs/development/libraries/libotr/default.nix
blob: 7c2a2b9a6b9a08b7e0a904e22431308b68be86f9 (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
{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }:

stdenv.mkDerivation rec {
  name = "libotr-4.1.1";

  src = fetchurl {
    url = "https://otr.cypherpunks.ca/${name}.tar.gz";
    sha256 = "1x8rliydhbibmzwdbyr7pd7n87m2jmxnqkpvaalnf4154hj1hfwb";
  };

  outputs = [ "bin" "out" "dev" ];

  nativeBuildInputs = [ autoreconfHook ];
  propagatedBuildInputs = [ libgcrypt ];

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