Skip to content

Commit

Permalink
libmesode: init at 0.9.1
Browse files Browse the repository at this point in the history
This library is a fork of ``libstrophe'' and is needed if the
``profanity'' XMPP client is to have TLS support. TLS support has been
added to ``profanity'' since version 5.0.
  • Loading branch information
devhell authored and Mic92 committed Dec 17, 2016
1 parent 62c3d9a commit dda4629
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/development/libraries/libmesode/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, openssl, expat, pkgconfig, check }:

stdenv.mkDerivation rec {
name = "libmesode-${version}";
version = "0.9.1";

src = fetchFromGitHub {
owner = "boothj5";
repo = "libmesode";
rev = version;
sha256 = "1zb1x422zkpnxrz9d2b7pmi8ms60lbw49yh78mydqfypsmj2iyfh";
};

buildInputs = [ autoreconfHook openssl expat libtool pkgconfig check ];

dontDisableStatic = true;

doCheck = true;

meta = {
description = "Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client";
longDescription = ''
Reasons for forking:
- Remove Windows support
- Support only one XML Parser implementation (expat)
- Support only one SSL implementation (OpenSSL)
This simplifies maintenance of the library when used in Profanity.
Whilst Profanity will run against libstrophe, libmesode provides extra
TLS functionality such as manual SSL certificate verification.
'';
homepage = http://github.com/boothj5/libmesode/;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.devhell ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2596,6 +2596,8 @@ in
libmbim = callPackage ../development/libraries/libmbim { };

libmongo-client = callPackage ../development/libraries/libmongo-client { };

libmesode = callPackage ../development/libraries/libmesode { };

libnabo = callPackage ../development/libraries/libnabo { };

Expand Down

0 comments on commit dda4629

Please sign in to comment.