2014-12-04 10:02:27 +00:00
|
|
|
{ stdenv, fetchFromGitHub, libtoxcore, pidgin, autoconf, automake, libtool
|
|
|
|
, libsodium } :
|
2013-10-12 14:32:09 +01:00
|
|
|
|
|
|
|
let
|
2014-12-04 10:02:27 +00:00
|
|
|
version = "dd181722ea";
|
|
|
|
date = "20141202";
|
2013-10-12 14:32:09 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tox-prpl-${date}-${version}";
|
|
|
|
|
2014-12-04 10:02:27 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jin-eld";
|
|
|
|
repo = "tox-prpl";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0wzyvg11h4ym28zqd24p35lza3siwm2519ga0yhk98rv458zks0v";
|
2013-10-12 14:32:09 +01:00
|
|
|
};
|
|
|
|
|
2013-10-12 17:53:59 +01:00
|
|
|
NIX_LDFLAGS = "-lssp -lsodium";
|
|
|
|
|
2013-10-12 14:32:09 +01:00
|
|
|
preConfigure = "autoreconf -vfi";
|
|
|
|
|
2013-10-12 17:53:59 +01:00
|
|
|
postInstall = "mv $out/lib/purple-2 $out/lib/pidgin";
|
|
|
|
|
|
|
|
buildInputs = [ libtoxcore pidgin autoconf automake libtool libsodium ];
|
2013-10-12 14:32:09 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://tox.dhs.org/;
|
|
|
|
description = "Tox plugin for Pidgin / libpurple";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2013-10-12 14:32:09 +01:00
|
|
|
};
|
|
|
|
}
|