mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
494275558a
Until this is fixed upstream, have a downstream fix so libotr can be merged.
26 lines
645 B
Nix
26 lines
645 B
Nix
{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libotr";
|
|
version = "4.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://otr.cypherpunks.ca/libotr-${version}.tar.gz";
|
|
sha256 = "1x8rliydhbibmzwdbyr7pd7n87m2jmxnqkpvaalnf4154hj1hfwb";
|
|
};
|
|
|
|
patches = [ ./fix-regtest-client.patch ];
|
|
|
|
outputs = [ "bin" "out" "dev" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
propagatedBuildInputs = [ libgcrypt ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.cypherpunks.ca/otr/";
|
|
license = licenses.lgpl21;
|
|
description = "Library for Off-The-Record Messaging";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|