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/purple-slack/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/purple-slack/default.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/purple-slack/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/purple-slack/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/purple-slack/default.nix new file mode 100644 index 0000000000000..9f5f9a2bda1e3 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin/pidgin-plugins/purple-slack/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub, pidgin, pkg-config }: + +stdenv.mkDerivation { + pname = "purple-slack-unstable"; + version = "2020-09-22"; + + src = fetchFromGitHub { + owner = "dylex"; + repo = "slack-libpurple"; + rev = "2e9fa028224b02e29473b1b998fc1e5f487e79ec"; + sha256 = "1sksqshiwldd32k8jmiflp2pcax31ym6rypr4qa4v5vdn907g80m"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ pidgin ]; + + PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2"; + PKG_CONFIG_PURPLE_DATAROOTDIR = "${placeholder "out"}/share"; + + meta = with lib; { + homepage = "https://github.com/dylex/slack-libpurple"; + description = "Slack plugin for Pidgin"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ eyjhb ]; + }; +} + |