Subject: [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build

From: Hartmut Goebel <[email-masked]>
Date: Sat, 13 Jul 2024 13:45:54 +0200

Another Elixir package depending on Erlang package is artificery. Here 
is a scratch of a package definition. Please let me know how I can help 
implementing the required things.

* gnu/packages/elixir-xyz.scm (elixir-artificery): New variable.
---
gnu/packages/elixir-xyz.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index f08e07bb57..618c5afe8e 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -1,4 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020, 2021 Hartmut Goebel <[email-masked]>
;;; Copyright © 2023 Pierre-Henry Fröhring <[email-masked]>
;;; Copyright © 2024 Igor Goryachev <[email-masked]>
;;;
@@ -36,6 +37,24 @@ (define-module (gnu packages elixir-xyz)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))

+(define-public elixir-artificery
+  (package
+    (name "elixir-artificery")
+    (version "0.4.3")
+    (source (origin
+              (method url-fetch)
+              (uri (hexpm-uri "artificery" version))
+              (sha256
+               (base32
+                "0105zjghn01zncvwza1bkih0apkz7vxbxgbsjd78h80flcrm7s8j"))))
+    (build-system elixir-build-system)
+    (inputs (list erlang-hex-core))
+    (home-page "https://github.com/bitwalker/artificery")
+    (synopsis "Toolkit for terminal user interfaces in Elixir")
+    (description "This package provides a toolkit for terminal user 
interfaces
+in Elixir.")
+    (license license:asl2.0)))
+
(define-public elixir-nimble-parsec
   (package
     (name "elixir-nimble-parsec")
-- 
2.41.1

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          [email-masked]                |
|www.crazy-compilers.com  | compilers which you thought are impossible |