Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: elixir-ls-0.19.0
Date: Wed, 21 Feb 2024 19:52:24 +0100	[thread overview]
Message-ID: <20240221185224.4C00A2A3ED@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48696@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages elixir-ls
https://github.com/void-linux/void-packages/pull/48696

New package: elixir-ls-0.19.0
#### Description
The [Elixir Language Server](https://github.com/elixir-lsp/elixir-ls) provides a server that runs in the background, providing IDEs, editors, and other tools with information about Elixir Mix projects

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/48696.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elixir-ls-48696.patch --]
[-- Type: text/x-diff, Size: 2366 bytes --]

From d5985b0800d05e48a2cac5c51dbd16e5b40be16c Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 13 Feb 2024 00:18:44 +0530
Subject: [PATCH] New package: elixir-ls-0.20.0

---
 srcpkgs/elixir-ls/files/elixir-ls     |  3 +++
 srcpkgs/elixir-ls/files/elixir-ls-dbg |  3 +++
 srcpkgs/elixir-ls/template            | 38 +++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/elixir-ls/files/elixir-ls
 create mode 100644 srcpkgs/elixir-ls/files/elixir-ls-dbg
 create mode 100644 srcpkgs/elixir-ls/template

diff --git a/srcpkgs/elixir-ls/files/elixir-ls b/srcpkgs/elixir-ls/files/elixir-ls
new file mode 100644
index 0000000000000..c9c8adeb6f278
--- /dev/null
+++ b/srcpkgs/elixir-ls/files/elixir-ls
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/lib/elixir-ls/language_server.sh
diff --git a/srcpkgs/elixir-ls/files/elixir-ls-dbg b/srcpkgs/elixir-ls/files/elixir-ls-dbg
new file mode 100644
index 0000000000000..fe3d1dd47be70
--- /dev/null
+++ b/srcpkgs/elixir-ls/files/elixir-ls-dbg
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/lib/elixir-ls/debug_adapter.sh
diff --git a/srcpkgs/elixir-ls/template b/srcpkgs/elixir-ls/template
new file mode 100644
index 0000000000000..f6e7dc167401b
--- /dev/null
+++ b/srcpkgs/elixir-ls/template
@@ -0,0 +1,38 @@
+# Template file for 'elixir-ls'
+pkgname=elixir-ls
+version=0.20.0
+revision=1
+hostmakedepends="elixir rebar3"
+depends="elixir"
+short_desc="Frontend-independent Language Server Protocol for Elixir"
+maintainer="icp <pangolin@vivaldi.net>"
+license="Apache-2.0"
+homepage="https://elixir-lsp.github.io/elixir-ls/"
+changelog="https://raw.githubusercontent.com/elixir-lsp/elixir-ls/master/CHANGELOG.md"
+distfiles="https://github.com/elixir-lsp/elixir-ls/archive/refs/tags/v${version}.tar.gz"
+checksum=f03f1bb0eb28d60dc9aa2f4d5114018943573f344a0e4df076760aaeb246bd67
+
+do_build() {
+	export MIX_ENV=prod
+	export MIX_HOME="${wrksrc}/mix-cache"
+	export PATH="${PATH}:/usr/libexec/chroot-git"
+
+	mix local.hex --force
+	mix local.rebar --force rebar3 /usr/bin/rebar3
+
+	mix deps.get
+	mix compile
+}
+
+do_install() {
+	export MIX_ENV=prod
+	export PATH="${PATH}:/usr/libexec/chroot-git"
+
+	mix local.hex --force
+
+	vmkdir usr/lib/elixir-ls
+	mix elixir_ls.release2 -o "${DESTDIR}/usr/lib/elixir-ls"
+
+	vbin "${FILESDIR}/elixir-ls"
+	vbin "${FILESDIR}/elixir-ls-dbg"
+}

  reply	other threads:[~2024-02-21 18:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13 13:50 [PR PATCH] " icp1994
2024-02-21 18:52 ` icp1994 [this message]
2024-05-22  1:46 ` New package: elixir-ls-0.20.0 github-actions
2024-05-23 18:48 ` [PR PATCH] [Updated] " icp1994
2024-08-15 18:34 ` New package: elixir-ls-0.21.3 icp1994
2024-11-14  1:59 ` github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240221185224.4C00A2A3ED@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).