at 23.05-pre 25 lines 645 B view raw
1{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "libotr"; 5 version = "4.1.1"; 6 7 src = fetchurl { 8 url = "https://otr.cypherpunks.ca/libotr-${version}.tar.gz"; 9 sha256 = "1x8rliydhbibmzwdbyr7pd7n87m2jmxnqkpvaalnf4154hj1hfwb"; 10 }; 11 12 patches = [ ./fix-regtest-client.patch ]; 13 14 outputs = [ "bin" "out" "dev" ]; 15 16 nativeBuildInputs = [ autoreconfHook ]; 17 propagatedBuildInputs = [ libgcrypt ]; 18 19 meta = with lib; { 20 homepage = "http://www.cypherpunks.ca/otr/"; 21 license = licenses.lgpl21; 22 description = "Library for Off-The-Record Messaging"; 23 platforms = platforms.unix; 24 }; 25}