From patchwork Fri Dec 8 14:27: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: 57379 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 BC65627BBE2; Fri, 8 Dec 2023 14:29: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=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 A36CD27BBEA for ; Fri, 8 Dec 2023 14:29:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBbqX-0002Y3-LV; Fri, 08 Dec 2023 09:28: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 1rBbqU-0002XK-Jr for guix-patches@gnu.org; Fri, 08 Dec 2023 09:28: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 1rBbqU-0003Fl-7p for guix-patches@gnu.org; Fri, 08 Dec 2023 09:28:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBbqh-000525-33 for guix-patches@gnu.org; Fri, 08 Dec 2023 09:29:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 14:29: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.170204568919208 (code B ref 66801); Fri, 08 Dec 2023 14:29:03 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 14:28:09 +0000 Received: from localhost ([127.0.0.1]:44229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbpo-0004zi-6E for submit@debbugs.gnu.org; Fri, 08 Dec 2023 09:28:09 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:44389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbpi-0004yo-Uh for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 09:28:04 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 04CC51BF20A; Fri, 8 Dec 2023 14:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702045663; 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=ndgkExAjOIL5YqcEJhIO96Z2KIiqk5NoroQKC0rl3NxUn0HyFnmcLluIQyK19azA4DCbdm qugzHJGKbj1125bpfxVuXzkbcv8Zv84J26W1RaOgG2OHQwQr1ZU61rCUOEW9y0wFyF4UIB i7X/X7g6sD9Kn4g8yfHsDGcwICKqR+XwCqlZSgTFkg+HXh40vQGEOUsbewCE+bc/izORaL up9N9TFXeUtO9Rkczr0m78MFxqoD0F2hP7sI/PF3dzN8J2hTX9DIDoZyEL0oFd8DZfXJeB 9mObvJsdOcJuPhNDGU6r/Oy+zzqJ0sy52fqKaaFxWH821FZssCH/XFlTZmnV0Q== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 15:27:23 +0100 Message-ID: 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 14:27:24 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: 57378 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 B938627BBE2; Fri, 8 Dec 2023 14:29: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=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 19E4F27BBE9 for ; Fri, 8 Dec 2023 14:29:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBbqb-0002bZ-8c; Fri, 08 Dec 2023 09:28:57 -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 1rBbqU-0002XJ-Bh for guix-patches@gnu.org; Fri, 08 Dec 2023 09:28: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 1rBbqT-0003Fi-VV for guix-patches@gnu.org; Fri, 08 Dec 2023 09:28:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBbqg-00051x-Ku for guix-patches@gnu.org; Fri, 08 Dec 2023 09:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 14:29: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.170204568619191 (code B ref 66801); Fri, 08 Dec 2023 14:29:02 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 14:28:06 +0000 Received: from localhost ([127.0.0.1]:44227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbpl-0004zK-6z for submit@debbugs.gnu.org; Fri, 08 Dec 2023 09:28:06 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:39555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbpi-0004yp-S3 for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 09:28:04 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 961071BF211; Fri, 8 Dec 2023 14:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702045663; 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=AqtPtpq9QyK258XPMC+YP7cEFyY21ptppEfig40HugmYKxUvV0HZKSmhOGbDHuXSUAKGha YW+bh5I5XY8D4eV8pwQnOzbybMPMuJhX3Ed3GcYa0gWGV72ZawITGVmnOLj6NzYps5Oj84 9QKKkkdawuwUd97KE76bDvcZfOSKnCS0dt1R4bzbfIcXaBtNmN4IDPaO4qWbcvwXK3Mk3z GVfDoEq/gWGr51pydJ27OySTsqfy5O0/aPTXwS5lpeksTa4a3FYm2mpVuJnH/yaJXvudhr dFhg9khct3gUEUPTfKQ1sHVpnxtFL6J/RZj7OFJKy8qQuXoSSSvBB9+Fg75q2A== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 15:27:24 +0100 Message-ID: <890f17a9c0c5ea79addb025bec17f08d054cfb5b.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 14:27: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: 57377 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 CDED427BBE2; Fri, 8 Dec 2023 14:29:12 +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 9270027BBE9 for ; Fri, 8 Dec 2023 14:29:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBbqZ-0002YZ-2c; Fri, 08 Dec 2023 09:28:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBbqU-0002Xb-TX for guix-patches@gnu.org; Fri, 08 Dec 2023 09:28: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 1rBbqU-0003Fw-JR for guix-patches@gnu.org; Fri, 08 Dec 2023 09:28:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBbqh-00052C-Hp for guix-patches@gnu.org; Fri, 08 Dec 2023 09:29:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 14:29: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.170204569019215 (code B ref 66801); Fri, 08 Dec 2023 14:29:03 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 14:28:10 +0000 Received: from localhost ([127.0.0.1]:44231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbpp-0004zl-KC for submit@debbugs.gnu.org; Fri, 08 Dec 2023 09:28:10 -0500 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:56581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbpk-0004yr-GZ for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 09:28:05 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 387541BF212; Fri, 8 Dec 2023 14:27:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702045664; 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=fe9NDYIp2SSz/ryveYzpX0Xmhprq5TLVAGhBfX9/cGM=; b=XnqpEKQmyiiUibm2s1Xcv/xV4xUTCqFzEehkCpjOhH3QbBekA7Bkf0cAL9xIrOeQUPlubH BHYMJk3dKzTb6cQU+TjO6C/nsfEfoCsejMwUlzvwggU9jPd11qsVouD83HpUg8fTjS9g58 U+ZDd211x7yLXE4SochU36AFYD2Kk+4JtvoGL5xnWp4KedusVzb7ANsfcZMNE1N12NXexV AImeh5zSaCGlcPycZKvpPpTQQnFAQ2fFzAycUyj9HEoP+6ox0Y32jGDYBOMEKJhbM1SzOb yG8LB3MKH8OVTnPiLuMtMfH3CQUtbkZI18sJUy/ggTRO2HVdN98DITnNZ6GS5w== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 15:27:25 +0100 Message-ID: <937fdf197914163a125e2e8a12497fb9ebbde81b.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 15cbdbdfc..cb9074526 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -118,3 +118,46 @@ (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 + #:phases + #~(modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (setenv "MIX_ENV" "prod") + (invoke "mix" "compile"))) + (delete 'check) + (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 15:03: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: 57386 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 AE40E27BBE9; Fri, 8 Dec 2023 15:05:53 +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 30A1627BBE2 for ; Fri, 8 Dec 2023 15:05:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPN-0004EM-1e; Fri, 08 Dec 2023 10:04: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 1rBcPJ-0004C9-N6 for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPJ-0001Nz-EK for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPW-0001EE-CR for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478584527 (code B ref 66801); Fri, 08 Dec 2023 15:05:02 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:18 +0000 Received: from localhost ([127.0.0.1]:45628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOn-0001Av-Qg for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:18 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:38121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOf-000192-Mb for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id E65E21C000C; Fri, 8 Dec 2023 15:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047830; 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=KafPcZmmD7nUkzyyob5Vsv10NWI1i384WwC2/EjxbY4=; b=LOW3SZAjS2vIUyQFiUmHBX8fEXeBCHwsM+jPqieENl1cC7dy5PAJfaBbi3bZ1FXIpEiF94 EjFMDP20g3p2ZxyfhGMQxxXFjNxIm85HJon5BId7Xg8qkS3D6eWOWSNGyj/PQBS5ARTOtP RTlUhBzIKlkxzcopk5OA499Inb/fXDC9S9eZC8Tz1RM3BDbGir2OVqMeK9blqZNPwaaM+5 R10ugoDMT70a61N834/qbcn3iF1Gixfyh5EHOkIwKjNQ8P1Ng3ViTA5/p4BtBYrYL2aajz N9V9q7a/SJ7KSwXGjS6uc0FX8sCytxr6TEtGZxy/z7O7pg7LPHyJns8X3lG+5Q== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:19 +0100 Message-ID: <844f76d247df4d3a60e4f7923a476db61c53fd3b.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 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..352360fae --- /dev/null +++ b/gnu/packages/elixir-xyz.scm @@ -0,0 +1,59 @@ +;;; 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)) + (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 15:03: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: 57384 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 A3D5F27BBEC; Fri, 8 Dec 2023 15:05:50 +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 E437B27BBE2 for ; Fri, 8 Dec 2023 15:05:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPL-0004E5-RJ; Fri, 08 Dec 2023 10:04: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 1rBcPJ-0004C8-K5 for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPJ-0001Nm-BL for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPV-0001E7-TL for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05:01 +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.17020478544485 (code B ref 66801); Fri, 08 Dec 2023 15:05:01 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:14 +0000 Received: from localhost ([127.0.0.1]:45614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOi-00019r-A8 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:13 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:55975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOg-000195-9L for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:11 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id ABB6F1C0005; Fri, 8 Dec 2023 15:03:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047830; 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=ecL3OuZbHZWJzsYeMQOUPXZsmI/+gKesusvygm7mwxE=; b=DJfpp0mP1+5s2lYCjxEPJaC0c3oKEcGCR5/F4enrVGfGIg07fLRxwju3oz2kM2AdRGlLvZ mEjz/+wWwM/YVnFzkTUAOHlRAtYyJhEdoFTwvL9bzL7xPMLGLErGuG0SJtq9BhC14FhC2h Pdt3Cn5ZwOkOPNHECHwxsDGgUK9e2CIj+agxplO/4b8g7sUxaUsFEZjSpEsZ723sWE9K6r TIwwYYASvudVVYggTiQk2WY2hAu6Pa+6hk4MIuXN6/nwV2e13pKFqPBjYQHjFPiC2emnlg 052FcarN2/SncBKJHawVmyJWKTLUJkA5DDxQ0MAFyuYVad+2bB4J5vqxxiejAA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:20 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 352360fae..afc8b0db0 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -52,6 +52,28 @@ (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)) + (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 15:03: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: 57391 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 9097B27BBE9; Fri, 8 Dec 2023 15:06:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=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 2790327BBE2 for ; Fri, 8 Dec 2023 15:06:33 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPR-0004Li-Ka; Fri, 08 Dec 2023 10:04:57 -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 1rBcPL-0004E6-MW for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPL-0001Oj-DF for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPY-0001Ek-Bs for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478604556 (code B ref 66801); Fri, 08 Dec 2023 15:05:04 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:20 +0000 Received: from localhost ([127.0.0.1]:45636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOp-0001BK-JI for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:19 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:41827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOh-000197-L9 for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:13 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 49C9A1C0006; Fri, 8 Dec 2023 15:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047831; 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=/algMoBuHPR8IJqnlpog7IfOMtnZdC4yOe8JvCPH2yQ=; b=RvT5T84RRpUc6wAemb+mKE7rFhWlIPIqMiJRsGi6FGWKk/3VdzCvNx7To2ucXIqYFk412n sR4oha9fhr8KgeNFHYQ4Rusj0mTJkAuB8xRraQ3lw29gEXSD6bYeY79K4m8lXK1nChGAID xkEhtMkGj7GIrcnZ4k/gITD/U3XIHlgvVpgKRHMaMKxFddH6Qi8XxREq7rOmADY58q4L3G eaeC6YsydPFDumZ8qnMq+eC6+va6fERbjo4pzLmfkJR3yafP8ALl4K9K1/fvOyxbUu+wxV sl6VrBOvBYy0ky8CHiw4N/hhyvPCH1KA8HMBGnETiBeGyNqkcOz5E8sEgQ7q4A== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:21 +0100 Message-ID: <30b84fca7342449cde69ed948be7bcdfcc1127d1.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index afc8b0db0..544a414b4 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -74,6 +74,30 @@ (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) + ;; There is no test/ in the source. + (arguments + (list + #:tests? #f)) + (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 15:03: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: 57385 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 8D84C27BBEA; Fri, 8 Dec 2023 15:05:52 +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 1219327BBEB for ; Fri, 8 Dec 2023 15:05:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPP-0004Ju-9I; Fri, 08 Dec 2023 10:04:55 -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 1rBcPK-0004CP-7M for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPJ-0001OF-Tv for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPW-0001EM-St for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478584534 (code B ref 66801); Fri, 08 Dec 2023 15:05:02 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:18 +0000 Received: from localhost ([127.0.0.1]:45630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOo-0001Ay-9x for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:18 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:53833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOg-000198-M9 for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id D989D1C000F; Fri, 8 Dec 2023 15:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047832; 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=jLyCSuhCUSqsGS9yhp3x1iNTaVMjIDVrTg9H6jP/TTM=; b=mcx3Ho+2V1bYFxu9/gPjav8vTeDreeWP60RPea8j9wAon2ha2wputs8tMYK5cszwmK6gPz G54nx/GF2fEn8Pk4Abx9zjRLboPp1pJGb1z60NDAY9xthQ81U4Yseg2pXDPcO3pwwHGDO0 +m3XaZcbSpTt1rJOU/SpzUM1lh1rKkqNiSkXLex/0rop3KZk1Nhb+r32qGvlVath5aOI4w QcLz7RBgWDoWlr5lSRNCGIB9thMTGWdePbWduc1hvJ6ORACbykS9eg5s7fIDHQUW4pDF2x y0QwTMTG2fZrE6lveWlXZe2Dvb3Pq7qNTR0Ggcd/vHONDaLlb2mAR9rjH0vl4g== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:22 +0100 Message-ID: <3e47d3141e2e4b0dc0189ed755308aaf9932b867.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 544a414b4..bed84e9f2 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -98,6 +98,33 @@ (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")))) + (build-system mix-build-system) + (propagated-inputs (list inotify-tools)) + (arguments + (list + #:tests? #f ;There is no test/ in the source. + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'rm-priv + (lambda _ + ;; This directory represents source code not needed on UNIX systems. + ;; Since we aim at UNIX systems, it is deleted. + (delete-file-recursively "priv")))))) + (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 15:03: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: 57390 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 239EC27BBEA; Fri, 8 Dec 2023 15:06: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 7AA9827BBE2 for ; Fri, 8 Dec 2023 15:06:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPP-0004JG-6x; Fri, 08 Dec 2023 10:04:55 -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 1rBcPK-0004Cb-Nn for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPK-0001OR-Dn for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPX-0001ET-C7 for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478594542 (code B ref 66801); Fri, 08 Dec 2023 15:05:03 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:19 +0000 Received: from localhost ([127.0.0.1]:45632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOo-0001B5-Mg for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:19 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:42067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOh-00019A-9L for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:12 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 7A70D1C0010; Fri, 8 Dec 2023 15:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047832; 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=Lo/+lkXD4AQjtk7cUt5hpA2PXrTypA9KVVTwKRFC1II=; b=fbNb6BQOyfFzWv2u0vTFULipTHStjTDgyvnWfPwvtiXOk63qSypr5Wn9NyuzoMo0kNWa4X 775c6OKSBJNvL3guJBUqyJ+ujdyaRs8u5ACCS3GDolHIUPeUp06QD/dI1LLh/q5acQGlaZ Nyo2aDfVqlTnQ0WLQwbBQic39B4YNwKLaqbLQRggvoKprpzj0pFKm6YkUQWyEoODFrMb4f IyDgw9ngkICBtlEZ3Ms3xJJgdYyD3VtjHetyk6El9aPUvYzhOzFd3Ml1q5N3N/wodkZ7Gv joZzVnXUwPQlmSKR5Ad3QaauqWZHjTQQgy97IcPDLg2eITBeKNmLAbLBkpLgBw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:23 +0100 Message-ID: <2a3a2f8361fd4d27d9832fd9a95023ad57bbc14f.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 bed84e9f2..984649de4 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -125,6 +125,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)) + (synopsis "256 color ANSI coloring in the terminal") + (description "256 color ANSI coloring in the terminal.") + (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 15:03: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: 57387 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 82C6C27BBEA; Fri, 8 Dec 2023 15:06:02 +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 D6ADD27BBE2 for ; Fri, 8 Dec 2023 15:06:01 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPS-0004MY-6s; Fri, 08 Dec 2023 10:04:58 -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 1rBcPL-0004DQ-5b for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPK-0001Od-T1 for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPX-0001Ed-Rf for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478594549 (code B ref 66801); Fri, 08 Dec 2023 15:05:03 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:19 +0000 Received: from localhost ([127.0.0.1]:45634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOp-0001BD-2N for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:19 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:41119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOh-00019D-Rr for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:13 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 109641C0002; Fri, 8 Dec 2023 15:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047833; 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=070IuWjPTLjAIIoD/jUvdSb2V/0ogwDiIou6CkFIuy0=; b=ozXMIxYi18H4e0SwkNdTTiZeSqni+HzaOIXQ1bvXd01NbFVGbU9si/xkDMymSnIsG3SEBx vHufqzJTYPGtwdCPcwx4LPhMSzyxdnV7z6eI9m0XW6Jh2wJMgA9ztBx06vRC08QTn2WA+q A5pbj4hrhdEGC9xZA29hOiCy0ynDLDbs5I5/OZo9aa0+EJfbb8lZIuSMvtgu0D7wAKjuAE KjMoGhpNDxfvPPVDbTi5ihRZsMGFANHRQkKae5xTIbxX+NnIKGPTZ11DfVXOxt0q0kZSGO epRY0Bv83QiuKcLme+z3I4aOiCeW6P0ZFkFIczCQmbi9IJJYUhev2NtI+TY0Sw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:24 +0100 Message-ID: <3764f1dd233ecdaa464d8ff594be84dac171ed60.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 984649de4..12aee0d78 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -144,6 +144,29 @@ (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)) + (propagated-inputs (list elixir-bunt elixir-jason)) + (synopsis + "Offers a Mix task for suggestions on enhancing your 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 15:03: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: 57383 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 111FE27BBE2; Fri, 8 Dec 2023 15:05:42 +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 1996C27BBEB for ; Fri, 8 Dec 2023 15:05:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPT-0004PG-8Z; Fri, 08 Dec 2023 10:05:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBcPN-0004EP-0c for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPL-0001Ou-TN for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPY-0001Es-RT for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478604564 (code B ref 66801); Fri, 08 Dec 2023 15:05:04 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:20 +0000 Received: from localhost ([127.0.0.1]:45638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOp-0001BR-W3 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:20 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:48589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOi-00019G-Dl for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:14 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 999901C0009; Fri, 8 Dec 2023 15:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047833; 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=qP3CE/sStGqGFb0+GgfQ3NO7n8cik88IyOa87ATRmo4=; b=cvG0tQ4eyH8Xp/fsmNafJfMYArRdaza2hd8ttcjKy0hD3/cORC41fQQH/c/B63eBslGEUv BupHTgaEgTJXfFeml/StKVjCj/QB6eTB5LNDfWnaIEvXb/OhIQNjZGEOOLDvGlYGhdaOcF 0XIyehYEx9uXf6aZmykKwKj7FSK9uJ8XH0O5yGUyAuaTjloMc0+nCWgqef7jiJK1ei3Nxg bmmgbuNxcZZbGXFQivr1YyVgBdgorcJ0UcCPK2vYHwb/0oZa7f9bmJ4TVlwZRrYJsYTP+h ybQBM+MzMBepBqJtb/V3hRU/3vsbbkvsqh0qwyR/pmSk5Mc0gGkZIIMHlEPDlQ== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:25 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 12aee0d78..f50c8f018 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -167,6 +167,26 @@ (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) + ;; There is no test/ in the source. + (arguments + (list + #:tests? #f)) + (synopsis "Up-to-date CA certificate store") + (description "Up-to-date CA certificate store.") + (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 15:03: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: 57382 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 8FC0227BBEC; Fri, 8 Dec 2023 15:05:40 +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 D9D6D27BBE9 for ; Fri, 8 Dec 2023 15:05:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPS-0004Mc-8J; Fri, 08 Dec 2023 10:04:58 -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 1rBcPN-0004Hi-Gi for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPN-0001P5-4V for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPa-0001FC-3t for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478614579 (code B ref 66801); Fri, 08 Dec 2023 15:05:06 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:21 +0000 Received: from localhost ([127.0.0.1]:45642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOq-0001Bg-Py for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:21 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:32851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOi-00019I-Us for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:14 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2D40C1C0012; Fri, 8 Dec 2023 15:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047834; 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=dUUkWXiL23ysyHz8wg2DgET0KkgTo+NpkHVhTXFrC6w=; b=OeKSO/yj1/k7FySSbK6hFCf0FDtKyUZk7AAy3fdWMWNo7LntdkBaGAmGuqTJ+c7EAneo3e pbts++IcncpCAoEzm0/yta9lw/s3GDpiD+E3vqk2BvMFrWLuCJsawNCcXnWXJVHOROafHL NqPLZ5qs/sOrgwR6T3AFDZblvQDMDoOuuvJYZGuMq+aLwK7q4vd0rJ/1DatC0CjOPyCwWN LPfa61QXKsTyPNkcoM8pWiDMYrHfh8+vbTP15WA40xrTMqo7FOgrPG6ffazoqNc8j/BpuO Jecg1VM8FbENb5TICqU0RmTDKe0oKIZ2qts71Yuy5bORkcm3UQjSNOaCxJf5zA== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:26 +0100 Message-ID: <3beb1d8ba84e59c927164aa1315429c70f6b1634.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index f50c8f018..f6be8e88f 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -187,6 +187,31 @@ (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)) + ;; No test/ folder. + (arguments + (list + #:tests? #f)) + (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 15:03:27 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: 57389 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 05FD627BBEA; Fri, 8 Dec 2023 15:06: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 7227E27BBE2 for ; Fri, 8 Dec 2023 15:06:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPR-0004LW-HL; Fri, 08 Dec 2023 10:04:57 -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 1rBcPN-0004Ej-5W for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPM-0001Ov-Dh for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPZ-0001Ez-CO for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478604571 (code B ref 66801); Fri, 08 Dec 2023 15:05:05 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:20 +0000 Received: from localhost ([127.0.0.1]:45640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOq-0001BZ-CN for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:20 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:54387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOj-00019K-GZ for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:14 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id B1B2F1C0015; Fri, 8 Dec 2023 15:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047834; 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=U4AN4FHlcMaRthtY8AQtfnL7hkLdq2KP/js/SU1hoEI=; b=DllkCIpdk4fYCMuUpqq4v0xJ8M3H6r6ZQy9iRXvAjQtV0ZPo73YWoV7kP08+gD3fS7XXeO AhKSXQevc/bSE0jp5I5vobNQxQPfV9rBzzBEpdWVZmog6T4vWYJU75G+mstG/ZxsMplmir liq/jHF4umjjmHC3Fvm2GP2wCGwJUUIImyVYqvp1mhx0wRRQ0g5lwhAZKMk0pWHhZOdeNZ rg+88OWWNl5/j05iqRQQ0mV7Og/XItKhYfvhw7ecxUaIbVjXXMhZJvESZmBEFvsHOfy2/T f+CoWtX3xaY8i+C90MhUoxBSZZpWbzcKJ8JtPvMgsnTMlhf6NxArFT2OYvhszw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:27 +0100 Message-ID: <670c3550e3741978c2c307e8e08a1c49eace8fb5.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 f6be8e88f..afacbd872 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -212,6 +212,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)) + (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 15:03:28 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: 57381 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 1F26C27BBE2; Fri, 8 Dec 2023 15:05:22 +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 21BC227BBE9 for ; Fri, 8 Dec 2023 15:05:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPS-0004Ne-Oo; Fri, 08 Dec 2023 10:04:58 -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 1rBcPN-0004IJ-Su for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPN-0001PD-JZ for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPa-0001FM-HV for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478614589 (code B ref 66801); Fri, 08 Dec 2023 15:05:06 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:21 +0000 Received: from localhost ([127.0.0.1]:45644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOr-0001Bn-82 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:21 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:46695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOk-00019L-2G for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:15 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 46B3F1C0011; Fri, 8 Dec 2023 15:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047835; 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=PXsmiE7wCcOf1Kj5Z7oh9QqsixMy+SO1zWKcrOZxN6I=; b=kMzQRioClgk+HzGXMEeHT/+bPmXPW4iSZSXuOmytrUvXDZH6VK3i5ac+pAdxLV8ryfiHIh Xck/Rd84pZuOBlNy3MV450BD6mRqfeZpZsQKWhd7cdhK9jybnteHQc/x9aZ/JhG/gbb4qH 3UXSiNJXr8UST2Sx8CEUZAlg+l3yuKkiZJeRlCsR7LcIIZi/zK+miouw3gkWQduzmhvIWG apAT9orMAqEUrAYLWB0A7U8ILALT9fDOvkWdf8qiR2n1zPV0edd6wX31rifxIOhgC45rqF K6wdEY9ogjNZasum6KD0TwzRYLaEZAfmnhpkrTaDRaxy8mlJ6+vlxjl2VFScPg== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:28 +0100 Message-ID: <9565a3613f72aec9d954d771a374579352c4a126.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index afacbd872..08107934a 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -236,6 +236,29 @@ (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)) + (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 .state. NOTE: Because this code calls the +Elixir formatter, it requires Elixir 1.6+.") + (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 15:03:29 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: 57388 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 3A7DF27BBE9; Fri, 8 Dec 2023 15:06:20 +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 9385D27BBE2 for ; Fri, 8 Dec 2023 15:06:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPV-0004SG-Mh; Fri, 08 Dec 2023 10:05:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBcPO-0004Ig-Fl for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPO-0001PL-2N for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPb-0001FU-16 for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478624601 (code B ref 66801); Fri, 08 Dec 2023 15:05:06 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:22 +0000 Received: from localhost ([127.0.0.1]:45646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOr-0001By-Mk for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:22 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:45027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOm-00019f-Rr for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:17 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id D1BF31C0018; Fri, 8 Dec 2023 15:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047836; 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=EUKWZznz7kX5q1Mm3/s6XgIN47G1sLkfg3o8plo0my0=; b=fxALCFqAaQuHjIGsSEnFpyAUtXNyEeiwxrsBOX7laOmODtvXTTrf29kW/WkY0xfsTJgz8x crdlnXZwkmvZjgjsBwxBCBWCqZvMHW0NZif8DL9dhjjQi+q4AtmIg6gqzbpZDnVnXjAlNf lGiSxk0fmdjERygV9qWKrSk0NcVkvFeoLCxMPWuKd/HXzVUdCBmY2haXMV5UsG7axHb20Y qDA56bmhQxT2WbIBqdFsgGJk9cSjHzkV5bIEOlc4yp+XuwXTnSbKBVUaT1oZ1vhGjYxPeS axjIVjWnnBGNRCKXsnGtJJiIZ4rYeN1n+KdMZp6nvr7go3WgdGMDEPc6ZNHDiw== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:29 +0100 Message-ID: <5f7e1b432effa595c78a3eb1daeb1764d79b2a6c.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 08107934a..70b752bc3 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -259,6 +259,27 @@ (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)) + (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 15:03:30 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: 57380 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 1BE0127BBE2; Fri, 8 Dec 2023 15:05:18 +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 3F1B527BBE9 for ; Fri, 8 Dec 2023 15:05:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBcPW-0004TV-RG; Fri, 08 Dec 2023 10:05: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 1rBcPO-0004JF-W7 for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04: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 1rBcPO-0001PR-Ha for guix-patches@gnu.org; Fri, 08 Dec 2023 10:04:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBcPb-0001Fd-Fe for guix-patches@gnu.org; Fri, 08 Dec 2023 10:05:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66801] [PATCH v3 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 15:05: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.17020478634607 (code B ref 66801); Fri, 08 Dec 2023 15:05:07 +0000 Received: (at 66801) by debbugs.gnu.org; 8 Dec 2023 15:04:23 +0000 Received: from localhost ([127.0.0.1]:45648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOs-0001CA-Hj for submit@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:22 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:48675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBcOm-00019g-Rx for 66801@debbugs.gnu.org; Fri, 08 Dec 2023 10:04:17 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 655BF1C001D; Fri, 8 Dec 2023 15:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702047836; 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=tpYU2jyFL+F0ed/B8WVXEWBhvTMYL6z46i+AoieuNcg=; b=jpI6D1uHDimeXHJMwRBE/vcy/By+iaN687cRNFB8AdKwNm7frbAGWrI1/xshWIbV9BxlRX R3subtoqCAt89IglO5/JFlFzY5cDljl+mJXc4+ZyKlHuU5xOk6aWB7fo4hs169CARy3bob xeizilnAk/gjSSNAq47BWow5htzaWP6dK8Y9bFshZ33VUuBsy6xf5ZVZy8jfDerlYVzN7y hHgmM4qH2hfVgcNP9pw0IJfEpoK52WW205nGyd8opfF/j7u6LZH5v72UeLOLErzv1e4McB AoZGDT7QDR70pDaiXldNeEYHpciqNDV9cVhF+gZEcfJSA+KvPoN2U2DzxWZ38w== From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Fri, 8 Dec 2023 16:03:30 +0100 Message-ID: <0fcd231dac02a6d0ee99254c37d93d38ffbb5735.1702044562.git.contact@phfrohring.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 70b752bc3..a1a29dfa0 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -280,6 +280,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