summary refs log tree commit diff
path: root/pkgs/development/libraries/libmesode
diff options
context:
space:
mode:
authordevhell <^@regexmail.net>2016-12-17 16:16:55 +0000
committerJörg Thalheim <joerg@higgsboson.tk>2016-12-17 18:13:24 +0100
commitdda462922e7e72c466f09c49791dec9e48c7e2ab (patch)
tree148489eb0edb05e1d7216926d31a777954980f3e /pkgs/development/libraries/libmesode
parent62c3d9ad0bc29961ad701fca3b039908ee20d4fb (diff)
downloadnixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.tar
nixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.tar.gz
nixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.tar.bz2
nixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.tar.lz
nixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.tar.xz
nixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.tar.zst
nixpkgs-dda462922e7e72c466f09c49791dec9e48c7e2ab.zip
libmesode: init at 0.9.1
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.
Diffstat (limited to 'pkgs/development/libraries/libmesode')
-rw-r--r--pkgs/development/libraries/libmesode/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libmesode/default.nix b/pkgs/development/libraries/libmesode/default.nix
new file mode 100644
index 00000000000..8e684f7af1f
--- /dev/null
+++ b/pkgs/development/libraries/libmesode/default.nix
@@ -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 ];
+  };
+}