at 23.11-beta 28 lines 723 B view raw
1{ lib, stdenv, fetchurl, pkgsHostTarget, 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 = [ 17 autoreconfHook 18 pkgsHostTarget.libgcrypt.dev # for libgcrypt-config 19 ]; 20 propagatedBuildInputs = [ libgcrypt ]; 21 22 meta = with lib; { 23 homepage = "http://www.cypherpunks.ca/otr/"; 24 license = licenses.lgpl21; 25 description = "Library for Off-The-Record Messaging"; 26 platforms = platforms.unix; 27 }; 28}