2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libtoxcore, pidgin, autoreconfHook, libsodium }:
|
2013-10-12 15:32:09 +02:00
|
|
|
|
|
|
|
let
|
2014-12-04 11:02:27 +01:00
|
|
|
version = "dd181722ea";
|
|
|
|
date = "20141202";
|
2013-10-12 15:32:09 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tox-prpl-${date}-${version}";
|
|
|
|
|
2014-12-04 11:02:27 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jin-eld";
|
|
|
|
repo = "tox-prpl";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0wzyvg11h4ym28zqd24p35lza3siwm2519ga0yhk98rv458zks0v";
|
2013-10-12 15:32:09 +02:00
|
|
|
};
|
|
|
|
|
2013-10-12 18:53:59 +02:00
|
|
|
NIX_LDFLAGS = "-lssp -lsodium";
|
|
|
|
|
|
|
|
postInstall = "mv $out/lib/purple-2 $out/lib/pidgin";
|
|
|
|
|
2016-01-18 00:04:40 +01:00
|
|
|
buildInputs = [ libtoxcore pidgin autoreconfHook libsodium ];
|
2013-10-12 15:32:09 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://tox.dhs.org/;
|
|
|
|
description = "Tox plugin for Pidgin / libpurple";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-10-12 15:32:09 +02:00
|
|
|
};
|
|
|
|
}
|