nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix

28 lines
723 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, libtoxcore, pidgin, autoreconfHook, libsodium }:
stdenv.mkDerivation rec {
2017-02-14 06:58:28 +00:00
name = "tox-prpl-${version}";
version = "0.5.1";
src = fetchFromGitHub {
2017-02-14 06:58:28 +00:00
owner = "jin-eld";
repo = "tox-prpl";
rev = "v${version}";
sha256 = "0ms367l2f7x83k407c93bmhpyc820f1css61fh2gx4jq13cxqq3p";
};
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 ];
2017-02-14 06:58:28 +00:00
meta = with stdenv.lib; {
2018-09-01 23:28:54 +01:00
homepage = https://github.com/jin-eld/tox-prpl;
description = "Tox plugin for Pidgin / libpurple";
2017-02-14 06:58:28 +00:00
license = licenses.gpl3;
platforms = platforms.linux;
};
}