2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libtoxcore, pidgin, autoreconfHook, libsodium }:
|
2013-10-12 14:32:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tox-prpl";
|
2017-02-14 06:58:28 +00:00
|
|
|
version = "0.5.1";
|
2013-10-12 14:32:09 +01:00
|
|
|
|
2014-12-04 10:02:27 +00:00
|
|
|
src = fetchFromGitHub {
|
2017-02-14 06:58:28 +00:00
|
|
|
owner = "jin-eld";
|
|
|
|
repo = "tox-prpl";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0ms367l2f7x83k407c93bmhpyc820f1css61fh2gx4jq13cxqq3p";
|
2013-10-12 14:32:09 +01:00
|
|
|
};
|
|
|
|
|
2013-10-12 17:53:59 +01:00
|
|
|
NIX_LDFLAGS = "-lssp -lsodium";
|
|
|
|
|
|
|
|
postInstall = "mv $out/lib/purple-2 $out/lib/pidgin";
|
|
|
|
|
2017-02-14 06:58:28 +00:00
|
|
|
buildInputs = [ libtoxcore pidgin libsodium ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2013-10-12 14:32:09 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jin-eld/tox-prpl";
|
2013-10-12 14:32:09 +01:00
|
|
|
description = "Tox plugin for Pidgin / libpurple";
|
2017-02-14 06:58:28 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2013-10-12 14:32:09 +01:00
|
|
|
};
|
|
|
|
}
|