From patchwork Sun Dec 10 13:03:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57474 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1AAD127BBEA; Sun, 10 Dec 2023 13:06:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8507227BBE2 for ; Sun, 10 Dec 2023 13:06:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVM-0001xP-Cs; Sun, 10 Dec 2023 08:05:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVF-0001r4-QN for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVF-0005R2-6a for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVT-0005XV-B9 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 01/15] build-system: Add mix-build-system. References: <68117eb2b3e0e6adcc7449d878e602c7b831ffee.1698524350.git.phfrohring@deeplinks.com> In-Reply-To: <68117eb2b3e0e6adcc7449d878e602c7b831ffee.1698524350.git.phfrohring@deeplinks.com> Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221351321084 (code B ref 66801); Sun, 10 Dec 2023 13:06:03 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:13 +0000 Received: from localhost ([127.0.0.1]:49701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUe-0005Ti-0J for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:13 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:49119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUZ-0005S8-Vq for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:09 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 4D09C60003; Sun, 10 Dec 2023 13:04:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KX2+2QJTAciHuWmi8PFIdJoEPxR7UIYvlpOvpKWojT4=; b=ZDfOyCIz3JGZTkQKLI52363NO7PLUar5jj/1iWOJWES94XBjMPuiRQaZ5PbJDquLsr1jbX jd1UJacdi1oGTwNvBL2by4P8nK2/wDGmmQZuWCLJWrRneIPiJzxKvZc30p6aatub4ol6/Z tHjyFuIzpLprdvgnGgTR2KRlkQ/GdMQ5ZR1INSVV0NWNMO62c1sv625KE54DZeSMcTSYfE VvPzNVYnoxhj83z7lSXIaWqNbZsXTzks6n3xwd+lm0vBF+E+ETSAW3pLsFUDE1745qostI +QFXvsp2iumZUjaJ6oyRHjIFIVdPaSdjjEDrMbp7p78nQMGwnxv0rF7b1s2xUQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:03:54 +0100 Message-ID: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * guix/build-system/mix.scm: New file. * guix/build/mix-build-system.scm: New file. Change-Id: I8066d00f7ada4a384621bf541e679bc512e93435 --- guix/build-system/mix.scm | 186 ++++++++++++++++++++++++++++++++ guix/build/mix-build-system.scm | 161 +++++++++++++++++++++++++++ 2 files changed, 347 insertions(+) create mode 100644 guix/build-system/mix.scm create mode 100644 guix/build/mix-build-system.scm base-commit: 06f25a9a85be1bbe7a709e58ce41c1a834e5f1ae diff --git a/guix/build-system/mix.scm b/guix/build-system/mix.scm new file mode 100644 index 000000000..1b04053d7 --- /dev/null +++ b/guix/build-system/mix.scm @@ -0,0 +1,186 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Pierre-Henry Fröhring +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +;; Commentary: +;; +;; Standard build procedure for Elixir packages using 'mix'. This is +;; implemented as an extension of 'gnu-build-system'. +;; +;; Code: + +(define-module (guix build-system mix) + #:use-module (guix build mix-build-system) + #:use-module (guix build-system gnu) + #:use-module (guix build-system) + #:use-module (guix gexp) + #:use-module (guix monads) + #:use-module (guix packages) + #:use-module (guix search-paths) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (mix-build-system hexpm-uri)) + +;; Lazily resolve bindings to avoid circular dependencies. +(define (default-glibc-utf8-locales) + (let* ((base (resolve-interface '(gnu packages base)))) + (module-ref base 'glibc-utf8-locales))) + +(define (default-elixir-hex) + (let ((elixir (resolve-interface '(gnu packages elixir)))) + (module-ref elixir 'elixir-hex))) + +(define (default-rebar3) + (let ((erlang (resolve-interface '(gnu packages erlang)))) + (module-ref erlang 'rebar3))) + +(define (default-elixir) + (let ((elixir (resolve-interface '(gnu packages elixir)))) + (module-ref elixir 'elixir))) + +(define* (strip-prefix name #:optional (prefix "elixir-")) + "Return NAME without the prefix PREFIX." + (if (string-prefix? prefix name) + (string-drop name (string-length prefix)) + name)) + +(define (hexpm-uri name version) + "Return the URI where to fetch the sources of a Hex package NAME at VERSION. +NAME is the name of the package which should look like: elixir-pkg-name-X.Y.Z +See: https://github.com/hexpm/specifications/blob/main/endpoints.md" + ((compose + (cute string-append "https://repo.hex.pm/tarballs/" <> "-" version ".tar") + (cute string-replace-substring <> "-" "_") + strip-prefix) + name)) + +;; A number of environment variables specific to the Mix build system are +;; reflected here. They are documented at +;; https://hexdocs.pm/mix/1.15.7/Mix.html#module-environment-variables. Other +;; parameters located in mix.exs are defined at +;; https://hexdocs.pm/mix/1.15.7/Mix.Project.html#module-configuration +(define* (mix-build name + inputs + #:key + source + (tests? #t) + (mix-path #f) ;See MIX_PATH. + (mix-exs "mix.exs") ;See MIX_EXS. + (build-per-environment #t) ;See :build_per_environment. + (phases '%standard-phases) + (outputs '("out")) + (search-paths '()) + (system (%current-system)) + (guile #f) + (imported-modules `((guix build mix-build-system) + ,@%gnu-build-system-modules)) + (modules '((guix build mix-build-system) + (guix build utils)))) + "Build SOURCE using Elixir, and with INPUTS." + + ;; Check the documentation of :build_per_environment here: + ;; https://hexdocs.pm/mix/1.15.7/Mix.Project.html#module-configuration And + ;; "Environments" here: + ;; https://hexdocs.pm/mix/1.15.7/Mix.html#module-environments + (define mix-environments + (if build-per-environment + `("prod" ,@(if tests? '("test") '())) + '("shared"))) + + (define builder + (with-imported-modules imported-modules + #~(begin + + (use-modules #$@(sexp->gexp modules)) + + #$(with-build-variables inputs outputs + #~(mix-build #:name #$name + #:source #+source + #:system #$system + #:tests? #$tests? + #:mix-path #$mix-path + #:mix-exs #$mix-exs + #:mix-environments '#$mix-environments + #:build-per-environment #$build-per-environment + #:phases #$(if (pair? phases) + (sexp->gexp phases) + phases) + #:outputs %outputs + #:search-paths '#$(sexp->gexp + (map + search-path-specification->sexp + search-paths)) + #:inputs + %build-inputs))))) + + (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) + system + #:graft? #f))) + (gexp->derivation name + builder + #:system system + #:graft? #f ;consistent with 'gnu-build' + #:target #f + #:guile-for-build guile))) + +(define* (lower name + #:key + (elixir (default-elixir)) + (elixir-hex (default-elixir-hex)) + (glibc-utf8-locales (default-glibc-utf8-locales)) + (inputs '()) + (native-inputs '()) + (propagated-inputs '()) + (rebar3 (default-rebar3)) + (tests? #t) + outputs + source + system + target + #:allow-other-keys #:rest arguments) + "Return a bag for NAME." + (let ((private-keywords + '(#:inputs #:native-inputs + #:outputs #:system #:target + #:elixir #:elixir-hex #:glibc-utf8-locales + #:rebar3 #:erlang)) + (build-inputs + `(,@(standard-packages) + ("glibc-utf8-locales" ,glibc-utf8-locales) + ("erlang" ,(lookup-package-input elixir "erlang")) + ("rebar3" ,rebar3) + ("elixir" ,elixir) + ("elixir-hex" ,elixir-hex) + ,@inputs + ,@native-inputs))) + (bag (name name) + (system system) + (build-inputs build-inputs) + (host-inputs (if target inputs '())) + (outputs outputs) + (build mix-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define mix-build-system + (build-system (name 'mix) + (description "The standard Mix build system") + (lower lower))) + +;;; mix.scm ends here diff --git a/guix/build/mix-build-system.scm b/guix/build/mix-build-system.scm new file mode 100644 index 000000000..fe2e36d18 --- /dev/null +++ b/guix/build/mix-build-system.scm @@ -0,0 +1,161 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Pierre-Henry Fröhring +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +;; Commentary: +;; +;; Code: + +(define-module (guix build mix-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module (guix build utils) + #:use-module (ice-9 ftw) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) + #:use-module (ice-9 string-fun) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:use-module (srfi srfi-71) + #:export (mix-build + %standard-phases)) + +;; The Elixir version is constant as soon as it is computable from the current +;; execution. It is a X.Y string where X and Y are respectively the major and +;; minor version number of the Elixir used in the build. +(define %elixir-version (make-parameter "X.Y")) + +(define* (elixir-libdir path #:optional (version (%elixir-version))) + "Return the path where all libraries under PATH for a specified Elixir +VERSION are installed." + (string-append path "/lib/elixir/" version)) + +(define* (strip-prefix name #:optional (prefix "elixir-")) + "Return NAME without the prefix PREFIX." + (if (string-prefix? prefix name) + (string-drop name (string-length prefix)) + name)) + +(define (mix-build-dir mix-build-root mix-env) + "Return the directory where build artifacts are to be installed according to +en environment MIX-ENV in the current directory. MIX-BUILD-ROOT depends on the +package arguments. See: https://hexdocs.pm/mix/1.15/Mix.html#module-environment-variables" + (string-append mix-build-root "/" mix-env "/lib")) + +(define (elixir-version inputs) + "Return an X.Y string where X and Y are respectively the major and minor version number of PACKAGE. +Example: /gnu/store/…-elixir-1.14.0 → 1.14" + ((compose + (cute string-join <> ".") + (cute take <> 2) + (cute string-split <> #\.) + strip-prefix + strip-store-file-name) + (assoc-ref inputs "elixir"))) + +(define* (unpack #:key source mix-path #:allow-other-keys) + "Unpack SOURCE in the working directory, and change directory within the +source. When SOURCE is a directory, copy it in a sub-directory of the current +working directory." + (let ((gnu-unpack (assoc-ref gnu:%standard-phases 'unpack))) + (gnu-unpack #:source source) + (when (file-exists? "contents.tar.gz") + (invoke "tar" "xvf" "contents.tar.gz")))) + +(define (list-directories dir) + "List absolute paths of directories directly under the directory DIR." + (map (cute string-append dir "/" <>) + (scandir dir (lambda (filename) + (and (not (member filename '("." ".."))) + (directory-exists? (string-append dir "/" filename))))))) + +(define* (set-mix-env #:key inputs mix-path mix-exs #:allow-other-keys) + "Set environment variables. +See: https://hexdocs.pm/mix/1.15.7/Mix.html#module-environment-variables" + (setenv "MIX_ARCHIVES" "archives") + (setenv "MIX_BUILD_ROOT" "_build") + (setenv "MIX_DEPS_PATH" "deps") + (setenv "MIX_EXS" mix-exs) + (setenv "MIX_HOME" (getcwd)) + (setenv "MIX_PATH" (or mix-path "")) + (setenv "MIX_REBAR3" (string-append (assoc-ref inputs "rebar3") "/bin/rebar3"))) + +(define* (set-elixir-version #:key inputs #:allow-other-keys) + "Store the version number of the Elixir input in a parameter." + (%elixir-version (elixir-version inputs)) + (format #t "Elixir version: ~a~%" (%elixir-version))) + +(define* (build #:key mix-environments #:allow-other-keys) + "Builds the Mix project." + (for-each (lambda (mix-env) + (setenv "MIX_ENV" mix-env) + (invoke "mix" "compile" "--no-deps-check")) + mix-environments)) + +(define* (check #:key (tests? #t) #:allow-other-keys) + "Test the Mix project." + (if tests? + (invoke "mix" "test" "--no-deps-check") + (format #t "tests? = ~a~%" tests?))) + +(define* (remove-mix-dirs . _) + "Remove all .mix/ directories. +We do not want to copy them to the installation directory." + (for-each delete-file-recursively + (find-files "." (file-name-predicate "\\.mix$") #:directories? #t))) + +(define (package-name->elixir-name name+ver) + "Convert the Guix package NAME-VER to the corresponding Elixir name-version +format. Example: elixir-a-pkg-1.2.3 -> a_pkg" + ((compose + (cute string-join <> "_") + (cute drop-right <> 1) + (cute string-split <> #\-)) + (strip-prefix name+ver))) + +(define* (install #:key + inputs + outputs + name + build-per-environment + #:allow-other-keys) + "Install build artifacts in the store." + (let* ((lib-name (package-name->elixir-name name)) + (lib-dir (string-append (elixir-libdir (assoc-ref outputs "out")) "/" lib-name)) + (root (getenv "MIX_BUILD_ROOT")) + (env (if build-per-environment "prod" "shared"))) + (mkdir-p lib-dir) + (copy-recursively (string-append (mix-build-dir root env) "/" lib-name) lib-dir + #:follow-symlinks? #t))) + +(define %standard-phases + (modify-phases gnu:%standard-phases + (delete 'bootstrap) + (delete 'configure) + (add-after 'install-locale 'set-mix-env set-mix-env) + (add-after 'set-mix-env 'set-elixir-version set-elixir-version) + (replace 'unpack unpack) + (replace 'build build) + (replace 'check check) + (add-before 'install 'remove-mix-dirs remove-mix-dirs) + (replace 'install install))) + +(define* (mix-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given Mix package, applying all of PHASES in order." + (apply gnu:gnu-build #:inputs inputs #:phases phases args)) + +;;; mix-build-system.scm ends here From patchwork Sun Dec 10 13:03:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57473 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4813E27BBEC; Sun, 10 Dec 2023 13:06:05 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 97B3527BBEA for ; Sun, 10 Dec 2023 13:06:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVO-0001zD-EG; Sun, 10 Dec 2023 08:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVF-0001r6-RW for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVE-0005R1-Qg for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVS-0005XO-V3 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 02/15] gnu: elixir: Wrap binaries. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221351221065 (code B ref 66801); Sun, 10 Dec 2023 13:06:02 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:12 +0000 Received: from localhost ([127.0.0.1]:49697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUd-0005TS-9X for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:11 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:35019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUa-0005SV-4W for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:09 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 306B360006; Sun, 10 Dec 2023 13:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Too275ATH3DnZfaDLq2YMsLOUjiqHUrIkhEfxt+fPRM=; b=Rz7WnhkvX0+BDAL6hTKcu3wShZCU1HbbbHhyNuw+5lBtHuRMBjYkpNdiPS0RFiuTyyneqs +LFSsh22b5jGmEIr0L9xjGgbynNyIKaEYzRdPnhUaMQdcOQMwWWzDhfS4D0XLyiQu3pOtb 81Zq5QHnPJCFm7fpWaZznj7adJk0jgwr4TGIu/7BXl2tjtuWy9Qz75AVb56xHBYbkFh5NA 7I5L24HQLuKuVSrn2wLPgBZemr8CDOE6F1lhNIW9b5JCCXeaOWiins0q+QBi+2d486W2uh mXn8Y8PT1Iy2CJa4dcxNieo+wT9iyrKwyL1b4QL00sn4X2EcRBE4IEw+p7kv8w== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:03:55 +0100 Message-ID: <253e35eafde683ebfbe680253f80e73d869a8cdc.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/elixir.scm (elixir)[arguments]: Phase `wrap-programs' added. * gnu/packages/elixir.scm (elixir)[native-search-paths]: Variable `GUIX_ELIXIR_LIBS' added. Change-Id: I75bdde3aeedc1d495ea5fc2c5fc3fcdc5dc3fad2 --- gnu/packages/elixir.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 724b42512..15cbdbdfc 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -27,6 +27,7 @@ (define-module (gnu packages elixir) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (guix gexp) + #:use-module (guix utils) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages) @@ -96,9 +97,20 @@ (define-public elixir (lambda* (#:key inputs #:allow-other-keys) ;; Some tests require access to a home directory. (setenv "HOME" "/tmp"))) - (delete 'configure)))) - (inputs - (list erlang git)) + (delete 'configure) + (add-after 'install 'wrap-programs + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (programs '("elixir" "elixirc" "iex" "mix"))) + (for-each (lambda (program) + (wrap-program (string-append out "/bin/" program) + '("ERL_LIBS" prefix ("${GUIX_ELIXIR_LIBS}")))) + programs))))))) + (inputs (list erlang git)) + (native-search-paths + (list (search-path-specification + (variable "GUIX_ELIXIR_LIBS") + (files (list (string-append "lib/elixir/" (version-major+minor version))))))) (home-page "https://elixir-lang.org/") (synopsis "Elixir programming language") (description "Elixir is a dynamic, functional language used to build From patchwork Sun Dec 10 13:03:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57481 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 116EB27BBEE; Sun, 10 Dec 2023 13:06:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 78A2827BBE2 for ; Sun, 10 Dec 2023 13:06:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVU-00027h-H9; Sun, 10 Dec 2023 08:06:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVF-0001r5-Qt for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVE-0005Qw-D9 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVS-0005XH-H0 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 03/15] gnu: Add elixir-hex. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221351121052 (code B ref 66801); Sun, 10 Dec 2023 13:06:02 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:11 +0000 Received: from localhost ([127.0.0.1]:49693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUc-0005TD-Dr for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:11 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUa-0005SU-4A for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:09 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id C35AD60007; Sun, 10 Dec 2023 13:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KbunZurL06ODHUiKH097L+tS+QsZV99xC3S0ccceC1o=; b=TjNm0bZ92ATYVwR64BG3E7NAko45YRR5gsnKdFZMgFSPSKhoAgjgipJrU5fV25i39yequk tYCLGWZVTiQPyN/VBxlgZiEzP9vAdIOsQ4Cy0DldO5rLaEX5+cW39OT7ziFeVwywVmtBux oNvg/UJmgTqLPdcXUrmwDi5VnbyVH0R+Ya5kjCHqQnTsvhJq+pccZcOp6LdEQ4xEm4Vzti 7HdPxjo8Jgo1EOMyVv+MIFaCBKS5EIly3X8p8GwVXLMSYr9xfZORwM8lD/1kYRmnMuxgD4 0UXcY8AMHO1HqzHYgTm39HXihKEVY/pkYp+ImTAZpglzXdsvu9b5/bYnjAC+Tw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:03:56 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir.scm (elixir-hex): New variable. Change-Id: I957688ae4e078afd79acd439880c38083fdab83a --- gnu/packages/elixir.scm | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 15cbdbdfc..ef8c39d0d 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -118,3 +118,48 @@ (define-public elixir for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain.") (license license:asl2.0))) + +(define-public elixir-hex + (package + (name "elixir-hex") + (version "2.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hexpm/hex.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kvczwvij58kgkhak68004ap81pl26600bczg21mymy2sypkgxmj")))) + ;; The mix-build-system assumes that Hex exists. + ;; We build Hex using the gnu-build-system. + ;; Other Elixir packages use the mix-build-system. + (build-system gnu-build-system) + (inputs (list elixir)) + (arguments + (list + ;; Hex is needed to build packages used to test Hex. + ;; To avoid this circularity, we disable tests. + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (setenv "MIX_ENV" "prod") + (invoke "mix" "compile"))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (define X.Y #$(version-major+minor (package-version elixir))) + (define out (string-append (assoc-ref outputs "out") "/lib/elixir/" X.Y "/hex")) + (mkdir-p out) + (copy-recursively "_build/prod/lib/hex" out)))))) + (synopsis "Package manager for the Erlang VM") + (description + "This project provides tasks that integrate with Mix, Elixir's build +tool.") + (home-page "https://hexdocs.pm/makeup_elixir/") + (license license:bsd-2))) From patchwork Sun Dec 10 13:03:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57487 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2AAB727BBEA; Sun, 10 Dec 2023 13:07:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5DA0127BBE2 for ; Sun, 10 Dec 2023 13:07:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVQ-00022O-DB; Sun, 10 Dec 2023 08:06:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uR-Pa for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVG-0005Sp-Ay for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVU-0005Xk-3H for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 04/15] gnu: Add elixir-nimble-parsec. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221351921139 (code B ref 66801); Sun, 10 Dec 2023 13:06:04 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:19 +0000 Received: from localhost ([127.0.0.1]:49717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUk-0005Ur-Pb for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:19 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:52157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUa-0005SW-AS for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:10 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 5BF3D60002; Sun, 10 Dec 2023 13:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q2j8S49b7JdscYSJODSQeK0o4ZUkCaKAQT0ouXp7qy8=; b=DGhGv/d3dKI+zZyeo0Nt43FYdCpuKQEUDuDRd9p5vKycpzSfXQJwQAptS7rk1XZhxHrDOa RWfKN4mDcoSI2csxmC4Qc0cssPmbm3SmWKwr5FPAXaZuyJpFGZgbUDVGLO73SEpmu3Ovdq s+IRx8LjWj8AzToT5egjrIaOm8owjW7/BM+JxCwrPwGE15ZXLzlyMLySfhvSjttps9mLW4 nPub6XH/k8DNzzgFrzAKrbZh31jjPoWgdy7DLMYsCmQX1ri4eJouYIc2A3CWMEtwUQ5qiL 4EylR9eFgQdFG+lwWObYyyherhDygn4orpaECmebiHvDIXY2Ynzdh0uxSfKkOw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:03:57 +0100 Message-ID: <1a79581a3077934d47724350905d766f267b2616.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-nimble-parsec): New variable. Change-Id: I79bab8095aee3212bc295354ead55df49ef92d17 --- gnu/packages/elixir-xyz.scm | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 gnu/packages/elixir-xyz.scm diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm new file mode 100644 index 000000000..a57d2aae8 --- /dev/null +++ b/gnu/packages/elixir-xyz.scm @@ -0,0 +1,57 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Pierre-Henry Fröhring +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages elixir-xyz) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages elixir) + #:use-module (gnu packages linux) + #:use-module (gnu packages) + #:use-module (guix build-system gnu) + #:use-module (guix build-system mix) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix packages) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26)) + +(define-public elixir-nimble-parsec + (package + (name "elixir-nimble-parsec") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "0rxiw6jzz77v0j460wmzcprhdgn71g1hrz3mcc6djn7bnb0f70i6")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (synopsis "Text-based parser combinators") + (description + "This library provides primitives for efficient parser combinators, allowing +for higher-level combinators through composition.") + (home-page "https://hexdocs.pm/nimble_parsec/") + (license license:asl2.0))) + +;;; +;;; Avoid adding new packages to the end of this file. To reduce the chances +;;; of a merge conflict, place them above by existing packages with similar +;;; functionality or similar names. +;;; From patchwork Sun Dec 10 13:03:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57483 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 566A327BBE9; Sun, 10 Dec 2023 13:07:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 513A627BBEA for ; Sun, 10 Dec 2023 13:06:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVU-000285-WA; Sun, 10 Dec 2023 08:06:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uD-PT for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVF-0005SO-Je for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVT-0005Xd-NW for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 05/15] gnu: Add elixir-makeup. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221351321093 (code B ref 66801); Sun, 10 Dec 2023 13:06:03 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:13 +0000 Received: from localhost ([127.0.0.1]:49705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUf-0005U1-AL for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:13 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:52657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUa-0005SY-TR for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:10 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id E447560004; Sun, 10 Dec 2023 13:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IuIZNM6+l/ZjPpcWV6SD+3BLUsHVurl6iWBTeRBTii0=; b=cClHSo9EVFeh4pYHlj0gSmnmV6WTnQ9SxlzLQpctsUnrhyUIvy9Yvq/REBpeDHhrDMlKMZ rXpolCdt4IZpZ7VAaGefqkRHCFSSV05ZwMeLJlGqXnHrXg7FXXVSkndCSlqvbDUwdziy/K beBlvtgS+cs5ODGtRItKEQPK5E8QN+ePH4zXetgn5KuCyMrLcQT/ra5GPs4FmJn9V3bGhJ xX4RwOYEcrAhexZqO0UlcugYX+okQKcIA++aCFNeP8F1DQVYYxg+VYPFG48fGnjznJ44f2 fImoRyZsEccWxFDXUVEIX3lAWOj2wYwR1HhNzd1rtffjAD/1NWK4SclJ3eqvAQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:03:58 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-makeup): New variable. Change-Id: I21fe9ffddb4c95a2c67b74340b1105c2a54d3c82 --- gnu/packages/elixir-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index a57d2aae8..ba682e7f0 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -50,6 +50,26 @@ (define-public elixir-nimble-parsec (home-page "https://hexdocs.pm/nimble_parsec/") (license license:asl2.0))) +(define-public elixir-makeup + (package + (name "elixir-makeup") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "19jpprryixi452jwhws3bbks6ki3wni9kgzah3srg22a3x8fsi8a")))) + (build-system mix-build-system) + (propagated-inputs (list elixir-nimble-parsec)) + (arguments (list #:tests? #f)) ; no tests + (synopsis "Syntax highlighter for source code") + (description + "Makeup is a generic syntax highlighter in the style of Pygments suitable for use in code hosting, +forums, wikis or other applications that need to prettify source code.") + (home-page "https://hexdocs.pm/makeup/") + (license license:bsd-2))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:03:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57485 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5CE6F27BBE2; Sun, 10 Dec 2023 13:07:03 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7DEA627BBE2 for ; Sun, 10 Dec 2023 13:06:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVQ-00023P-VW; Sun, 10 Dec 2023 08:06:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uV-Px for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVG-0005Su-BJ for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVU-0005Xr-FN for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 06/15] gnu: Add elixir-jason. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353421170 (code B ref 66801); Sun, 10 Dec 2023 13:06:04 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:34 +0000 Received: from localhost ([127.0.0.1]:49719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUl-0005Uv-9f for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:34 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:40465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUb-0005SZ-FN for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:10 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 84FFF60009; Sun, 10 Dec 2023 13:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0CtJ5NiWX8N9W23Kx1XPu2FtVmw2QEbTUhWULvcqdY8=; b=mNbbt4Dvb3biKLCynRMlxgjMdV1+tA2DzxtWYAPT6AlK0eA3J+oIc2UY6r0J+CNxyQACbM Uq09S/SEMqjtiQSmF+Vj91XdyoVXY4FB/K0VMK0XGM/e8SNEXvJgJy0VwhL/ANdFD3FpHw kpDWXBkC+GBV3NbWzKGcIt5aC1tLEXc9Dxi63g4d8l1mFOlEGwVWysa52tJhnhNlnhvChk qsdOaC/VykL5I5535RwzcxcJ/VoolRp9+RBeLd/rNVfKDBiMmgAK5PIgueX6GDA0/ONYQU 0Vbh5V+Rn0fCiIeNp+5MTZUtVp/e2PjUbaIMF6pEbvLcQG0qu2dAmMyTK97jng== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:03:59 +0100 Message-ID: <5fea7cd56bdbfa8e16bb3e57878a5a1fa947fc40.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-jason): New variable. Change-Id: Iadd816e2b5db6d146728aacb4d6b2c66aba4304c --- gnu/packages/elixir-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index ba682e7f0..66c364fb3 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -70,6 +70,27 @@ (define-public elixir-makeup (home-page "https://hexdocs.pm/makeup/") (license license:bsd-2))) +(define-public elixir-jason + (package + (name "elixir-jason") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "18d70i31bz11nr6vgsjn5prvhkvwqbyf3xq22ck5cnsnzp6ixc7v")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (synopsis "JSON parser and generator") + (description + "Parser and generator are written in pure Elixir and optimized for speed. They +are at least twice as fast as other Elixir/Erlang libraries (e.g. +Poison). The performance is comparable to jiffy, which is implemented in C as +a NIF.") + (home-page "https://hexdocs.pm/jason/") + (license license:asl2.0))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57475 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B508327BBE2; Sun, 10 Dec 2023 13:06:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3E25027BBE9 for ; Sun, 10 Dec 2023 13:06:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVP-0001zb-AG; Sun, 10 Dec 2023 08:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uT-Pq for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVG-0005T1-NU for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVU-0005Xz-Rm for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 07/15] gnu: Add elixir-file-system. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353521179 (code B ref 66801); Sun, 10 Dec 2023 13:06:04 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:35 +0000 Received: from localhost ([127.0.0.1]:49721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV0-0005VP-EH for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:35 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:48565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUc-0005Sb-2c for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 23A0760008; Sun, 10 Dec 2023 13:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JJzE+L1BHfUuYqHiljbDpYHxWMEMwXrexKwheDTS/B8=; b=aXU1UdzJC3RX81142lhN7GHlCP/9wJ7dZMp4gXt2+bXpXNpM4l0c61nNBjb43bMerDZxMO yGIh/FUZcaCnu+MXDkZCZoCDn6coWsU1b/jqC0kN7ROr7giW1QrXKW32kAoYwmsp9mzWzJ ywU8+BEyuJQN2Zab9rKXGJG2F2PXLcAF2770IqQJdIW3EbJTP+aNYhRPJkBGzzxvvoj+b5 N6ojYO5qEHTV3XQ+MsWAJ5Xh37hGpphSGmlRDm7dywu8hO+YLYcU9GVTZ7KFENs5pygdgM TItpm0SyI89RUr80f9n1nfr/DaUg/iJ/zH+F0PxBKuu+78qlXTiqFN9cH4oh8w== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:00 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-file-system): New variable. Change-Id: I54e9c9069ddf150bb0c882775b0b2c9d5e59abd6 --- gnu/packages/elixir-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 66c364fb3..948d8aecc 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -20,6 +20,8 @@ (define-module (gnu packages elixir-xyz) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages elixir) #:use-module (gnu packages linux) + #:use-module (gnu packages compression) + #:use-module (gnu packages base) #:use-module (gnu packages) #:use-module (guix build-system gnu) #:use-module (guix build-system mix) @@ -91,6 +93,37 @@ (define-public elixir-jason (home-page "https://hexdocs.pm/jason/") (license license:asl2.0))) +(define-public elixir-file-system + (package + (name "elixir-file-system") + (version "0.2.10") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "1p0myxmnjjds8bbg69dd6fvhk8q3n7lb78zd4qvmjajnzgdmw6a1")) + (snippet #~(begin + (use-modules (guix build utils) (ice-9 ftw)) + (mkdir "source") + (for-each (lambda (file) + (when (not (member file '("." ".." "source"))) + (rename-file file (string-append "source/" file)))) + (scandir ".")) + (with-directory-excursion "source" + (invoke (string-append #+gzip "/bin/gunzip") "-v" "contents.tar.gz") + (invoke (string-append #+tar "/bin/tar") "-xvf" "contents.tar") + (delete-file "contents.tar") + (delete-file "priv/inotifywait.exe")))))) + (build-system mix-build-system) + (propagated-inputs (list inotify-tools)) + (arguments (list #:tests? #f)) ; no tests + (synopsis "File system change watcher") + (description "Provides a file system change watcher wrapper based on +https://github.com/synrc/fs.") + (home-page "https://hexdocs.pm/file_system/") + (license license:wtfpl2))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57480 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 40F8327BBE9; Sun, 10 Dec 2023 13:06:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1E92027BBE2 for ; Sun, 10 Dec 2023 13:06:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVP-00020r-Mj; Sun, 10 Dec 2023 08:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uh-Qn for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVH-0005T3-3C for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVV-0005Y6-87 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 08/15] gnu: Add elixir-bunt. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353521186 (code B ref 66801); Sun, 10 Dec 2023 13:06:05 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:35 +0000 Received: from localhost ([127.0.0.1]:49723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV1-0005VY-Ak for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:35 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUc-0005Sc-P8 for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id AD5A16000A; Sun, 10 Dec 2023 13:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=atNFgxwPUeFCNaRVDDOT1qn5SUmPwJv9HHIaV/8CIZc=; b=YMAdJ+agY3urp7U+lbSh8MqvojbI9chR5stsTR4MIWVtfv7YAPPAWMk8h8kRkPgrqI3NJQ SN+oHY7KQ7d2ADDe7aS3f2Gekg5IS+4HqLRbcZnrfzRqzywFbenfhtpOYoQEREB9iTj4oR RsRVjP35SEUQ8qUWEi02iYe/ZjQzAIzvkj1pDI2S0wr3nQ6cKVCoSyDV8ODyvDd44Ba6kf kvA+7hfT5uu4HkRY5M70Hn+KE6Cf9kUR2mbl0FCghWgBBEoImmRhZOaaC9jmcK/0ikcRUW Mira1BS7gOesd3fLU1KEaUvS9t3vb5Hnf8vBHzPwQZ+rxcPS18GUFLEOVgU9SA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:01 +0100 Message-ID: <3fe0d073162e1e3b45cdc073c9377570637d8c29.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-bunt): New variable. Change-Id: Ib84797c31d6ab40d59b87b040993dae9391ead6b --- 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 948d8aecc..33fa20749 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -124,6 +124,25 @@ (define-public elixir-file-system (home-page "https://hexdocs.pm/file_system/") (license license:wtfpl2))) +(define-public elixir-bunt + (package + (name "elixir-bunt") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "19bp6xh052ql3ha0v3r8999cvja5d2p6cph02mxphfaj4jsbyc53")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (synopsis "256 color ANSI coloring in the terminal") + (description "Bunt is an Elixir package that enables 256 color ANSI +coloring in the terminal and allows users to alias colors to more semantic and +application-specific names1.") + (home-page "https://hexdocs.pm/bunt/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57476 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 13EFA27BBE2; Sun, 10 Dec 2023 13:06:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CEB2A27BBEA for ; Sun, 10 Dec 2023 13:06:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVS-00025A-DF; Sun, 10 Dec 2023 08:06:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001uc-QK for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVH-0005T6-HZ for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVV-0005YD-KX for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 09/15] gnu: Add elixir-inch-ex. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353621194 (code B ref 66801); Sun, 10 Dec 2023 13:06:05 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:36 +0000 Received: from localhost ([127.0.0.1]:49725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV1-0005Vk-P1 for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:36 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:34295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUd-0005Se-Bm for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 65F036000B; Sun, 10 Dec 2023 13:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mnPn/GhIdzuC0/rXkageLRyTdOXx/45uRpDIpE6OQqs=; b=WB0aodI+s5Divzyz4qM2km4CN/y0ymDRcd4G9y7oK6CijTsT8Lb+uRaEk54YwgozXlesmd /XJGN135uae1Ygo3ubUiKmVazTSXZC5k+XQJefANRQXrpZg8S/LqtTYjPuwY4To8PFJ9q7 LNh+8lRBvUvNt2b3jwQASbWTLqiXLcW02m5Sf9YBUeDZNi6WR79StccQEV0sZ5oEhaQ/31 3kYu9cWYEPuQHNmTdbLQOYTfBciQtLJhCvT+cGgM3jlxcN9BYS1HF9YiadnZizXt6WNHNC PmZhlOKlf36o/fnGTCGP9fNFQh9s0soy7NDOYFyYizUE5fRHYnSFi0MydCTkyg== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:02 +0100 Message-ID: <7c84f0e99bb2475d03aa95a6f7db1781704ae97a.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-inch-ex): New variable. Change-Id: I6e98424528a0264a2587d28fcf065fa74eff0f1a --- gnu/packages/elixir-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 33fa20749..ed61cac50 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -143,6 +143,27 @@ (define-public elixir-bunt (home-page "https://hexdocs.pm/bunt/") (license license:expat))) +(define-public elixir-inch-ex + (package + (name "elixir-inch-ex") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "1a4rjcy3hn5pc40si1d1y7qg0b0mnxx6pw825la67ky8r9gfrl4n")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (propagated-inputs (list elixir-bunt elixir-jason)) + (synopsis + "Suggest enhancements for inline documentation") + (description + "This package provides a Mix task that gives you hints where to improve your +inline docs.") + (home-page "https://hex.pm/packages/inch_ex") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57478 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9B3C427BBEC; Sun, 10 Dec 2023 13:06:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DF03327BBE9 for ; Sun, 10 Dec 2023 13:06:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVP-00020k-M3; Sun, 10 Dec 2023 08:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001tZ-46 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVH-0005TX-SL for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVW-0005YL-0F for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 10/15] gnu: Add elixir-castore. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353621201 (code B ref 66801); Sun, 10 Dec 2023 13:06:05 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:36 +0000 Received: from localhost ([127.0.0.1]:49727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV2-0005Vn-5s for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:36 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:38529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUd-0005Sf-U8 for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id F1DDB6000C; Sun, 10 Dec 2023 13:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2lxbtLcERBkuAb5YQT8JMwuJ62GSGxcP9FgnQ6qEpnI=; b=fF+/2Ba5f8ERIKdOjVla0R+Rwelt80c5mPD+CY8c3KD+yrjeybQcDDGAiQU2lxJEsqmYLf zB8QrdAryYYrFgB2cqFQ35azkUZm7wt46tby/ees2r2A2bGa/xBL45lIjbHqi2mYhpN+4E 1H5pbmaYHZGxj28xiiC+ZnkquYNE/EpZS4v07oNhssJVCwm0iYvvbgtFJC/EcidzShTOYK xagY5eea/KMv5bm0LZ/+BmIJFPeWZOXLGO/1YJ9rtWREuCNWmk+XZoIIF/OIJlPFU/t+vi DT1uzB2JalhigG7f/zdI3COBxaHakeNaujjX0JdSNnzn17jGpHw2mqitTA0kow== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:03 +0100 Message-ID: <62bd0ee94572be47e6aba91b9ee333bcf60d3eb1.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-castore): New variable. Change-Id: Iea1fea8241d19ff35a183af9c3fbf2ed5198a259 --- gnu/packages/elixir-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index ed61cac50..ef80c9550 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -164,6 +164,24 @@ (define-public elixir-inch-ex (home-page "https://hex.pm/packages/inch_ex") (license license:expat))) +(define-public elixir-castore + (package + (name "elixir-castore") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "1y44amb8falsmrfzpkmf7qp6215g9kdl76g91dpna4af2jwc264l")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (synopsis "Up-to-date CA certificate store") + (description "The Elixir castore package is a micro-library that provides +an up-to-date CA certificate store file for Elixir applications.") + (home-page "https://hexdocs.pm/castore/") + (license license:asl2.0))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57477 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EDCDA27BBEB; Sun, 10 Dec 2023 13:06:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C312027BBE2 for ; Sun, 10 Dec 2023 13:06:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVS-00025G-M5; Sun, 10 Dec 2023 08:06:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001vS-WD for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:54 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0005Tn-MH for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVW-0005YZ-R2 for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 11/15] gnu: Add elixir-excoveralls. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353721218 (code B ref 66801); Sun, 10 Dec 2023 13:06:06 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:37 +0000 Received: from localhost ([127.0.0.1]:49731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV3-0005W3-06 for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:37 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUg-0005Ss-N6 for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:15 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8E0066000D; Sun, 10 Dec 2023 13:04:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NdJvt9D3NBlwyRoldTtQTwYbeowTwfL61AZJliLuBaA=; b=bRYsHjHS8xs9htqr9c+/nCZXll3GjkXdKVa5KDHNL+rafR47nMXpBUN1F57czmJ3VvnRmb kfeGVuxL7NgLk06mjRs756NEOyH23KaWSysXTSO14j6P8ajhtCSAeFamDGOdaUozy+ByXb mTIXW6buWQgQB37oUNiRJqSJVwzIlcBi7C5gmeli30QRY+Ay34pMvcjEL/kP88NuNzEtn2 CfRkYGVlmubLU8wHG7a2pxLGP6N7UzjgUVk/qtgn5IRWfb02ZFORqaA4aMG2/PVCXS89t/ uTF0mrqNLJel3ISH3ZQU2rNyxQUxPuc5Hma/3V1US4e9tr6mW5uakHDZ3c5jrA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:04 +0100 Message-ID: <54072ed5059c7da6c29e804b7b4f50205c06b97e.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-excoveralls): New variable. Change-Id: Ib271d8a7393e21178806df28ab892afe99757297 --- gnu/packages/elixir-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index ef80c9550..14e67060e 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -182,6 +182,28 @@ (define-public elixir-castore (home-page "https://hexdocs.pm/castore/") (license license:asl2.0))) +(define-public elixir-excoveralls + (package + (name "elixir-excoveralls") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "02x69ll5scvraky0k5gacvnnmldv5k04kgk02x087d9w3y8vn28i")))) + (build-system mix-build-system) + (propagated-inputs (list elixir-castore elixir-jason)) + (arguments (list #:tests? #f)) ; no tests + (synopsis "Coverage report tool with coveralls.io integration") + (description + "Library that reports test coverage statistics, with the option to +post to coveralls.io service. It uses Erlang's cover to generate coverage +information, and posts the test coverage results to coveralls.io through the +JSON API.") + (home-page "https://hexdocs.pm/excoveralls/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57484 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8A82227BBE9; Sun, 10 Dec 2023 13:07:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3D29527BBEC for ; Sun, 10 Dec 2023 13:06:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVQ-00022v-Jk; Sun, 10 Dec 2023 08:06:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0001te-Gk for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVI-0005Te-8p for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVW-0005YS-DB for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 12/15] gnu: Add elixir-credo. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353721211 (code B ref 66801); Sun, 10 Dec 2023 13:06:06 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:37 +0000 Received: from localhost ([127.0.0.1]:49729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV2-0005Vu-Id for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:36 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUg-0005St-Mv for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:15 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 34B126000E; Sun, 10 Dec 2023 13:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213493; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qVlDH9Ev8f4Ph54IYfEq6VGZMlVVryk95eZEsV2DqMk=; b=Xwo0NsiEIr3Auuva3hxW0gnwg/tNleqINVbW1G9EEzdn9njEHXeWdIwp1NLh7HTpAPwzzB zUX42RJoFR0Qp+rc6ZN5TDSKXahMisucZsac+IEeZcQFV67fhkoVcDS+1tn9gQExCtGF6/ pWxST7g16GOJL/f8RkZJAO/KETNtviNN0r5k41ijDFOQqMj9OF1mnrM4GAWtTa+vKhO4fy hCdGaqOhZD4cURXWDZbjr9X5UqsngjaoQsXQ7r/kcn4rXCvZSMqW5ij+twEUgGTmqfYUBO Ce4DM6MuzeAtzXqaGCVuYkmkKdMKaBxwp03evZsynNnr5SP8tlUrPvpL7mHd/w== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:05 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-credo): New variable. Change-Id: I6df0d926e0fb96caa65d081892026b3495431c83 --- gnu/packages/elixir-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 14e67060e..8485355e4 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -204,6 +204,30 @@ (define-public elixir-excoveralls (home-page "https://hexdocs.pm/excoveralls/") (license license:expat))) +(define-public elixir-credo + (package + (name "elixir-credo") + (version "1.7.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "18jqi9s9r1587njzdxycvmmbma30cay9iamni4f3ih54jmh1r1z9")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (propagated-inputs (list elixir-bunt elixir-file-system elixir-jason)) + (native-inputs (list elixir-excoveralls elixir-inch-ex)) + (synopsis "Static code analysis tool") + (description + "Credo is a static code analysis tool for the Elixir language with a focus on +teaching and code consistency. Credo can show you refactoring opportunities in +your code, complex code fragments, warn you about common mistakes, show +inconsistencies in your naming scheme and - if needed - help you enforce a +desired coding style.") + (home-page "https://hexdocs.pm/credo/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57479 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 43B2227BBE2; Sun, 10 Dec 2023 13:06:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4133927BBEB for ; Sun, 10 Dec 2023 13:06:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVP-00021E-Rq; Sun, 10 Dec 2023 08:05:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVJ-0001vY-Su for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVJ-0005UC-5X for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVX-0005Yh-7d for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 13/15] gnu: Add elixir-erlex. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353721225 (code B ref 66801); Sun, 10 Dec 2023 13:06:07 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:37 +0000 Received: from localhost ([127.0.0.1]:49733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV3-0005WB-DU for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:37 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:53927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUh-0005T4-6O for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:16 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id C703E6000F; Sun, 10 Dec 2023 13:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Ftx1qjEuaunA+B2GAc2zoFCkFN1UMK37CxV6C5olNI=; b=pov5juqxDyBj0hd1KwWz2+QVWB6itxSOGHLXQf6WED7L2XAkDbsshIaHoNhrkd/3GUqCWr 2zYhumy4j+BrpeG62PXkttV44Zb6hYbAHaIeOTgnrFpmYgJFbPlysMn2i7Gn5aRwzhxP+y 7d2pj6QHpnM8URqoce4iBDlfzohednU2xlCf9WqsURqk+W2dDgHr6kxEnBxseCUuDJ//IG D3csNlJspiHtjeh9v5D7MjeXzYjTIgWi6zyQQPIXrKaUnwJdJxt8fXQP3er92OdZnJidKK Cbh1j22J+/P5FrwPKrFiyUWpif+2pugg2GDAg9qK4Sh1DEwG2jDojpSgh65NgA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:06 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-erlex): New variable. Change-Id: Ia518ad5fd32d3f5942b20113e61e4ef7e7895ff3 --- gnu/packages/elixir-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 8485355e4..df4328430 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -228,6 +228,26 @@ (define-public elixir-credo (home-page "https://hexdocs.pm/credo/") (license license:expat))) +(define-public elixir-erlex + (package + (name "elixir-erlex") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "0x8c1j62y748ldvlh46sxzv5514rpzm809vxn594vd7y25by5lif")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (synopsis + "Convert Erlang style structs and error messages to equivalent Elixir") + (description + "Converted structs and error messages are useful for pretty printing +things like Dialyzer errors and Observer.") + (home-page "https://hexdocs.pm/erlex/") + (license license:asl2.0))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57486 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 81C9827BBEA; Sun, 10 Dec 2023 13:07:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E0CB727BBE2 for ; Sun, 10 Dec 2023 13:07:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVQ-00021p-6S; Sun, 10 Dec 2023 08:06:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVK-0001vp-Eo for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVJ-0005UH-IE for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVX-0005Yo-MZ for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 14/15] gnu: Add elixir-dialyxir. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353821233 (code B ref 66801); Sun, 10 Dec 2023 13:06:07 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:38 +0000 Received: from localhost ([127.0.0.1]:49735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV3-0005WI-Qc for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:38 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUh-0005T5-6d for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:16 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 5ED3B60010; Sun, 10 Dec 2023 13:04:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NbHgk3mPlBbQ6MVwIAG13PVDjB//9EK7ZWUs8QpJcPs=; b=YaaeNHdb73W45qkivBNPX71mNtgBurDnJ7IamfWZsN0c0RR4/oOtllstAEVT69KomWkDDI 77K/3u9AS5EdSYz6Q+OBt+Q0UBqUHtfZzTD62+oIMcJ0E8x6M0abge1WUG7BfnaF2UUkoz IHzq4LbAZcuVxHCRac1zuvPxztHMs6WmUbK9FW9NnZchToSO56CFthl9seykK9sToH74ku byzgUtmJ9RsV2mJD5/oAXPqlVJf2Mn7JV8QNJIbKLabMcueJVIXnxlskDyAdS6+0QUPYRl JRprWyOCKImtByCP6wLRw7A4lNa82eGXSWEAccBS6ruPeRkB6DgyxiXsgJgcFQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:07 +0100 Message-ID: <4e0c21a633c6100241ea5241762c2d43571d7a49.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-dialyxir): New variable. Change-Id: I387062e0aaaded448022aa7534b95859b5979a06 --- 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 df4328430..5a7330ca4 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -248,6 +248,25 @@ (define-public elixir-erlex (home-page "https://hexdocs.pm/erlex/") (license license:asl2.0))) +(define-public elixir-dialyxir + (package + (name "elixir-dialyxir") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "00cqwhd1wabwds44jz94rvvr8z8cp12884d3lp69fqkrszb9bdw4")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (propagated-inputs (list elixir-erlex)) + (synopsis "Mix tasks to simplify use of Dialyzer") + (description + "Mix Tasks are usable from the directory of the mix project you want to analyze.") + (home-page "https://hexdocs.pm/dialyxir/") + (license license:asl2.0))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar From patchwork Sun Dec 10 13:04:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 57482 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2859327BBEE; Sun, 10 Dec 2023 13:06:59 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 123C827BBE2 for ; Sun, 10 Dec 2023 13:06:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCJVV-00028m-A7; Sun, 10 Dec 2023 08:06:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCJVK-0001vq-FN for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCJVJ-0005Uz-Vn for guix-patches@gnu.org; Sun, 10 Dec 2023 08:05:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCJVY-0005Yw-3g for guix-patches@gnu.org; Sun, 10 Dec 2023 08:06:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v5 15/15] gnu: Add elixir-machete. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 13:06:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: liliana.prikler@gmail.com Cc: 66801@debbugs.gnu.org Received: via spool by 66801-submit@debbugs.gnu.org id=B66801.170221353821239 (code B ref 66801); Sun, 10 Dec 2023 13:06:08 +0000 Received: (at 66801) by debbugs.gnu.org; 10 Dec 2023 13:05:38 +0000 Received: from localhost ([127.0.0.1]:49737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJV4-0005WQ-87 for submit@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:38 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:52869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCJUh-0005T6-72 for 66801@debbugs.gnu.org; Sun, 10 Dec 2023 08:05:16 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id EBA4D60007; Sun, 10 Dec 2023 13:04:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702213495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=40bazcFlVz47TUy487Ehdl02MrfpYshiYDkjrIkrVKw=; b=NhK3TeSB2FVW1m0GDYyotrNWibC4AjQ/bF7mNSXqnRC11v/dDRM4aE+HfEwpfGxelPRLuF 13xtwxIIxYTU4NuYALSU2LB2I+Pe6Gkr/qMyOdB8eZbDSw9/sSUSEbT0TbTxXBcLe7wh9q P2vpEA3aGOwQ1Yoa6OvMURHjXlilfJHXzuBZ8Psdcp4EWTxnOynKmx3h/PXk3idtJrKPn3 qjH7q64BUgDXATU3yGYv9psOyfu6yGXD1UETrbLOFO1oxVHkthiGCBNInK3T9Yd8KkFxa6 /fJHXl0JZnQB/8AksXPwLTZvaOLGKJ6k59FypI1VP60i25sabxe5CXUMmCHdnQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 10 Dec 2023 14:04:08 +0100 Message-ID: <9ab5d8e0ebdaea167df3266a1f823ccf6b9f6b38.1702212039.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> References: <455871374089253cc10d2c5b17c2cceee4a5272d.1702212039.git.contact@phfrohring.com> MIME-Version: 1.0 X-GND-Sasl: contact@phfrohring.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Pierre-Henry Fröhring * gnu/packages/elixir-xyz.scm (elixir-machete): New variable. Change-Id: I76e0fd78aeeaeaa94a297032b3b309846510c975 --- gnu/packages/elixir-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 5a7330ca4..5af8d7c1b 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -267,6 +267,26 @@ (define-public elixir-dialyxir (home-page "https://hexdocs.pm/dialyxir/") (license license:asl2.0))) +(define-public elixir-machete + (package + (name "elixir-machete") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "0952603bmqsf6v3ja99zpbnbx5d52i4xksjkfj3irl45ccq5pgq9")))) + (build-system mix-build-system) + (native-inputs (list elixir-credo elixir-dialyxir)) + (synopsis "Literate test matchers for ExUnit") + (description + "Machete provides ergonomic match operators that act as building blocks to let +you define test expectations that can match data against any combination of +literals, variables, or parametrically defined matchers.") + (home-page "https://hexdocs.pm/machete/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar