diff options
author | lucasew <lucas59356@gmail.com> | 2023-07-15 13:21:47 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-07-16 20:22:04 -0300 |
commit | af38d77aa7d0c9f1ed18528484313fb8b3f76948 (patch) | |
tree | 2975bff77c183691747902413bb84abde99f72c8 /pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/tox-prpl/default.nix | |
parent | 99d417bab0b7dca7268d23c94c9bc0f839444b0a (diff) |
pidgin: put packages in a different scope
Signed-off-by: lucasew <lucas59356@gmail.com>
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/tox-prpl/default.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/tox-prpl/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/tox-prpl/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/tox-prpl/default.nix new file mode 100644 index 0000000000000..eb606f796cfbc --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/tox-prpl/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub, libtoxcore, pidgin, autoreconfHook, libsodium }: + +stdenv.mkDerivation rec { + pname = "tox-prpl"; + version = "0.5.1"; + + src = fetchFromGitHub { + owner = "jin-eld"; + repo = "tox-prpl"; + rev = "v${version}"; + sha256 = "0ms367l2f7x83k407c93bmhpyc820f1css61fh2gx4jq13cxqq3p"; + }; + + NIX_LDFLAGS = "-lssp -lsodium"; + + postInstall = "mv $out/lib/purple-2 $out/lib/pidgin"; + + buildInputs = [ libtoxcore pidgin libsodium ]; + nativeBuildInputs = [ autoreconfHook ]; + + meta = with lib; { + broken = true; # unmaintained and not compatible with current Tox API. + homepage = "https://github.com/jin-eld/tox-prpl"; + description = "Tox plugin for Pidgin / libpurple"; + license = licenses.gpl3; + platforms = platforms.linux; + }; +} |