aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libotr
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-04-13 17:16:55 +0200
committerLluís Batlle i Rossell <viric@viric.name>2013-04-13 17:17:48 +0200
commit93045e558e0a4c07f73a566ba0da16a9afc8980a (patch)
treed0ca0b3e96c0e6a99ea79692574eec5ebdca3401 /pkgs/development/libraries/libotr
parent5f2a1806e51a86c394df083a1fd1542dedd6c97c (diff)
libotr: update to 4.0.0
Diffstat (limited to 'pkgs/development/libraries/libotr')
-rw-r--r--pkgs/development/libraries/libotr/default.nix20
1 files changed, 15 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libotr/default.nix b/pkgs/development/libraries/libotr/default.nix
index 472cc79fd4a4..cad97ce2c234 100644
--- a/pkgs/development/libraries/libotr/default.nix
+++ b/pkgs/development/libraries/libotr/default.nix
@@ -1,11 +1,21 @@
{stdenv, fetchurl, libgcrypt}:
-stdenv.mkDerivation {
- name = "libotr-3.2.0";
+stdenv.mkDerivation rec {
+ name = "libotr-4.0.0";
src = fetchurl {
- url = http://www.cypherpunks.ca/otr/libotr-3.2.0.tar.gz;
- sha256 = "14v6idnqpp2vhgir9bzp1ay2gmhqsb8iavrkwmallakfwch9sfyq";
+ 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";
};
- propagatedBuildInputs = [libgcrypt];
+ propagatedBuildInputs = [ libgcrypt ];
+
+ meta = {
+ homepage = "http://www.cypherpunks.ca/otr/";
+ license = "LGPLv2.1";
+ description = "Library for Off-The-Record Messaging";
+ };
}