nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, libgcrypt, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 name = "libotr-4.1.1";
5
6 src = fetchurl {
7 url = "https://otr.cypherpunks.ca/${name}.tar.gz";
8 sha256 = "1x8rliydhbibmzwdbyr7pd7n87m2jmxnqkpvaalnf4154hj1hfwb";
9 };
10
11 nativeBuildInputs = [ autoreconfHook ];
12 buildInputs = [ ];
13 propagatedBuildInputs = [ libgcrypt ];
14
15 meta = with stdenv.lib; {
16 homepage = http://www.cypherpunks.ca/otr/;
17 repositories.git = git://git.code.sf.net/p/otr/libotr;
18 license = licenses.lgpl21;
19 description = "Library for Off-The-Record Messaging";
20 platforms = platforms.unix;
21 };
22}