about summary refs log tree commit diff
path: root/pkgs/development/libraries/libotr
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-04-15 20:13:49 +0200
committerLluís Batlle i Rossell <viric@viric.name>2013-04-15 20:15:19 +0200
commitb628bbda90c812ca75a4ec142642ac26a98ecc5e (patch)
treea59f501f00f5e825173fafa5a44db0bf329e4092 /pkgs/development/libraries/libotr
parent8fee4ad060069b1b4cf1e7571356197ab5fe7785 (diff)
libotr: adding back libotr 3.2; bitlbee failed without it
Diffstat (limited to 'pkgs/development/libraries/libotr')
-rw-r--r--pkgs/development/libraries/libotr/default.nix26
1 files changed, 5 insertions, 21 deletions
diff --git a/pkgs/development/libraries/libotr/default.nix b/pkgs/development/libraries/libotr/default.nix
index d737b8d9916e4..472cc79fd4a43 100644
--- a/pkgs/development/libraries/libotr/default.nix
+++ b/pkgs/development/libraries/libotr/default.nix
@@ -1,27 +1,11 @@
 {stdenv, fetchurl, libgcrypt}:
 
-stdenv.mkDerivation rec {
-  name = "libotr-4.0.0";
+stdenv.mkDerivation {
+  name = "libotr-3.2.0";
   src = fetchurl {
-    urls = [
-      "http://www.cypherpunks.ca/otr/${name}.tar.gz"
-      # The site is down at the time of updating to 4.0.0, so I add this url
-      http://ftp.de.debian.org/debian/pool/main/libo/libotr/libotr_4.0.0.orig.tar.gz
-    ];
-    sha256 = "3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4";
+    url = http://www.cypherpunks.ca/otr/libotr-3.2.0.tar.gz;
+    sha256 = "14v6idnqpp2vhgir9bzp1ay2gmhqsb8iavrkwmallakfwch9sfyq";
   };
 
-  # Crashes without it, still not accepted upstream.
-  # Discussed in https://github.com/cryptodotis/irssi-otr/issues/21
-  patches = [ ./0001-Fix-pass-opdata-when-sending-message-fragment.patch ];
-
-  NIX_LDFLAGS = "-lssp";
-
-  propagatedBuildInputs = [ libgcrypt ];
-
-  meta = {
-    homepage = "http://www.cypherpunks.ca/otr/";
-    license = "LGPLv2.1";
-    description = "Library for Off-The-Record Messaging";
-  };
+  propagatedBuildInputs = [libgcrypt];
 }