From patchwork Fri Dec 8 18:35:12 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: 57422 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 398B027BBE9; Fri, 8 Dec 2023 18:37:51 +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 B975427BBE2 for ; Fri, 8 Dec 2023 18:37:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiX-0004rC-5Q; Fri, 08 Dec 2023 13:36:53 -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 1rBfiV-0004pj-Im for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:51 -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 1rBfiV-0007b8-A1 for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfii-0008Vb-CI for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058832520 (code B ref 66801); Fri, 08 Dec 2023 18:37:04 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:28 +0000 Received: from localhost ([127.0.0.1]:46146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi7-0008SL-4Q for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:28 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:57335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhq-0008PZ-2n for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:13 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 9BDBF60004; Fri, 8 Dec 2023 18:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060550; 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=eD5hWmKpZhyHBi9pH+EoVg0F8T5KUmXnFVEhcwPBDQN/+0k95LE8j5SWMj02BatHn52nAC smWnxcEBjrlOlFj4zQ5c7CMEVlr7R0GS431FgHjvnQ3sbbT4gtF0IOlOEcqWPwOw272sE5 E35uc8j8y7xHzG5cAVUbJMSKW5zIBAOpf81zj5/4sgRrliGcVUfuPtfEPWxyI4pTO9xq3L 4jNzmUHfdxlgFmNIc4JrSEMV/1VeUAmWVmxQ+GN9rQBhNya4sKZBRxakBbB+hL4vsh+E8o CsTjQg38oDnW3bxaObKH0OpbvfQ6KgokHul5yj1+4PugZuLzEcSosydw3v1SQA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:12 +0100 Message-ID: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 Fri Dec 8 18:35:13 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: 57408 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 0D4BB27BBE9; Fri, 8 Dec 2023 18:37:09 +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 BFDCB27BBE2 for ; Fri, 8 Dec 2023 18:37:06 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiU-0004pU-V6; Fri, 08 Dec 2023 13:36:50 -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 1rBfiT-0004os-9l for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:49 -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 1rBfiT-0007Ug-1Z for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfig-0008V0-2r for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206057432406 (code B ref 66801); Fri, 08 Dec 2023 18:37:02 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:14 +0000 Received: from localhost ([127.0.0.1]:46120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhs-0008QR-Sp for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:13 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:39403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhq-0008Pa-38 for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8262B60002; Fri, 8 Dec 2023 18:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060550; 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=PqZPx8sbsPwnULgVLxg3ztK6CX6x1dXIMCazWhoqAtY1dBzLk1yFvMi3jboBWnG0XZ4HGl k1D1kBLvxNHw2PUVDkS1lvDW4YcV4sdDKCrUmat+jWArAw/TvOu1tYCLtXO++5vnSUubhO eHknAVdulpReHQFnWX8Z94dJ0IBZKXsPXQtCVOILGNBvad2gmY9gTW9a5mnlIBe4aQtqvp 713jRSXkHX4hFZ+YCa0jFsEvE6VQwimWLPtB1ps+qJzU6lEUzllIxit85+kdfAz09OYMk7 c/oDFWrhl578ww1o2uCLdk20Qq4LORWDBQuCJ6S3IBlm9NW7ceMMVbShoTeXUg== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:13 +0100 Message-ID: <5a74dfc5a70d98bb8033b49a9d38fb49cf01ca57.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 Fri Dec 8 18:35:14 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: 57418 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 D302A27BBEA; Fri, 8 Dec 2023 18:37:39 +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 43C8F27BBE2 for ; Fri, 8 Dec 2023 18:37:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiV-0004pX-7J; Fri, 08 Dec 2023 13:36:51 -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 1rBfiT-0004p3-QO for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:49 -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 1rBfiT-0007Ur-Hy for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfig-0008V7-Jm for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206057532430 (code B ref 66801); Fri, 08 Dec 2023 18:37:02 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:15 +0000 Received: from localhost ([127.0.0.1]:46126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfht-0008Qb-Oi for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:15 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:60455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhq-0008Pc-4H for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 145BB60005; Fri, 8 Dec 2023 18:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060551; 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=XiVl58pNnkmT35qs5oJdxhwsFZrNAJHfCO4PNhxwFKHVQkPDgT7lY8F7OAWSuSFtpK2qkE y0yGqGvUe+6i34iz3XYSwnICj7XSBjBgzyZlZObWLTbiGgzU+UvPKoAKn2Piw/RbQZWnCs pPeYOncJz336sXJvHeoUU02N35rIxghGTVb/HKA9A+67wEpE5KLOT7Wh3OGg/pS2WEov4u 5SwVjl/yh6ibkmIxL9PEETQIu3KPHzHfDTjjJKSVoe87YlYfSgeSZRvqaZ2X9fOMUNX+EX cZXSVwhvV9jAGy6F+nFd4bg6+f/1t4UtuyARefz11V7COTaIU4QwS/aw2ZvEWA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:14 +0100 Message-ID: <991ebc5d9e6eb7a8663493d97f667d5696a646e5.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 Fri Dec 8 18:35:15 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: 57409 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 7203F27BBE2; Fri, 8 Dec 2023 18:37:09 +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 87B6E27BBEA for ; Fri, 8 Dec 2023 18:37:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiW-0004qe-QY; Fri, 08 Dec 2023 13:36:52 -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 1rBfiU-0004pK-MF for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:50 -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 1rBfiU-0007W0-DS for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfih-0008VM-Ec for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058632504 (code B ref 66801); Fri, 08 Dec 2023 18:37:03 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:26 +0000 Received: from localhost ([127.0.0.1]:46142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi6-0008SA-6g for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:26 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:44213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhr-0008Pe-2K for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 9DE9A60006; Fri, 8 Dec 2023 18:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060551; 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=M2w+VT4MBhawnBwfajb2wO+XKSCuT18ud0UUKHkOaKvkmA7nWzXP8zjcJeclRrzZ8jrLp0 YOT99iS72VWaiV0+xMG2hrszrWUbd+I25LTsL3zcgjxgGBPe2aT59lpCtMbmou+NCB/g8h qhuKKE2eSo/2tgDlZgLPaGk0CmmUYvWIX+ALA0H2tnU9vD26E7E1YVjHUusPRt9Mz+xIcy F/EshSfaqf+RJSsj4oJ2FQP5Y6/zDWda7l83q7iJPO0gGNxCNSNa9pt76FQCF66+FCLOIs 09DN5fUzTKDRjxzu7XEGTEIVvDmZY7oeqWMHmsQxprAlwASLLn8iHqRyyWZ0Cw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:15 +0100 Message-ID: <436ae5d53524c353cb76ca1d009c633290f05b37.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 Fri Dec 8 18:35:16 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: 57415 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 4BD0C27BBEA; Fri, 8 Dec 2023 18:37:32 +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 AFD1927BBE2 for ; Fri, 8 Dec 2023 18:37:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiV-0004pe-Ea; Fri, 08 Dec 2023 13:36:51 -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 1rBfiU-0004pC-7M for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:50 -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 1rBfiT-0007Ux-Ud for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfih-0008VF-0h for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058632496 (code B ref 66801); Fri, 08 Dec 2023 18:37:02 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:26 +0000 Received: from localhost ([127.0.0.1]:46138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhx-0008RC-3t for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:26 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhr-0008Pf-44 for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 3C29160007; Fri, 8 Dec 2023 18:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060552; 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=MRmafT7F0Qzc5SwofU5R3QQprLz72HuNanM2nEUEmb9JIP7bZwOJcaGO+9+6L8eOGEwMXU fV5wtmJ21FxP7nwVkGDzxb1kkiR4Yl50A9M/1GKjDE2Xtf73uOMClL3ZwVBzZpKQg1h/M2 GoF9636JJ+OueHl2LKXCli1rnj8KVw9QrHk4TXnFWx9tqwfDOKe7Zzl836EqGesB5yVNhV C9oOtRuEvFiPxfc3IUC9X1ETTfSrbISvT7yG2iIYl9p7wcTOO4WVWmT5dCcM+QStu565/X bfb5tp0vpHawCkcZ0g8uobGn8P4XNplyzqkWWd/wbswQ65xCIvRsmcQf9dz7HQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:16 +0100 Message-ID: <303d4f5e39b4420b95e6b0bb323f32628a799e39.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 Fri Dec 8 18:35:17 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: 57414 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 12C5F27BBE9; Fri, 8 Dec 2023 18:37:27 +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 C2F2C27BBE2 for ; Fri, 8 Dec 2023 18:37:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiY-0004rw-1K; Fri, 08 Dec 2023 13:36:54 -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 1rBfiV-0004pW-4p for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:51 -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 1rBfiU-0007Yu-St for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfih-0008VU-UR for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058732512 (code B ref 66801); Fri, 08 Dec 2023 18:37:03 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:27 +0000 Received: from localhost ([127.0.0.1]:46144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi6-0008SD-M6 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:27 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:56335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhr-0008Ph-Mx for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id C779460008; Fri, 8 Dec 2023 18:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060553; 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=TxLPSaBg2s4StFllTpyyFh0QZqbNs8ybKGd9f5L1X1dpuVARMPaAp7T6h2PAV0Jf4v9REe wUzxAWsaU3SkhL8e1+S+GsrJzVBnCea06fMTP0T3Abohaq5F+tYGdyiGGh9kp6c0eEWmcj o1bzqY7oAnpOkorIJnO0R5k7gibumAKLojDJ1m2GafEOnQM3VMIM7WbQUa/sHxAUpV2NHU dWMIROBxlPsm7nBB1+NOdQBnVWVWIfuTxS0jpX5M3EAR4WA72D/8P5nBtFn7ZpRu7iRg9q iYy6XBBgsYmqdd2nVp6R4JmvkQa2EoxYR3s/4TGuUhIGNGKdX7eDjNkMPZ1RQg== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:17 +0100 Message-ID: <4824132b1e53282120d4197da3f52798d4238d48.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 Fri Dec 8 18:35:18 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: 57410 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 2556B27BBEA; Fri, 8 Dec 2023 18:37:11 +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 8753B27BBE2 for ; Fri, 8 Dec 2023 18:37:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfic-0004t6-BG; Fri, 08 Dec 2023 13:37: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 1rBfiW-0004q3-0P for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiV-0007dS-O2 for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfii-0008Vi-Od for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058832527 (code B ref 66801); Fri, 08 Dec 2023 18:37:04 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:28 +0000 Received: from localhost ([127.0.0.1]:46148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi8-0008ST-4p for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:28 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:36577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhs-0008Pj-9u for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:13 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 6AEDA60009; Fri, 8 Dec 2023 18:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060553; 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=Ut5fW1P1KSNSPEMIUaGeNLx5cT73wsFeG7osJjp/Yi4=; b=igtS+/VKdeA/hbpncpj0OS+wlLJw1RStyQeKvYSqSLJDgUyvNxh+YeqdkxWBWirmKk2pZI FA38WdpaBdXOY4Gla8NAkNrnWjgvniqDWDDFo2f0qDlO6RlbWEe7EuFVEY7+SERg/6QKch Wvg7PVVQ7ZxV/28K59ktmRZAOfjwaNGu4fmsuvLsVdgUzYF2DZOPkUQcqyKPFeJXiHLMbd kvqwnhTi+QBgjMtHFWC6JPvA+vz6lWG1fSu7Y4pVeynYb60+VQVf9wKnq8rZtn6+Xvt2mo +1QsCtacSAAtKchK4KgW5zaA1KWt7p+Xdkq5YyCpvT1sQ+n/hQCEcxSCI8HFmw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:18 +0100 Message-ID: <371a011eb62c7f5234b2c1b7b84adda5f28f618b.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 66c364fb3..f46e470cd 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -91,6 +91,28 @@ (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")) + ;; This directory represents source code not needed on UNIX systems. + ;; Since we aim at UNIX systems, it is deleted. + (snippet '(delete-file-recursively "priv")))) + (build-system mix-build-system) + (propagated-inputs (list inotify-tools)) + (arguments (list #:tests? #f)) ;There is no test/ in the source. + (synopsis "File system change watcher") + (description "Provides a file system change watcher wrapper based on +[fs](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 Fri Dec 8 18:35:19 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: 57417 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 5F45A27BBE9; Fri, 8 Dec 2023 18:37:38 +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 D95F927BBE2 for ; Fri, 8 Dec 2023 18:37:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfii-0004up-4d; Fri, 08 Dec 2023 13:37: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 1rBfiW-0004qU-Le for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiW-0007el-Bv for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfij-0008Vt-Cn for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058932535 (code B ref 66801); Fri, 08 Dec 2023 18:37:05 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:29 +0000 Received: from localhost ([127.0.0.1]:46150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi8-0008Sa-KJ for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:29 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:58543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhs-0008Pk-SJ for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:13 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 001106000B; Fri, 8 Dec 2023 18:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060554; 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=52O1tmjR20tnhkM6HBNV0EMyeve7crvOaXT3SQPQiXE=; b=VZUiZdc2J8Cz7kqPyxfWwIbVOCmGs1scGyb21GCVb4MHuAEtxP0O08kEDI+CCJCuv1pNpH 6dSmElU1xtt11Lvx7DV8MJUBjzZ8E9bjBm9h14bOQ3DBvv3jwr4BsdFjUrzGEuRlKdmApw ahwNofY6HcmfUFe9KALfTpNLo83N8unWoySr+P4wQ159zyCD2dCiWcY2q8cPcv1F4J//jT /S1tdTE3WKTuYv/tA0MLHS02+RvTmDn9J3FgWmv7QYqEuVfvLht2T+xBP6/PU8U6rfKRu/ 6jtERxZUmMOVWhuIqB0NdOCbPQyKOvHq2adIeh20UsSEQH4XqjgdQizS8ZM5rA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:19 +0100 Message-ID: <367aaa97a327fb65862e709c07985c39ddce8f67.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 f46e470cd..54a747554 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -113,6 +113,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 Fri Dec 8 18:35:20 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: 57413 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 794BA27BBEA; Fri, 8 Dec 2023 18:37:23 +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 D61DC27BBE2 for ; Fri, 8 Dec 2023 18:37:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfih-0004tV-6N; Fri, 08 Dec 2023 13:37:03 -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 1rBfiX-0004r9-35 for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiW-0007g9-Nv for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfij-0008W3-Pb for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206058932543 (code B ref 66801); Fri, 08 Dec 2023 18:37:05 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:29 +0000 Received: from localhost ([127.0.0.1]:46152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi9-0008Sh-2m for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:29 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:36791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfht-0008Po-Ee for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:14 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8DE6E6000C; Fri, 8 Dec 2023 18:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060554; 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=2ZZMwm6lAavQkZAVVgUq/HGv/PSSBk8eUo1f+L6hSN8=; b=QcUj2mlTmnTR1Icqo5H1F32yq8ZNFhZutNbRGc3uJusfc+2myNwExoEgJ+j4PSLuP9Zkcr AwIHvTjM1LUguNnDQQ70LXwHcvYYv7nCfhyeLNQS9BpyFhLow3GFeIKentoFeuTOc0QmN1 Fbu8Zxr7w1TMXiVCpcGR2HxlthHeuCaanuTqWMU8s9I+6fd/CBynHbIJ7HsK03MWxYXMZF GUfHVKhU/TvGNiqEz+ynxCfCuCd0A7ZmjtFOsZ/gU9hqp+4AgFbO0+Ki67pfkhmi6nF8iY xyQItLVOcnKXOGzU0IX30GjSp7doQPCVAkF1eENy5uIDBocXufRSZX81hEEYXw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:20 +0100 Message-ID: <8111c4a138fda91176b53026c47b4470754319ad.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 54a747554..e4756a733 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -132,6 +132,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 Fri Dec 8 18:35:21 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: 57411 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 0B37827BBEA; Fri, 8 Dec 2023 18:37:15 +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 6949127BBE2 for ; Fri, 8 Dec 2023 18:37:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfiY-0004sB-KK; Fri, 08 Dec 2023 13:36:54 -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 1rBfiX-0004rT-DB for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiX-0007iD-4r for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfik-0008WE-5p for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206059032549 (code B ref 66801); Fri, 08 Dec 2023 18:37:06 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:30 +0000 Received: from localhost ([127.0.0.1]:46154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi9-0008Sq-Gh for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:29 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:59141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhu-0008Pp-0j for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:14 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 240996000A; Fri, 8 Dec 2023 18:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060555; 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=QjBFJgGqb02y397w5EYnM9IXYMceyzsbi8NyTbmv4Iw=; b=gvhkSCSrM/qlAgej9dtYXYsOpX5BChVSXidm1icbYxKSeKQoVa+iTOcj4hR95YOlsTg7sL tOl36dTjpg3/BxPcFUdQ+8wjWJUoCJsm4dpVBdhWTyTuRpqTHALlgflb9sD1R7vlfHHXSW 7SlwZaZqFrSFc5+3EY3mQX2SZe6jgoyWXik2DGn5QN4IswPQxdZV7LnM/Oz7/8nALHMWPj BdjSISOEM9DbppzFwxW1P69H+q4i4iRgqHuJz67ZfNJpO7Um5PnursDVhMdakiJiXC04m5 sMSgxPABajG3UBjJANKY4Hj4QX+N+SiS3Ll/h20fk4SoL4l2MtANQja3WKLHtQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:21 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 e4756a733..18f168e33 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -153,6 +153,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 Fri Dec 8 18:35:22 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: 57416 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 17E1A27BBEA; Fri, 8 Dec 2023 18:37:35 +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 7094127BBE2 for ; Fri, 8 Dec 2023 18:37:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfii-0004ux-6J; Fri, 08 Dec 2023 13:37: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 1rBfiY-0004ry-4H for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiX-0007kN-SJ for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfik-0008WR-UE for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206059032558 (code B ref 66801); Fri, 08 Dec 2023 18:37:06 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:30 +0000 Received: from localhost ([127.0.0.1]:46156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfi9-0008T1-Vo for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:30 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhw-0008Q4-Ml for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:17 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id ABBF36000D; Fri, 8 Dec 2023 18:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060555; 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=u/npF2Dhui5Vje8Skw9Yt6AzhiefF/8ftKNtZMFYnUg=; b=f9cTDqOSBz3EXZq9WbSogU1EzSwnhNDvy0Zs9mLNKBZ1C3ktwrr9Dkz/lmF866N5KUuGAF Sk4LblT/S4yMCZrAmIQY9FTP+dwsMsoV/wC0yCcYCVQeq8Bpz6OQ6Y0AdSszFS01LUE2bC KelUqo5cI8N057aJcuSavPdUO0Tx/Rfg/qSjd8fQnW2hpPtjAkSaJOVtparUhhTuJUcLis SHXFLVGIdrXM6mvT2zVGYBhW96G8XtRqExDXKIwTGWPIMpK0au4YPQ7q9TQ7rbgNoqWaq1 sMggyLBj+8VoxwQA7EBYtnnQ4VdZD/N+lk00VDux6lTwEsJMv3IfEoVzBKvApg== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:22 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 18f168e33..4bb856f67 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -171,6 +171,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 Fri Dec 8 18:35:23 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: 57420 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 AEFC127BBEB; Fri, 8 Dec 2023 18:37:45 +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 5E5EB27BBE2 for ; Fri, 8 Dec 2023 18:37:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfik-0004xB-O6; Fri, 08 Dec 2023 13:37:06 -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 1rBfiY-0004sA-Ij for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiY-0007n8-9q for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfil-00004t-Bt for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206059432583 (code B ref 66801); Fri, 08 Dec 2023 18:37:07 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:34 +0000 Received: from localhost ([127.0.0.1]:46158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfiA-0008T5-En for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:34 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:42635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhw-0008Q3-Ma for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:17 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 46CD36000E; Fri, 8 Dec 2023 18:35:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060556; 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=pUofZCk22U6gC85sY87/YeJgh7gYC6pbJDqK3tv4YmI=; b=ESgGlxbN9zp4VbC3bghPUfe/FlqHvCmuNAQen3TF4gp5JxwnHbcL6PfC336a8hO95mGKvh Vy9qC+hKteYaz2U9k+0XgpQKpzPxX3N43AvUNp6YP9G15HcglQ2W7JmHhE+yMZhq6onqJI Zev5bPMWU8PQbSQnfzLXTOCSTr0xvgJzq1NIScb8G/UgUyksywh+ZwcprUjGoob9DjoheY DOgv4YI2s6ba0rRdqEoAEnBMK3xbtfk1S9/zOLMDBNQQMtwpxFNuRGCH7G/gUVQ3wDooUt +KsXlWbmfd3rJZGjaarXejk+xxfyiBgmGMFWOIF+xaKwA+H90jfyXptYO3wyXQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:23 +0100 Message-ID: <9de5de6653364f266aff50a58c83f5c3ac8fdd7c.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 4bb856f67..b4e974797 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -193,6 +193,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 Fri Dec 8 18:35:24 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: 57412 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 E690527BBE2; Fri, 8 Dec 2023 18:37:16 +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 C914227BBE9 for ; Fri, 8 Dec 2023 18:37:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfil-0004y0-3H; Fri, 08 Dec 2023 13:37:07 -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 1rBfib-0004t8-Mc for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:58 -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 1rBfia-0007p8-66 for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfim-000059-7g for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206059532599 (code B ref 66801); Fri, 08 Dec 2023 18:37:08 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:35 +0000 Received: from localhost ([127.0.0.1]:46162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfiE-0008Td-Rj for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:35 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:48005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhw-0008Q8-Q3 for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:21 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id D39A96000F; Fri, 8 Dec 2023 18:35:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060557; 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=r14cCNxp0DvOpqI77GAIMneHiLFKkP8QXT/DRhTRWus=; b=Qsf+WFOzYy/a8E8+on3uHtWeyFqneMsU4iPhDOIbLZypo6iaR/QvomrvZ0jQonhwPkPT7I YRKwWOqrwr71w4+00ddvQWG7nnKM2L/p01lpQI5JvcawxnwmvGp8kWLd9Af8nZC9m/0IZY /B9YXHkIS+HJljQoMJqh102yQy6vdU5nj+dz+M2r60WbGG0y8MFKKHMVmX8B0W+9txhY8W wzI+MmQI/2WODw/JRVz/J7zw+NCgreAqvKuMznLgHDydCYGDs8vlUN1+X7SuGOyuWaOlMw HxMPH4w8kOLe+65MZwky/yZoXbfy+qYtTi/e65WfGB7WI4xiAk5sFOjWMOl+Pg== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:24 +0100 Message-ID: <5f7b5adbc492beb8e2f03c7f0fc8a2b5b716ea29.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 b4e974797..4d328aa07 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -217,6 +217,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 Fri Dec 8 18:35:25 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: 57419 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 21BE727BBEA; Fri, 8 Dec 2023 18:37:45 +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 824A027BBE2 for ; Fri, 8 Dec 2023 18:37:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfik-0004x1-Gw; Fri, 08 Dec 2023 13:37:06 -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 1rBfia-0004sk-CY for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:57 -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 1rBfiZ-0007pA-LW for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfim-00005K-Mx for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206059532605 (code B ref 66801); Fri, 08 Dec 2023 18:37:08 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:35 +0000 Received: from localhost ([127.0.0.1]:46164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfiF-0008Tk-9s for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:35 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:34161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhw-0008Q9-Qz for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:25 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 66B7C60010; Fri, 8 Dec 2023 18:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060557; 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=5y0fvLJi890IbY+NNSTinaK5OSRRtePDR2nQcrp6/v8=; b=SU9qduK2Ur5BLSxLGCFR7HsopwkZdXUKbUiHe3aFtsfQ4+Rrb6NAswTymezrC3QktbK4+i 5rABGOL+xfPZs2EWuBpEauADHB0ZLpxwpDbTQSvHbX0jB7pvYQG/Y8FfWqyLtv2LBJlgMX 2KmbsSqNWIIlWGOHiIebAYMGHrnIGRkRF0lvTX0dv9d64ESU9NQ9qroOIvegJA7ePJ/kY0 8imPU+drrjzUefslW+kMVdZd+OvcBsr+QaJ9MNAtTuuLkMPyCUcqV20xf47NqOoWY+WxM4 ZrQyz1mhYcKF+FVoNwlIhSTsGeHjFxmDFEttdr+YjdUJciO0q23lmQSwehH9WA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:25 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 4d328aa07..983c3ff5f 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -237,6 +237,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 Fri Dec 8 18:35:26 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: 57421 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 39B8127BBEA; Fri, 8 Dec 2023 18:37:49 +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 1C38727BBE9 for ; Fri, 8 Dec 2023 18:37:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBfii-0004vJ-ES; Fri, 08 Dec 2023 13:37: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 1rBfiZ-0004sM-1f for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36: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 1rBfiY-0007p3-Op for guix-patches@gnu.org; Fri, 08 Dec 2023 13:36:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBfil-000052-Pa for guix-patches@gnu.org; Fri, 08 Dec 2023 13:37:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v4 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: Fri, 08 Dec 2023 18:37: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.170206059532592 (code B ref 66801); Fri, 08 Dec 2023 18:37:07 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 18:36:35 +0000 Received: from localhost ([127.0.0.1]:46160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfiE-0008TZ-Dr for submit@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:34 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBfhx-0008QM-Rs for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 13:36:19 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id EE3CC60011; Fri, 8 Dec 2023 18:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702060558; 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=4SYyoZmLDV3es1LgwM3SwLVheIAwCDLFScnITXsq7TA=; b=hFCo+BjgwNctnOvbRJWnzwzSnp9A68VjuozGaftwZB07mCwaKzAfe2VlAbciQzeJUTI9Os Qxo4PQGKO2zeHCMtiFnonMjDzdfqx9Z6xm1iORxJDztphGe5XLcRgvtal+tdug6snhvrmz SYzHrVwIsaHHLaCppSHOqF43lcaS+/+/UCu70LVH9UCSzsrj5HoOK5qBFHR1DsBN2vZ6mc qp7os5JagaJCvyQyYhaP+wkF7LWpr5qaMW6j2JZxi7KzkBVtkpupFfP3gJpq8uKX1mS28o 4FVAV+/fm5ZF/1javqqqu3JMhBFFfNSrn1jDjP+lsI6lb6nvcckBp99OJt6TPQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 19:35:26 +0100 Message-ID: <7906c924e18be21b7df5edea7ae9c665d77e21d9.1702060484.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.git.contact@phfrohring.com> References: <7cd29d5162bed84d0b5b933673e5b8766c66719d.1702060484.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 983c3ff5f..e74750c5b 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -256,6 +256,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