blob: 348802fe16eb7a99d91d3ab36c9af20d0d89526d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, fetchurl, libtoxcore, pidgin, autoconf, automake, libtool, libsodium } :
let
version = "17a3fd9199";
date = "20131012";
in
stdenv.mkDerivation rec {
name = "tox-prpl-${date}-${version}";
src = fetchurl {
url = "https://github.com/jin-eld/tox-prpl/tarball/${version}";
name = "${name}.tar.gz";
sha256 = "0sz5wkyfwmhaj652xpsxq4p252cmmfa1vy6mp3jfyn145c758v9n";
};
NIX_LDFLAGS = "-lssp -lsodium";
preConfigure = "autoreconf -vfi";
postInstall = "mv $out/lib/purple-2 $out/lib/pidgin";
buildInputs = [ libtoxcore pidgin autoconf automake libtool libsodium ];
meta = {
homepage = http://tox.dhs.org/;
description = "Tox plugin for Pidgin / libpurple";
license = stdenv.lib.licenses.gpl3;
};
}
|