aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libotr
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-09-06 18:47:24 -0700
committerWilliam A. Kennington III <william@wkennington.com>2014-09-06 18:47:24 -0700
commitfb9d919fe414404794f0354b6dce65785ac78153 (patch)
tree0b008c890bcf129c7aebf9b6a2c11dba171dc0ab /pkgs/development/libraries/libotr
parent4ead67b785fc666aaebaa3958b034dca28d61f19 (diff)
libotr: git -> 4.0.0
Diffstat (limited to 'pkgs/development/libraries/libotr')
-rw-r--r--pkgs/development/libraries/libotr/default.nix25
1 files changed, 12 insertions, 13 deletions
diff --git a/pkgs/development/libraries/libotr/default.nix b/pkgs/development/libraries/libotr/default.nix
index 3782dabc67bd..7b8f40d1886a 100644
--- a/pkgs/development/libraries/libotr/default.nix
+++ b/pkgs/development/libraries/libotr/default.nix
@@ -1,23 +1,22 @@
-{stdenv, fetchgit, libgcrypt, autoconf, automake, libtool}:
+{ stdenv, fetchurl, libgcrypt, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "libotr-20130821-git-f0f8a2";
- src = fetchgit {
- url = "http://git.code.sf.net/p/otr/libotr";
- rev = "f0f8a2";
- sha256 = "08019r8bnk8f4yx6574jdz217p283ry7dmpqcad2d87yhkdmc3mm";
- };
-
- NIX_LDFLAGS = "-lssp";
+ name = "libotr-4.0.0";
- propagatedBuildInputs = [ libgcrypt autoconf automake libtool ];
+ src = fetchurl {
+ url = "https://otr.cypherpunks.ca/${name}.tar.gz";
+ sha256 = "1d4k0b7v4d3scwm858cmqr9c6xgd6ppla1vk4x2yg64q82a1k49z";
+ };
- preConfigure = "autoreconf -vfi";
+ buildInputs = [ autoreconfHook ];
+ propagatedBuildInputs = [ libgcrypt ];
- meta = {
+ meta = with stdenv.lib; {
homepage = "http://www.cypherpunks.ca/otr/";
repositories.git = git://git.code.sf.net/p/otr/libotr;
- license = stdenv.lib.licenses.lgpl21;
+ license = licenses.lgpl21;
description = "Library for Off-The-Record Messaging";
+ maintainers = with maintainers; [ wkennington ];
+ platforms = platforms.unix;
};
}