From patchwork Fri Apr 8 17:03:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38419 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 1E23927BBEA; Fri, 8 Apr 2022 18:06:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 5D8B427BBE9 for ; Fri, 8 Apr 2022 18:06:11 +0100 (BST) Received: from localhost ([::1]:33096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs3m-0005tO-F3 for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:06:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2h-0005nr-53 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2g-0005TN-QB for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2g-0001bn-KI for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374575870 (code B ref 54796); Fri, 08 Apr 2022 17:05:02 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:17 +0000 Received: from localhost ([127.0.0.1]:35763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1o-0001W4-R8 for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:17 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:52129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1k-0001VO-NM for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:07 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsIfc-1nxHBk2gLS-00tkvU for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:03:58 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 02D2A5F535; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:34 +0200 Message-Id: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:bHB66L6VWmSSqQle+3NpbYgf3vx4p3ir7SOD3aNtXe6XOSrvcLe Pn3j8sHzMw/RqpYuQYTA/f9TeTlTYSNlTx/JPzE7BixHLLIvchSU7E29JsnKaYYuEMNFj9X /OXHnWRyoAfhPck3WIsSAXa15fF0RAfEI7WvIg3n7Px9mqliaLZiLLgv6tDRTaRU9RbMPb/ AN+FwPT8RsbKe/uqb/ITQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:otzO0jEm9mg=:EnhO++FjQydNqJj/PEeLSP +wHXZm8pw+zXS6LamUdUeFFtKDbOgXiNcoE79kB1pfUXmGNlM2B4FtOH/RoFkEq0yptbc6k4h Jahuy0JmH8jbPnMg0+aZwfZ8dR413DBjjbNTuCRUqm8kVYhYmMWczY4D3uNevlRM+oa5Uh/Lx lfheQ3mKSX/Aks7SWTs914BPJehna583IvnC8CYXLaWbFWhQiFIgGfwA0nH4duCNFSD9QwRTc 75BhK9a6aHShuA7raKiGepm5+vXIC1WX4ZfZq4KVHAEN7UeBvQkOKqW6HpSCMe6jAXsJRAlUD 2HW5wMjcas6A1GoqVsR7pxXxbWGZdPXfoAElmUnuu6Ee/vA3vMnSjQ4Y7GfocfoZXn271QUd7 ncPbMJA2KukAf/Wa1gaD0XEihn8xaT8Ica9wdsQgPtnHQ0J8w/rHlz2Qta9klK5s1l5HAijR2 OvJ8CTDo/wJdZZR19VlWRVswHM59+RIdzLYto0aboJJ4hUC68UG+0qz84FSwnOX70GNfXtPI1 ilVRy75fWQ9nqq734RYhdppJtffPKyy09lok3RAL9vi4CfpUggOIxpkyWVW8+JzISH06X3rHL dY/ZB01FEb7OWkT19oZQuRfIx2jGIRMAJxnRVB5DJxsvE7M5MINk2/QPWmJ7NZb5F5p3tcR1U 9mpE1V2ovEen5d9NgJLMDWDStbHGCWG0bQaSnnXUaeWgzD5AusF0WEi3Ya9tugtD8qatCrU0Y giOO/sTgJuUsNi2Q 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" X-getmail-retrieved-from-mailbox: Patches hex.pm is a package repository for Erlang and Elixir. * doc/guix.texi (Invoking guix import): Document it. * guix/scripts/import/hexpm.scm, guix/import/hexpm.scm, guix/hexpm-download.scm: New files. * tests/hexpm.scm: New file. * Makefile.am (MODULES, SCM_TESTS): Register them. * po/guix/POTFILES.in: Likewise. * guix/scripts/import.scm (importers): Add "hexpm". --- Makefile.am | 4 + doc/guix.texi | 29 ++- guix/hexpm-download.scm | 40 ++++ guix/import/hexpm.scm | 347 ++++++++++++++++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/hexpm.scm | 109 +++++++++++ po/guix/POTFILES.in | 1 + tests/hexpm.scm | 257 +++++++++++++++++++++++++ 8 files changed, 787 insertions(+), 2 deletions(-) create mode 100644 guix/hexpm-download.scm create mode 100644 guix/import/hexpm.scm create mode 100644 guix/scripts/import/hexpm.scm create mode 100644 tests/hexpm.scm diff --git a/Makefile.am b/Makefile.am index aedb514ee1..be2c183206 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,6 +100,7 @@ MODULES = \ guix/git-download.scm \ guix/hg-download.scm \ guix/hash.scm \ + guix/hexpm-download.scm \ guix/swh.scm \ guix/monads.scm \ guix/monad-repl.scm \ @@ -263,6 +264,7 @@ MODULES = \ guix/import/gnu.scm \ guix/import/go.scm \ guix/import/hackage.scm \ + guix/import/hexpm.scm \ guix/import/json.scm \ guix/import/kde.scm \ guix/import/launchpad.scm \ @@ -311,6 +313,7 @@ MODULES = \ guix/scripts/import/gnu.scm \ guix/scripts/import/go.scm \ guix/scripts/import/hackage.scm \ + guix/scripts/import/hexpm.scm \ guix/scripts/import/json.scm \ guix/scripts/import/minetest.scm \ guix/scripts/import/opam.scm \ @@ -488,6 +491,7 @@ SCM_TESTS = \ tests/graph.scm \ tests/gremlin.scm \ tests/hackage.scm \ + tests/hexpm.scm \ tests/home-import.scm \ tests/http-client.scm \ tests/import-git.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index e8ef4286be..6c17b26d70 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -48,7 +48,7 @@ Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* -Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* +Copyright @copyright{} 2017, 2019, 2020, 2022 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* @@ -12817,6 +12817,33 @@ guix import egg arrays@@1.0 @end example Additional options include: +@table @code +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively +and generate package expressions for all those packages that are not yet +in Guix. +@end table + +@item hexpm +@cindex hexpm +Import metadata from the hex.pm Erlang and Elixir package repository +@uref{https://hex.pm, hex.pm}, as in this example: + +@example +guix import hexpm stun +@end example + +The importer tries to determine the build system used by the package. + +The hexpm importer also allows you to specify a version string: + +@example +guix import hexpm cf@@0.3.0 +@end example + +Additional options include: + @table @code @item --recursive @itemx -r diff --git a/guix/hexpm-download.scm b/guix/hexpm-download.scm new file mode 100644 index 0000000000..e2f0eb22a8 --- /dev/null +++ b/guix/hexpm-download.scm @@ -0,0 +1,40 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix hexpm-download) + #:use-module (srfi srfi-26) + #:export (hexpm-package-url + hexpm-uri)) + +;;; +;;; Definitions for the hex.pm repository, +;;; combined here since different build-systems use it. +;;; + +;; URL and paths from +;; https://github.com/hexpm/specifications/blob/master/endpoints.md +(define %hexpm-repo-url + (make-parameter "https://repo.hex.pm")) + +(define hexpm-package-url + (string-append (%hexpm-repo-url) "/tarballs/")) + +(define (hexpm-uri name version) + "Return a URI string for the package hosted at hex.pm corresponding to NAME +and VERSION." + (string-append hexpm-package-url name "-" version ".tar")) diff --git a/guix/import/hexpm.scm b/guix/import/hexpm.scm new file mode 100644 index 0000000000..bf7cfb333f --- /dev/null +++ b/guix/import/hexpm.scm @@ -0,0 +1,347 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Cyril Roelandt +;;; Copyright © 2016 David Craven +;;; Copyright © 2017, 2019-2021 Ludovic Courtès +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2019 Maxim Cournoyer +;;; Copyright © 2020-2022 Hartmut Goebel +;;; +;;; 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 (guix import hexpm) + #:use-module (guix base32) + #:use-module ((guix download) #:prefix download:) + #:use-module (guix hexpm-download) + #:use-module (gcrypt hash) + #:use-module (guix http-client) + #:use-module (json) + #:use-module (guix import utils) + #:use-module ((guix import json) #:select (json-fetch)) + #:use-module ((guix build utils) + #:select ((package-name->name+version + . hyphen-package-name->name+version) + dump-port)) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix monads) + #:use-module (guix packages) + #:use-module (guix upstream) + #:use-module (guix utils) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) + #:use-module (ice-9 popen) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-2) + #:use-module (srfi srfi-26) + #:export (hexpm->guix-package + guix-package->hexpm-name + strings->licenses ;; why used here? + hexpm-recursive-import + %hexpm-updater)) + +;;; +;;; Interface to https://hex.pm/api, version 2. +;;; REST-API end-points: +;;; https://github.com/hexpm/specifications/blob/master/apiary.apib +;;; Repository end-points: +;;; https://github.com/hexpm/specifications/blob/master/endpoints.md +;;; + +(define %hexpm-api-url + (make-parameter "https://hex.pm/api")) + +(define (package-url name) + (string-append (%hexpm-api-url) "/packages/" name)) + +;; +;; Hexpm Package. /packages/${name} +;; https://github.com/hexpm/specifications/blob/master/apiary.apib#Package +;; +;; Each package can have several "releases", each of which has its own set of +;; requirements, build-tool, etc. - see below. +(define-json-mapping make-hexpm-pkgdef hexpm-pkgdef? + json->hexpm + (name hexpm-name) ; string + (html-url hexpm-html-url "html_url") ; string + (docs-html-url hexpm-docs-html-url "docs_html_url") ; string | #nil + (meta hexpm-meta "meta" json->hexpm-meta) + (versions hexpm-versions "releases" ; list of + (lambda (vector) + (map json->hexpm-version + (vector->list vector)))) + ;; "latest_version" and "latest_stable_version" are not named in the + ;; specification, butt seen in practice. + (latest-version hexpm-latest-version "latest_version") ; string + (latest-stable hexpm-latest-stable "latest_stable_version")) ; string + +;; Hexpm package metadata. +(define-json-mapping make-hexpm-meta hexpm-meta? + json->hexpm-meta + (description hexpm-meta-description) ;string + (licenses hexpm-meta-licenses "licenses" ;list of strings + (lambda (vector) + (or (and vector (vector->list vector)) + #f)))) + +;; Hexpm package versions. +(define-json-mapping make-hexpm-version hexpm-version? + json->hexpm-version + (number hexpm-version-number "version") ;string + (url hexpm-version-url)) ;string + + +(define (lookup-hexpm name) + "Look up NAME on hex.pm and return the corresopnding record +or #f if it was not found." + (and=> (json-fetch (package-url name)) + json->hexpm)) + +;; +;; Hexpm release. /packages/${name}/releases/${version} +;; https://github.com/hexpm/specifications/blob/master/apiary.apib#Release +;; +(define-json-mapping make-hexpm-release hexpm-release? + json->hexpm-release + (version hexpm-release-version) ; string + (url hexpm-release-url) ; string + (meta hexpm-release-meta "meta" json->hexpm-release-meta) + ;; Specification names the next fiels "dependencies", but in practice it is + ;; "requirements". + (dependencies hexpm-requirements "requirements")) ; list of + +;; Hexpm release meta. +;; https://github.com/hexpm/specifications/blob/main/package_metadata.md +(define-json-mapping + make-hexpm-release-meta hexpm-release-meta? + json->hexpm-release-meta + (app hexpm-release-meta-app) ; string + (elixir hexpm-release-meta-elixir) ; string + (build-tools hexpm-release-meta-build-tools "build_tools" ; list of strings + (lambda (vector) + (or (and vector (vector->list vector)) + (list))))) + +;; Hexpm dependency. Each requirement has information about the required +;; version, such as "~> 2.1.2" or ">= 2.1.2 and < 2.2.0", see +;; , and whether +;; the dependency is optional. +(define-json-mapping make-hexpm-dependency + hexpm-dependency? + json->hexpm-dependency + (name hexpm-dependency-name "app") ; string + (requirement hexpm-dependency-requirement) ; string + (optional hexpm-dependency-optional)) ; bool + +(define (hexpm-release-dependencies release) + "Return the list of dependency names of RELEASE, a ." + (let ((reqs (or (hexpm-requirements release) '#()))) + (map first reqs))) ;; TODO: also return required version + + +(define (lookup-hexpm-release version*) + "Look up RELEASE on hexpm-version-url and return the corresopnding + record or #f if it was not found." + (and=> (json-fetch (hexpm-version-url version*)) + json->hexpm-release)) + + +;;; +;;; Converting hex.pm packages to Guix packages. +;;; + +(define (maybe-inputs package-inputs input-type) + "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a +package definition. INPUT-TYPE, a symbol, is used to populate the name of +the input field." + (match package-inputs + (() + '()) + ((package-inputs ...) + `((,input-type (list ,@package-inputs)))))) + +(define (dependencies->package-names names) + "Given a list of hexpm package NAMES, returns a list of guix package names +as symbols." + ;; TODO: Base name on languange of dependency. + ;; The languange used for implementing the depcendency is not know without + ;; recursing the dependencies. So for now assume more packages are based on + ;; Erlang and prefix all dependencies with "erlang-" (the default). + (map string->symbol + (map hexpm-name->package-name + (sort names string-cipackage-name name language)) + (version ,version) + (source (origin + (method url-fetch) + (uri (hexpm-uri ,name version)) + (sha256 (base32 ,(guix-hash-url temp))))) + (build-system ,build-system) + ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs) + (synopsis ,synopsis) + (description ,(beautify-description description)) + (home-page ,(match home-page + (() "") + (_ home-page))) + (license ,(match license + (() #f) + ((license) license) + (_ `(list ,@license)))))))))) + +(define (strings->licenses strings) + "Convert the list of STRINGS into a list of license objects." + (filter-map (lambda (license) + (and (not (string-null? license)) + (not (any (lambda (elem) (string=? elem license)) + '("AND" "OR" "WITH"))) + (or (spdx-string->license license) + license))) + strings)) + +(define (hexpm-latest-release package) + "Return the version string for the latest stable release of PACKAGE." + ;; Use latest-stable if specified (see comment in hexpm-pkgdef above), + ;; otherwise compare the lists of release versions. + (let ((latest-stable (hexpm-latest-stable package))) + (if (not (unspecified? latest-stable)) + latest-stable + (let ((versions (map hexpm-version-number (hexpm-versions package)))) + (fold (lambda (a b) + (if (version>? a b) a b)) (car versions) versions))))) + +(define* (hexpm->guix-package package-name #:key repo version) + "Fetch the metadata for PACKAGE-NAME from hexpms.io, and return the +`package' s-expression corresponding to that package, or #f on failure. +When VERSION is specified, attempt to fetch that version; otherwise fetch the +latest version of PACKAGE-NAME." + + (define package + (lookup-hexpm package-name)) + + (define version-number + (and package + (or version + (hexpm-latest-release package)))) + + (define version* + (and package + (find (lambda (version) + (string=? (hexpm-version-number version) + version-number)) + (hexpm-versions package)))) + + (define release + (and package version* + (lookup-hexpm-release version*))) + + (define release-meta + (and package version* + (hexpm-release-meta release))) + + (define build-system + (and package version* + (let ((build-tools (hexpm-release-meta-build-tools release-meta))) + (cond + ((member "rebar3" build-tools) 'rebar3-build-system) + ((member "mix" build-tools) 'mix-build-system) + ((member "make" build-tools) 'gnu-build-system) + (else #f))))) + + (define language + (and package version* + (let ((elixir (hexpm-release-meta-elixir release-meta))) + (cond + ((and (string? elixir) (not (string-null? elixir))) "elixir") + (else "erlang"))))) + + (and package version* + (let ((dependencies (hexpm-release-dependencies release)) + (pkg-meta (hexpm-meta package)) + (docs-html-url (hexpm-docs-html-url package))) + (values + (make-hexpm-sexp + #:language language + #:build-system build-system + #:name package-name + #:version version-number + #:dependencies dependencies + #:home-page (or (and (not (eq? docs-html-url 'null)) + docs-html-url) + ;; TODO: Homepage? + (hexpm-html-url package)) + #:synopsis (hexpm-meta-description pkg-meta) + #:description (hexpm-meta-description pkg-meta) + #:license (or (and=> (hexpm-meta-licenses pkg-meta) + strings->licenses)) + #:tarball-url (hexpm-uri package-name version-number)) + dependencies)))) + +(define* (hexpm-recursive-import pkg-name #:optional version) + (recursive-import pkg-name + #:version version + #:repo->guix-package hexpm->guix-package + #:guix-name hexpm-name->package-name)) + +(define (guix-package->hexpm-name package) + "Return the hex.pm name of PACKAGE." + (define (url->hexpm-name url) + (hyphen-package-name->name+version + (basename (file-sans-extension url)))) + + (match (and=> (package-source package) origin-uri) + ((? string? url) + (url->hexpm-name url)) + ((lst ...) + (any url->hexpm-name lst)) + (#f #f))) + +(define* (hexpm-name->package-name name #:optional (language "erlang")) + (string-append language "-" (string-join (string-split name #\_) "-"))) + + +;;; +;;; Updater +;;; + +(define (latest-release package) + "Return an for the latest release of PACKAGE." + (let* ((hexpm-name (guix-package->hexpm-name package)) + (hexpm (lookup-hexpm hexpm-name)) + (version (hexpm-latest-release hexpm)) + (url (hexpm-uri hexpm-name version))) + (upstream-source + (package (package-name package)) + (version version) + (urls (list url))))) + +(define %hexpm-updater + (upstream-updater + (name 'hexpm) + (description "Updater for hex.pm packages") + (pred (url-prefix-predicate hexpm-package-url)) + (latest latest-release))) diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm index 40fa6759ae..aaadad4adf 100644 --- a/guix/scripts/import.scm +++ b/guix/scripts/import.scm @@ -79,7 +79,7 @@ rather than \\n." ;;; (define importers '("gnu" "pypi" "cpan" "hackage" "stackage" "egg" "elpa" - "gem" "go" "cran" "crate" "texlive" "json" "opam" + "gem" "go" "cran" "crate" "texlive" "json" "opam" "hexpm" "minetest")) (define (resolve-importer name) diff --git a/guix/scripts/import/hexpm.scm b/guix/scripts/import/hexpm.scm new file mode 100644 index 0000000000..b49d263f9e --- /dev/null +++ b/guix/scripts/import/hexpm.scm @@ -0,0 +1,109 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 David Thompson +;;; Copyright © 2016 David Craven +;;; Copyright © 2019 Martin Becze +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix scripts import hexpm) + #:use-module (guix ui) + #:use-module (guix utils) + #:use-module (guix scripts) + #:use-module (guix import hexpm) + #:use-module (guix scripts import) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-11) + #:use-module (srfi srfi-37) + #:use-module (srfi srfi-71) + #:use-module (ice-9 match) + #:use-module (ice-9 format) + #:export (guix-import-hexpm)) + + +;;; +;;; Command-line options. +;;; + +(define %default-options + '()) + +(define (show-help) + (display (G_ "Usage: guix import hexpm PACKAGE-NAME +Import and convert the hex.pm package for PACKAGE-NAME.\n")) + (display (G_ " + -h, --help display this help and exit")) + (display (G_ " + -V, --version display version information and exit")) + (newline) + (display (G_ " + -r, --recursive import packages recursively")) + (newline) + (show-bug-report-information)) + +(define %options + ;; Specification of the command-line options. + (cons* (option '(#\h "help") #f #f + (lambda args + (show-help) + (exit 0))) + (option '(#\V "version") #f #f + (lambda args + (show-version-and-exit "guix import hexpm"))) + (option '(#\r "recursive") #f #f + (lambda (opt name arg result) + (alist-cons 'recursive #t result))) + %standard-import-options)) + + +;;; +;;; Entry point. +;;; + +(define (guix-import-hexpm . args) + (define (parse-options) + ;; Return the alist of option values. + (parse-command-line args %options (list %default-options) + #:build-options? #f)) + + (let* ((opts (parse-options)) + (args (filter-map (match-lambda + (('argument . value) + value) + (_ #f)) + (reverse opts)))) + (match args + ((spec) + (with-error-handling + (let ((name version (package-name->name+version spec))) + (if (assoc-ref opts 'recursive) + ;; Recursive import + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (hexpm-recursive-import name version)) + ;; Single import + (let ((sexp (hexpm->guix-package name #:version version))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + spec)) + sexp))))) + (() + (leave (G_ "too few arguments~%"))) + ((many ...) + (leave (G_ "too many arguments~%")))))) diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in index 49a8edfef3..ed873fe5d9 100644 --- a/po/guix/POTFILES.in +++ b/po/guix/POTFILES.in @@ -134,6 +134,7 @@ guix/scripts/import/gem.scm guix/scripts/import/gnu.scm guix/scripts/import/go.scm guix/scripts/import/hackage.scm +guix/scripts/import/hexpm.scm guix/scripts/import/json.scm guix/scripts/import/opam.scm guix/scripts/import/pypi.scm diff --git a/tests/hexpm.scm b/tests/hexpm.scm new file mode 100644 index 0000000000..84d126c821 --- /dev/null +++ b/tests/hexpm.scm @@ -0,0 +1,257 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 David Thompson +;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2018 Oleg Pykhalov +;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2022 Hartmut Goebel +;;; +;;; 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 (test-hexpm) + #:use-module (guix import hexpm) + #:use-module (guix base32) + #:use-module (gcrypt hash) + #:use-module (guix tests) + #:use-module (srfi srfi-64) + #:use-module (ice-9 binary-ports) + #:use-module (ice-9 match)) + +(define test-bla-package + "{\"name\": \"bla\", + \"html_url\": \"https://hex.pm/packages/bla\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"A cool package\", + \"licenses\": [\"MIT\", \"Apache-2.0\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/bla/releases/1.5.0\", + \"version\": \"1.5.0\"}, + {\"url\": \"https://hex.pm/api/packages/bla/releases/1.4.7\", + \"version\": \"1.4.7\"} + ] +}") + +(define test-bla-release + "{ + \"version\": \"1.5.0\", + \"url\": \"https://hex.pm/api/packages/bla/releases/1.5.0\", + \"requirements\": { + \"blubb\":{\"app\": \"blubb\", + \"optional\": false, + \"requirement\": \"~>0.3\" + }, + \"fasel\":{\"app\": \"fasel\", + \"optional\": false, + \"requirement\": \"~>1.0\" + } + }, + \"meta\":{ \"build_tools\":[\"mix\", \"make\", \"rebar3\"] } + }") + +(define test-blubb-package + "{\"name\": \"blubb\", + \"latest_stable_version\": \"0.3.1\", + \"latest_version\": \"0.3.1\", + \"html_url\": \"https://hex.pm/packages/blubb\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"Another cool package\", + \"licenses\": [\"MIT\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.1\", + \"version\": \"0.3.1\"}, + {\"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.0\", + \"version\": \"0.3.0\"} + ] +}") + +(define test-blubb-release + "{ + \"version\": \"0.3.1\", + \"url\": \"https://hex.pm/api/packages/blubb/releases/0.3.1\", + \"requirements\": { + \"fasel\":{\"app\": \"fasel\", + \"optional\": false, + \"requirement\": \"~>1.0\" + } + }, + \"meta\": { \"build_tools\":[\"mix\"] } + }") + +(define test-fasel-package + "{\"name\": \"fasel\", + \"latest_stable_version\": \"1.2.1\", + \"latest_version\": \"1.2.1\", + \"html_url\": \"https://hex.pm/packages/fasel\", + \"docs_html_url\": null, + \"meta\": { + \"description\": \"Yet another cool package\", + \"licenses\": [\"GPL\"] + }, + \"releases\": [ + {\"url\": \"https://hex.pm/api/packages/fasel/releases/1.2.1\", + \"version\": \"1.2.1\"} + ] +}") + +(define test-fasel-release + "{ + \"version\": \"1.2.1\", + \"url\": \"https://hex.pm/api/packages/fasel/releases/1.2.1\", + \"requirements\" :{}, + \"meta\":{ \"build_tools\":[\"make\"] } + }") + +(test-begin "hexpm") + +(test-assert "hexpm->guix-package" + ;; Replace network resources with sample data. + (mock ((guix http-client) http-fetch + (lambda (url . rest) + (match url + ("https://hex.pm/api/packages/bla" + (values (open-input-string test-bla-package) + (string-length test-bla-package))) + ("https://hex.pm/api/packages/bla/releases/1.5.0" + (values (open-input-string test-bla-release) + (string-length test-bla-release))) + (_ (error "http-fetch got unexpected URL: " url))))) + (mock ((guix build download) url-fetch + (lambda* (url file-name + #:key + (mirrors '()) verify-certificate?) + (with-output-to-file file-name + (lambda () + (display + (match url + ("https://repo.hex.pm/tarballs/bla-1.5.0.tar" + "source") + (_ (error "url-fetch got unexpected URL: " url)))))))) + (match (hexpm->guix-package "bla") + (('package + ('name "erlang-bla") + ('version "1.5.0") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "bla" 'version)) + ('sha256 + ('base32 + "0zcl4dgcmqwl1g5xb901pd6dz61r1xgmac9mqlwvh022paa6gks1")))) + ('build-system 'rebar3-build-system) + ('inputs ('list 'erlang-blubb 'erlang-fasel)) + ('synopsis "A cool package") + ('description "This package provides a cool package") + ('home-page "https://hex.pm/packages/bla") + ('license ('list 'license:expat 'license:asl2.0))) + #t) + (x + (pk 'fail x #f)))))) + +(test-assert "hexpm-recursive-import" + ;; Replace network resources with sample data. + (mock ((guix http-client) http-fetch + (lambda (url . rest) + (match url + ("https://hex.pm/api/packages/bla" + (values (open-input-string test-bla-package) + (string-length test-bla-package))) + ("https://hex.pm/api/packages/bla/releases/1.5.0" + (values (open-input-string test-bla-release) + (string-length test-bla-release))) + ("https://hex.pm/api/packages/blubb" + (values (open-input-string test-blubb-package) + (string-length test-blubb-package))) + ("https://hex.pm/api/packages/blubb/releases/0.3.1" + (values (open-input-string test-blubb-release) + (string-length test-blubb-release))) + ("https://hex.pm/api/packages/fasel" + (values (open-input-string test-fasel-package) + (string-length test-fasel-package))) + ("https://hex.pm/api/packages/fasel/releases/1.2.1" + (values (open-input-string test-fasel-release) + (string-length test-fasel-release))) + (_ (error "http-fetch got unexpected URL: " url))))) + (mock ((guix build download) url-fetch + (lambda* (url file-name + #:key + (mirrors '()) verify-certificate?) + (with-output-to-file file-name + (lambda () + (display + (match url + ("https://repo.hex.pm/tarballs/bla-1.5.0.tar" + "bla-source") + ("https://repo.hex.pm/tarballs/blubb-0.3.1.tar" + "blubb-source") + ("https://repo.hex.pm/tarballs/fasel-1.2.1.tar" + "fasel-source") + (_ (error "url-fetch got unexpected URL: " url)))))))) + (match (hexpm-recursive-import "bla") + ((('package + ('name "erlang-blubb") + ('version "0.3.1") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "blubb" 'version)) + ('sha256 + ('base32 + "17y88b5y8ld7s1c2bcwwwa04pf1cl4402i9zk3inna221ps3ppj2")))) + ('build-system 'mix-build-system) + ('inputs ('list 'erlang-fasel)) + ('synopsis "Another cool package") + ('description "Another cool package") + ('home-page "https://hex.pm/packages/blubb") + ('license 'license:expat)) + ('package + ('name "erlang-fasel") + ('version "1.2.1") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "fasel" 'version)) + ('sha256 + ('base32 + "1k6d70mxwqgq78jrbr7yqnw187yki74jnagybi7nacrj4a67qjha")))) + ('build-system 'gnu-build-system) + ('synopsis "Yet another cool package") + ('description "Yet another cool package") + ('home-page "https://hex.pm/packages/fasel") + ('license "GPL")) + ('package + ('name "erlang-bla") + ('version "1.5.0") + ('source + ('origin + ('method 'url-fetch) + ('uri ('hexpm-uri "bla" 'version)) + ('sha256 + ('base32 + "0d3gj746c4swbb1m6ycylxb239jsavvdcizag6bfbg2aqccxwij8")))) + ('build-system 'rebar3-build-system) + ('inputs ('list 'erlang-blubb 'erlang-fasel)) + ('synopsis "A cool package") + ('description "This package provides a cool package") + ('home-page "https://hex.pm/packages/bla") + ('license ('list 'license:expat 'license:asl2.0)))) + #t) + (x + (pk 'fail x #f)))))) + +(test-end "hexpm") From patchwork Fri Apr 8 17:03:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38438 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 E1B6027BBEA; Fri, 8 Apr 2022 18:17:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 ACB7427BBE9 for ; Fri, 8 Apr 2022 18:17:46 +0100 (BST) Received: from localhost ([::1]:58710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsEz-0007Ex-Rc for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:17:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2h-0005p8-Is for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2h-0005WJ-8s for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2h-0001bw-42 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 02/22] gnu: Add erlang-cf. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374615892 (code B ref 54796); Fri, 08 Apr 2022 17:05:03 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1x-0001Wd-AW for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:20 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:58593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1m-0001VR-PP for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:07 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MEmIl-1nkGZ12i6d-00GLON for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:00 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 1661766474; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:35 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:vIu2OvnfhJcrIeKiaqK4cKBkqyo70X7GWGWDW9u4f2qvjUsZ0du EpkmWq9ji5VR57lYWBRjjhg5i1sjqNRXALKaxD19/OixpvWeVrKlMWtmqap/TRC9og6ekbI BdXX1qa/PWLydsrKEic2NK9NI2vrO1UA3tdRJC0jhXRMe8fBWasYbg3gveQHsqJWdZRoqxg 4+2+b9FtMjwCB1qlI7FBg== X-UI-Out-Filterresults: notjunk:1;V03:K0:2cQeHPTtwLc=:yGzKBGe41FEtnePQkyG5i6 LkDxasmUXazFrN8r0nLMY3GT6Q51wX8SrPG/2MbZEqCjQ3mJpkYUhdZCDjWdNX0lPCmufwNgP 6zg5f3o/pmAX5RFC2VfxNUepcWnfSjQir14ZRvc1UT8xFwDuGJc8sWMIramaDEYbP+Z2mTv6H 3r8IcJuneDwbY0eKjjLQvgS4m8gITonU1VSdIW3i5dRJcF5JXGantoS5VcgODg5eowxYQfUGq 8k0iH+EnSdiYdIV50JstjZmVCGuNmG6Ld90uoAXQaXmvMG/92pNtgh9k229GTLaADRRoNeXFI RqI78H9/eyY0fHTHk5ISPoBj8Laokg6lDwMQO7rp5wgwo/fKTZrvndsDymZWlJoqJwvz91zLm 6+0oL89/5doz1gRHg+hRF/AAB0faJB/IXvft0M0VZefyF65eG27Ol+v/jcVDbrihgwYBiKbVi mimu5sqj4ivF2WxwlkJtPDWiBj04gHPVBXPF1dFOpUALgRnISSEDjJctNerOrNjZxOJlD0NiK NqxgzvJx8S80yZ7VUr1DxyY/xqbfyAl4a25LTVvBEiMGpf/Br9yqGrKmftTczx38A2grA4dVF RkBTh1Wr6irGYJOd5NWQz84vhE4G1nfGHzcVqTfGILRyn8FgH/Kb2R1wne/Xk1Ry+IV5DxJCi ajZxCG1NYeqslyua37jpl2YYUVJ+m0VYUJAMDCwSMtsGySr+Avzd9ySKw3RZDo1XoWnEw9z+R KnQ1Be/OKflcK145 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-cf): New variable. --- gnu/packages/erlang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 888a0f4f1e..0b9e89d134 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016, 2017 Pjotr Prins ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Nikita +;;; Copyright © 2020-2022 Hartmut Goebel ;;; Copyright © 2021 Oskar Köök ;;; Copyright © 2021 Cees de Groot ;;; @@ -26,6 +27,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (guix build-system emacs) + #:use-module (guix build-system rebar3) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) @@ -203,3 +205,20 @@ built-in support for concurrency, distribution and fault tolerance.") "This package provides an Emacs major mode for editing Erlang source files.") (license license:asl2.0))) + +(define-public erlang-cf + (package + (name "erlang-cf") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "cf" version)) + (sha256 + (base32 "0wknz4xkqkhgvlx4vx5619p8m65v7g87lfgsvfy04jrsgm28spii")))) + (build-system rebar3-build-system) + (home-page "https://github.com/project-fifo/cf") + (synopsis "Terminal colour helper for Erlang io and io_lib") + (description "This package provides a helper library for termial colour +printing extending the io:format syntax to add colours.") + (license license:expat))) From patchwork Fri Apr 8 17:03:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38431 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 86E8F27BBEA; Fri, 8 Apr 2022 18:16:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 5A55127BBE9 for ; Fri, 8 Apr 2022 18:16:05 +0100 (BST) Received: from localhost ([::1]:55054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsDM-0004ex-DK for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2i-0005qN-2B for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2h-0005aE-Or for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2h-0001c4-Jb for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 03/22] gnu: Add erlang-certifi. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374615901 (code B ref 54796); Fri, 08 Apr 2022 17:05:03 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs20-0001Wz-UL for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:21 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:38111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1o-0001Vk-LY for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:09 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M4KFF-1nd90d34Ov-000M8Q for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:02 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2030B66475; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:36 +0200 Message-Id: <25be4a7ca6f9af888b6a97f6ab03e2e3ae2caaf7.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:wVwGv0P6wHm/TEZxfzVAB+tZ5fN691DCCoqlNM9Aqgc4wDV0it0 oaHOyWPgK9Jh2GMj15ONbF4auuHlA4xcueEvlcYqwvPP32id3a4lEKRC4vPwg5foQYrTura 12qQOarGqbecQkKS6+v/Yt0puY9kUpdwxFLNWQ0x/kxB5H2gKqJA8FZVsEYu/lJ9+sT+s/J 46jfIy0eaAANGa2StClaA== X-UI-Out-Filterresults: notjunk:1;V03:K0:SAvZtJG63Eg=:e/zLqaFqcBTkWUDRdUanmv DS+BufF/0bDyQBmhMy0jGpykoj3N4yfZf2t5EedOzGci1eq3TiziZHMrWukX+bjpCDROc53mt KD6Oj0QqlUQZMK3AkEPQv5ANgcQG69Y5grZc1cQWle+8D92mY9q/Lp3CjYeAJEgxByTpBNOHi 8zUo0RwzqDm8mZ4t83Fs2vn0fRi7y/wcu3bStLnRUJupQlCgCLucbMzeQGbaSTTEkeqJWQo6p qsbCrnKGx2Mk8xrRhzVeRcOvHch3aENI0cE2HKqkM7hC9WxleQKtdyGZXxDmMT7EC4O+EhqqH lb30UaUvDFQUt9BMiJPSMovL68kprj7202bc+H4LPxVZFhqgNueOEFqwj3v3MhTvyjZb+WhCe 6vqelplIaJNraEIHtwaE0g4KKUs8c0MR0QJk9+NU7w/jI2bfgw9N9Z6RD+OFZNL/xnwjdJQWY by7BAUsd+hU2ZW7/qXzQpuby+uVgwW1bQuG5t/ZiEkUEYYZQ2wCZYWAmwNZCWCoeQbhpVPvAX xec3XQsCWWBqJ8FKk3ojJChgYa3bo31DzlN1Oi19pskqxjxyPaVmpOphLCJsyvQTXrE4rpmWX y8GI3+yviEjW1NunI6Fh27Tynd9cJ3fo/D7A8bbbblq7pl1O2JPKV8TGDQiRolBxIx3osQBWl K1gQL5KYLLGLTZD+bh6n51ixmqDiTR51AJ8UC6y9GtgzdO7+dTMoOybl0TFSiAwf1op6SKcSF Q0pt8s+S6fpDtDSM 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-certifi): New variable. --- gnu/packages/erlang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 0b9e89d134..95a18e6f18 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -206,6 +206,30 @@ built-in support for concurrency, distribution and fault tolerance.") files.") (license license:asl2.0))) +(define-public erlang-certifi + (package + (name "erlang-certifi") + (version "2.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "certifi" version)) + (sha256 + (base32 "0ha6vmf5p3xlbf5w1msa89frhvfk535rnyfybz9wdmh6vdms8v96")))) + (build-system rebar3-build-system) + (arguments + `(#:tests? #f)) ;; have not been updated for latest cert bundle + (home-page "https://github.com/certifi/erlang-certifi/") + (synopsis "CA bundle adapted from Mozilla for Erlang") + (description "This Erlang library contains a CA bundle that you can +reference in your Erlang application. This is useful for systems that do not +have CA bundles that Erlang can find itself, or where a uniform set of CAs is +valuable. + +This an Erlang specific port of certifi. The CA bundle is derived from +Mozilla's canonical set.") + (license license:bsd-3))) + (define-public erlang-cf (package (name "erlang-cf") From patchwork Fri Apr 8 17:03:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38422 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 204A927BBEB; Fri, 8 Apr 2022 18:06:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 ACF0727BBEA for ; Fri, 8 Apr 2022 18:06:51 +0100 (BST) Received: from localhost ([::1]:35678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs4Q-0007rN-R2 for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:06:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2i-0005rd-Hg for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2i-0005dv-86 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2i-0001cD-2l for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 04/22] gnu: Add erlang-erlware-commons. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374615908 (code B ref 54796); Fri, 08 Apr 2022 17:05:04 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001X8-7Z for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:21 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:44431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1p-0001Vo-Sz for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:10 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N8GIa-1nyvCO1WhE-014CMa for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:04 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3126C66476; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:37 +0200 Message-Id: <3d46f7da1d14db0cbab7ae275b4807bcae3b94ab.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:WElaN1FnyYBZH6jI7DqafRmXCV1VNW+PcSU7g5v9xS6NW0oC9nw 4cdIZl8UXnd4i4ZycLdCi6xC1M9zgNLA/FWMPRsry3Dbc2KkzVwSlV72v5Dp9x1CG3grbb8 1VAZgXx2BmVdzmWRcg8a/m4uUsD6Hc6E3sWJFw8gO7keUXKNjqA8cgZwz1Pw3c/w6QYeCmA /QesxwV2CNpzoDMK3aHSQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ta5FyhQ8X9g=:3CzRMvPPeywdeyKJfHnlsk j5gG9eeI9UDBxxSDYGzgFOyQtMk0sTkcstjnMtwIb+6hGt2SlfGAOJ8KGPN0GIMWYGkrNyyoC llHup8Qv5lCUVXseSPsJRoXdwe1AIcrKx7Ol2eNhXcrxYI2jrUF/ACr3MpOhj4xJOrBGesEhz mbYcU2sFUFmGDtVJGb05FfQ0BwwecTzHvwawa3/lNmibL37IyZVCa9zAbxWVNxm25ylRBqafR 0+jTHtvkyC8ZJqbOZK1STZO6W5851HjQk9Ys7oEPI/bzm+5qZubamDcbJon5uazIqaGKWS5WP YM7vjbx4VIyST56dPKhZl5RwccvRtbKn//AOMfChHUDPgZSTXFhQZyjJC+jPIIOEMKp/02sUg qOFBvPT5Ou6cSlQjW3kwfj5Wm6yAYAkIqeRYPSyDOgbLYigZjKeQdkdR6Lc37oVQYo32j4hpV JvanDiNMrICe+wVX2Ryajtv74CMQqYcLJy6Ii2olhtJfIdQQq089MPm+tN2HSjagNjyhGf5g5 9bbmok/1kxpE+6i4Vp4ToTm0n4btqkiwMAhS6/NZYuQnFAw1foRK3cgOxTZw+DnFCIpnNHjAB T/C7WvURgQ8ekhNF625bu5EGoqTVt4yBBcmkxfoGjILCNMwNdbJI1C7P3rdSpLyFjorw4Z0ie Jwlw8CFIRLRMwT3Z+sWbb/NycAgaQZSMKLp2SniB2fQPKNWF5gAXHudPk6Eiu6CESQCxcrh2D CPcpzDaK8NokuDVL 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-erlware-commons): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 95a18e6f18..34761a4d64 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -246,3 +246,30 @@ Mozilla's canonical set.") (description "This package provides a helper library for termial colour printing extending the io:format syntax to add colours.") (license license:expat))) + +(define-public erlang-erlware-commons + (package + (name "erlang-erlware-commons") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "erlware_commons" version)) + (sha256 + (base32 "18qam9xdzi74wppb0cj4zc8161i0i8djr79z8662m6d276f2jz5m")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-cf)) + (native-inputs + (list git)) ;; Required for tests + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "TERM" "xterm")))))) ; enable color in logs + (home-page "http://erlware.github.io/erlware_commons/") + (synopsis "Additional standard library for Erlang") + (description "Erlware Commons is an Erlware project focused on all aspects +of reusable Erlang components.") + (license license:expat))) From patchwork Fri Apr 8 17:03:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38432 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 0A2EC27BBEA; Fri, 8 Apr 2022 18:16:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 D400C27BBE9 for ; Fri, 8 Apr 2022 18:16:12 +0100 (BST) Received: from localhost ([::1]:55502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsDT-0004yJ-Vi for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2i-0005sa-Vt for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2i-0005e2-NQ for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2i-0001cL-If for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 05/22] gnu: Add erlang-cth-readable. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374615915 (code B ref 54796); Fri, 08 Apr 2022 17:05:04 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:21 +0000 Received: from localhost ([127.0.0.1]:35777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001XF-IH for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:21 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:59759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1s-0001Vr-D0 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:12 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mv2pC-1nuXTC2wnA-00r0an for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:06 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3B39366477; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:38 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:KAdjIzM9pPinzwLjW3vfgeCQfK8xp2uiX0qetdeLzVBXBqCYJjj t4X9tUTRg90NdnV7V4HaEDLlPlkXPa38wfsWlosEJm3D+Bx6aoK+rP+8bwW0ujG11ueUHf0 RcN+NrDe+qsMGe3ixNs4R87FIuZWP7zLNLtwhZh3hOkwZM0CAQFMrHFOXzQRnGkShir+VQs 0fspnG75PzM8RSiEzwJZg== X-UI-Out-Filterresults: notjunk:1;V03:K0:3iQqRsj1cbg=:yE5D2ph2naq8ukphcTPW/+ gF3WuY/WNH1GOjWWAc70YHQMuYRjqok0YLEOytkLHBlf3YEpOLUTSJ8cTIgXEHDLHqv1sVDNQ Vl2hLj3v39LL7MJ3aQyd5zzFC3KWsI6DVVJSjYbnqtdOEfIbgUQudoaoEZjfSAv6Xl+4Ge32d LZ46hHp8UFbe70KoMohwweVPRKeS+BZmrl/I/O1YKSh5zjjBSCraaF86MhLd7lwqWBXAyt2qo zCQqkWTorgTa9WZXxyCtwMzs9TtwFY/EkgWABTITmt+aReKJtfmWYh/4vGrownmbu6t056D8e rdiJugRbcJoQcQmjqZctCsq9YZ8/p+6llQnKTz0UpSCK27MT/9hz5TQbtn9DYxO+Cu5c5sLmV 5CjtdLb1B7j/mnjsry9TTiAvB+Pg+SB8s5MuBPC37MdXxMOPrHbxT2gGo3kEKLbXjRAcU5G1x W65VUH30Oyrp4fQJjYGdslhXZgZVpnkBFjGlPzArkI7O1yj1Og1IsK8jvlZIUTex4VDzFlIeb FQ8waRewaKUZoqBK1PsmQ1AXI/vg/rUYSqwnRReGzdH+pJ1X9Oz4G6vN6nQl3cScC1vQr/b63 68lx/TIm4iTmwP48LwvKIirg9rAOHYMJjVQumqcfL2+/gME/j/uyj5NXju9ZuYpbFJbNecSbj klxpuu9iXHtFRqOQXueGoQ7coa6whtquLp1hcc1LuivS/jvz39wkQpyf7O6HK/HhByDPzWG7f qIYdJeFawRRUy5zH 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-cth-readable): New variable. --- gnu/packages/erlang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 34761a4d64..faf6509a4e 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -247,6 +247,27 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-cth-readable + (package + (name "erlang-cth-readable") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "cth_readable" version)) + (sha256 + (base32 "104xgybb6iciy6i28pyyrarqzliddi8kjyq43ajaav7y5si42rb8")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-cf)) + (arguments + `(#:tests? #f)) ;; no test-suite in hex-pm package + (home-page "https://github.com/ferd/cth_readable") + (synopsis "Common Test hooks for more readable logs for Erlang") + (description "This package provides an OTP library to be used for CT log +outputs you want to be readable around all that noise they contain.") + (license license:bsd-3))) + (define-public erlang-erlware-commons (package (name "erlang-erlware-commons") From patchwork Fri Apr 8 17:03:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38434 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 E024E27BBEA; Fri, 8 Apr 2022 18:16:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 B370427BBE9 for ; Fri, 8 Apr 2022 18:16:27 +0100 (BST) Received: from localhost ([::1]:56436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsDi-0005cv-Ty for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005si-Hm for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2j-0005eA-4d for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2i-0001cS-WF for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 06/22] gnu: Add erlang-bbmustache. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374625924 (code B ref 54796); Fri, 08 Apr 2022 17:05:04 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:22 +0000 Received: from localhost ([127.0.0.1]:35779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001XM-Qq for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:36487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1u-0001WA-Oj for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:16 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MfI21-1oApwB3KxP-00gmQo for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:08 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5EF6566478; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:39 +0200 Message-Id: <79b9e17d9908b8b0b2d432e05b072d218f2e3f0c.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:L1pi2jAQjbDQpWvClX7zEIIZbfgEuNjXnOyE0RhBSHilAeZ4gtf AY4F8DglwIgU+J7FKeNQAuJX24XocRxEvvTk1hdwZsaFWXoKDT5NUneKEdGaJgUEBPx2+PF b7+KY1QtsvGj02cUogYFs6wpa3SHk7bOmBtVTow46u21LzwnaMewpagevdvRCxrAwiLj6lC duHr9LA2P3jjaIDXYA5AQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:uDSZmIOOL+I=:ih3zUw7nZt77udpUz8fwyx dXAV79O3IjROYF+SK2GV/a4QQgWM6P5JCGKgKcNk3zWW2XxIwxdYjo89O+pj0La9OBELqZ25E wg27P2SyooZoWFIAQSmRkNp7e7+2DV8nXQpQEwhWA02puYQNEA3mZDPFk6jQRn7NxL5GPKQkW /aG36xCsyIMkUnPHKn52/QwOqtrk+xjCItzUI3YwOex+q2tTiX4s3wIabKAeML2UydEOVDVMe STiC7uegCOvL4jLlpecHd8bXTqz6e+fGZBaFCQbFoZXkD4IM4v5E8kDCU1gT3KMTL2fPbEStH M2YJy3X8QFJoogDzOawLytzj2nbIcy20MmrgGARTb3/6VkUbqfsGkSvqDqMKF1Qct0ouxC0PB Tcy5a9E/K7yBsOtSnSQ+ciTQ2YxMZJgbgXgNUzLuyaun4YKFARkSC6LCkV9y6+KOMqXdDkYUn M7FRKYAbiz1SZZHlQjA2RgkBzm86ePAZ+7to7oc7RZjYg+OFqZIum2OGOouc/iG1UykVUgjmz tkTOGeJ3Fcvz/hLAX4nyASbUTVk65ZIYGhAcREXZH5sbS6R/nO0rwhr7n92jFbGdLiqstWm0M D8iOo5iPN7liYyGGou5ehjdRbscqs/CTxZNVMXpod55V0yRa9C9p5vuk7EMDvOMr8r1gKI1MD ZtnHIE0pSI7XjLzVJHT9v24XAumJ4Ysb3zpHd4chf12KqJE5cOUe7oDWeTmExzBt/syx6KtH2 x523dwO/g7onD8pK 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-bbmustache): New variable. --- gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index faf6509a4e..1682521ca1 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -206,6 +206,38 @@ built-in support for concurrency, distribution and fault tolerance.") files.") (license license:asl2.0))) +(define-public erlang-bbmustache + (package + (name "erlang-bbmustache") + (version "1.12.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "bbmustache" version)) + (sha256 + (base32 "0fvvaxdpziygxl30j59g98qkh2n47xlb7w5dfpsm2bfcsnj372v8")))) + (build-system rebar3-build-system) + (inputs + (list erlang-getopt rebar3-git-vsn + erlang-edown)) ; for building the docs + (arguments + `(#:tests? #f ;; requires mustache specification file + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-more + (lambda _ + (invoke "rebar3" "as" "dev" "escriptize"))) + (add-after 'install 'install-escript + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "_build/dev/bin/bbmustache" + (string-append out "/bin")))))))) + (home-page "https://github.com/soranoba/bbmustache/") + (synopsis "Binary pattern match Based Mustache template engine for Erlang") + (description "This Erlang library provides a Binary pattern match Based +Mustache template engine") + (license license:expat))) + (define-public erlang-certifi (package (name "erlang-certifi") From patchwork Fri Apr 8 17:03:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38420 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 CDB9527BBEA; Fri, 8 Apr 2022 18:06:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 A368B27BBE9 for ; Fri, 8 Apr 2022 18:06:24 +0100 (BST) Received: from localhost ([::1]:33964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs3z-0006br-QL for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:06:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005tM-PM for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2j-0005eH-J2 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2j-0001cZ-E6 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 07/22] gnu: Add erlang-getopt. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374625936 (code B ref 54796); Fri, 08 Apr 2022 17:05:05 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:22 +0000 Received: from localhost ([127.0.0.1]:35782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs22-0001XT-2v for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1w-0001WH-O7 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:17 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MF3Y8-1njRcB0TaC-00FWaG for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:11 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 73B9866479; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:40 +0200 Message-Id: <3bea95519470305cd6257097343b78006a7d1d5c.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:UoOI7k8mWzl4exTxvfMfdYsXcodv4V2pkM4K3oYH7PURE5A6ycI zVQVcfix1+uaOTFeWdDLBRa5wikzss/t+AUVvzwTmQDxMmkAnlA91Mh6dxKG9XgeCTHKlu9 Y1eUsPPSHqLBsibPHgRgSOvvZtusRQPnXd/ujAF0SCESqXk4hHGS4YSpePdQBT3uujUJKAx oQxMHcc+A1E5BCIoxSPMQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:us2m8H1W/G4=:s3UZPBPHNyVDEtUsgM6hbD oJ/aj0wHzNlAIMqrPBE7wm26K82m711da7VNMUlzhThxP24KWMEndlyQhw4slVDi3I7jHDzmI S72Rsnh4hi+FotiPKUWQ/yIsbUr85eNHC8gNvCk6HkLzL2y12bxhPsff1dLUNuYqyToA/81TN 8UJ1xpZA74APbgbMHkxkDux1xvfPkdX7cckgi9T6aXoQjNn1ug16v15JSvydaBoRQ5Gws7dSV KWkpl+Uga6wUaqDJgcYv4QdNgTInLVOg2ec1Yi69biB8D9L5LSCXaVxYgicE5QvrwygpqePoL FuRkofEId8Ds6he5jERREsNWoP+k5PR9vYOFyqrUjKx+XaR/l6nxSephBThBqlVyainw753u+ 6vOIhznVwL+97Mn5QGe2szbqHT7mVx4lXNn1DI+3zu09J63PzCX3FPUjQAKWR2nQ+Ku8E5XdG Q7onFxJWO7+OgofFBdlLLeKyGVnKQsKyl2Yh8uc7SBeRSYJhgtqGoDPDDrKW36xUZS9Km8a4L jgfFnFEBCfDUAziyLrQSRY/cxUhQyFdE+LL/hn/xeGGoXhChgTIdeDeck7MmETNNmJqhyc4vd S23EN30lpqwcKlKLpIDs7FyVzq4h0R+7z16t3CHvBnPMQkv18nh30SNJyGot23EllI6ELdM0C 9RltMeUI7JYGi1/r+SjX7G7loYM7Z3aQRXQqWfR0a5L6GWqiuWfJ46Oiw/07wfLoKMRJNNNus M49NGalpovIQocRQ 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-getopt): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 1682521ca1..af79e2cd7d 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -326,3 +326,20 @@ outputs you want to be readable around all that noise they contain.") (description "Erlware Commons is an Erlware project focused on all aspects of reusable Erlang components.") (license license:expat))) + +(define-public erlang-getopt + (package + (name "erlang-getopt") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "getopt" version)) + (sha256 + (base32 "09pasi7ki1rivw9sl7xndj5qgjbdqvcscxk83yk85yr28gm9l0m0")))) + (build-system rebar3-build-system) + (home-page "https://github.com/jcomellas/getopt") + (synopsis "Command-line options parser for Erlang") + (description "This package provides an Erlang module to parse command line +arguments using the GNU getopt syntax.") + (license license:bsd-3))) From patchwork Fri Apr 8 17:03:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38433 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 912EF27BBEA; Fri, 8 Apr 2022 18:16:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 5B96427BBE9 for ; Fri, 8 Apr 2022 18:16:20 +0100 (BST) Received: from localhost ([::1]:55944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsDb-0005Gl-I9 for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005tN-Pr for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005eI-0V for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2j-0001ch-SF for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 08/22] gnu: Add erlang-eunit-formatters. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374625943 (code B ref 54796); Fri, 08 Apr 2022 17:05:05 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:22 +0000 Received: from localhost ([127.0.0.1]:35784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs22-0001Xh-C9 for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:46695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs1z-0001WR-2q for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:19 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N94uf-1o0qbq1r8x-016C46 for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:13 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8A1746647A; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:41 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:2tcKvJKVWSUuaqzLU5BevueuvypAZFNZnvzd3fjziGJCJ4DgEFx NWGx1eeAMOGkkH/RKpTP4wKtabTlLyxUsRZJlpELqo/o1VYJB+p9vcGywVV/8mAD+Iu+uqc 2b347Zp+3e30Zc0hWZMRya5CS79KSkiWIZhSK9CImRFylWq+AXzDF7ONQmPiCBArF+3sHXI ghiAdGFIRcPtALRLbM8Fg== X-UI-Out-Filterresults: notjunk:1;V03:K0:WvwqHdYoTtQ=:fClBH9PdWg1OfVnMINZUZ+ nlakdpsZziykJOFdje7QbvqJT2KMiVmfG/3EBcfsFF5RJ1QLbIO3uUPD2490fLr8jGxi26GDS b5QwQBIPJCVsP7wB+dPKIU+QAxV+7hZRKtet25bnzYNNoVsIHO3ymZipnuGR0L34W7zmqc3ab 3ifwSuL1FxcFaSSJgm5fEL1X9yV4C60Bnv894MgMQDyVzpnRC5AckqAhDoT3ay8AEOYqivJec fAmrHTmNnW+scI4G4jTB66rGuSjz+ITkgarEs+JNg2Dd3YCsto2xhi7pw8yTRWi+08VOObyYD 8CnnGMo4/dSqCx7ugtDkDtDdhNkeOBnKu3lpaaJrHY7xTJupWasahUu74t9IU6pTnOWafQaDF zcLJmJmGJnzDdjzmFJLGF7ekkz2doodUfIPqoKUVyn4/byD3yfXG2WxfNZVYQxFwBh6ovqh/Q XGTaqhUrhH3oUjvaYm9J+9XcYSLzx/Ik1br0JmvG0G3KTn4fAjUGbgwQNrdb3IJW5ebbnFcdx KPbdCykm5GH3Fr8kJONLwPELS5oulMNsilq3s//V24kpkbMn4TNf7DtQapNlcaylFWCKvRcxy YKBG+VKh8DJhElJsjMvyIhYP06T9wE9fuKyAkY1Eu31zJdNCc+Cxst4iLLMsv8LS3HxhYfuqd OM73Sb2SzxgO2DjEO9MZVXLJT5Xngqq0P2ZX+H8HIcSNnWvzekGw3pi3pCBlavodx2Cl7v8r3 YPuf9RyYVFhmc1Dh 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-eunit-formatters): New variable. --- gnu/packages/erlang.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index af79e2cd7d..154c11f207 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -327,6 +327,22 @@ outputs you want to be readable around all that noise they contain.") of reusable Erlang components.") (license license:expat))) +(define-public erlang-eunit-formatters + (package + (name "erlang-eunit-formatters") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "eunit_formatters" version)) + (sha256 + (base32 "1jb3hzb216r29x2h4pcjwfmx1k81431rgh5v0mp4x5146hhvmj6n")))) + (build-system rebar3-build-system) + (home-page "https://github.com/seancribbs/eunit_formatters") + (synopsis "Better output for eunit suites") + (description "This package provides a better output for Erlang eunits.") + (license license:asl2.0))) + (define-public erlang-getopt (package (name "erlang-getopt") From patchwork Fri Apr 8 17:03:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38440 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 1BEAF27BBEA; Fri, 8 Apr 2022 18:18:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 DB79227BBE9 for ; Fri, 8 Apr 2022 18:18:08 +0100 (BST) Received: from localhost ([::1]:59574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsFM-0007q7-2A for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:18:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005tP-Qf for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005eM-G8 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2k-0001co-AV for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 09/22] gnu: Add erlang-providers. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374655961 (code B ref 54796); Fri, 08 Apr 2022 17:05:06 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:25 +0000 Received: from localhost ([127.0.0.1]:35787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs24-0001Y1-Lh for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:24 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:41673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs21-0001WZ-Lk for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:22 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MirfG-1o8vae0J1A-00er5o for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:16 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id A59046647B; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:42 +0200 Message-Id: <41ad6588ef2b9ab5fec7fa0229c60852c92e9b33.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:wCa8KAtQgSJGSjPWLdk36/BTV/Skdn3zs0ikfMcZqq8arDJOGKx BlexJc23v+8j8CwOUrKDXgDJ3T/oHVEculFqBlziShGMWs0RHKyX/GgQO8tPogx7azaOaR6 b+i02ctBQ8BsAUDepBS3Wk0w9FBt6/So2CG7xdAIjPXfwRT4x+m8DPkMnI9zzWDi1W/hs9l 7Fg+3zz3UDYPbUS5qfX9w== X-UI-Out-Filterresults: notjunk:1;V03:K0:euTZ+zLkftk=:X0SpoF9IheU9EQL5nVTrDE BfPsGjrI+RIMsQAnij3rDhpipdwvWXQb4ziDrgZFeMYX+O5l5hr7rPOeIyrXLJ7YYX7piaDEC DrQfnPDjYutmFVCvgthzWBjUZaoELkbRUKxp0ujsrj+RsVkv079oLaZ7fZXhsEviEm6JHTpHO 31nZcCGeMeyFEsyDSVIrZ/L8ou4WKum7nCRDQYSZ3OsLIgtvqeHUktBkuh/nabZleXaC3jHhG a+05cDl+m462Yn237oxaJcZZgIMkqjReNohwbcFvMJ3dwiLpRdbs+IIAzrg9T8e84fvhZeZnI sMee/Zcb8EUn/FxBgV4NqaygR81HWESQIAmw8L9v812U28yD7drf3kHhJaznVAjirlYzPhDq2 GXTk+44kPuBKsghG6Ica4eDMRFKj3DfYOyot5txiy63ZmV95ZIOpqoWjgmGmDO2VI9gv8yBSJ 6aeeTvbcM2kvrF37pyTD/LXIm4WoXVAh4nq1ago+JyWmYOozG/Of3Y61Yn2nZWNM/u7noj5W3 x5CoOjtYdwbIjeARgcteQhL/10HVs7qk5jaBxqHbOPHW+D6j70RxsAdAHF3eU2mzGfM8Fd0r0 Ykb3LxrWdbJ8X8JbUIphmFuEzg9jo1uBMl+AATdc2afZhvrlsFFlFf8z90k4n4ZIUVWbs5hBN 9IFCMRRoQZABWR+G320YKv5Ip8SpJZdbxljlbzFMpEMZUv58CK+pennybjBQGWhdrfrcywNwh KrS/GX/f67MuaRYO 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-providers): New variable. --- gnu/packages/erlang.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 154c11f207..85e491bb1d 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -359,3 +359,21 @@ of reusable Erlang components.") (description "This package provides an Erlang module to parse command line arguments using the GNU getopt syntax.") (license license:bsd-3))) + +(define-public erlang-providers + (package + (name "erlang-providers") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "providers" version)) + (sha256 + (base32 "05y0kz3xgx77hzn1l05byaisvmk8bgds7c22hrh0a5ba81sfi1yj")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-erlware-commons erlang-getopt)) + (home-page "https://github.com/tsloughter/providers") + (synopsis "Erlang providers library") + (description "This package provides an Erlang providers library.") + (license license:asl2.0))) From patchwork Fri Apr 8 17:03:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38439 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 07B9127BBEA; Fri, 8 Apr 2022 18:17:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 C72DD27BBE9 for ; Fri, 8 Apr 2022 18:17:52 +0100 (BST) Received: from localhost ([::1]:59148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsF5-0007Yx-VA for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:17:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2l-0005tR-5b for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2k-0005ed-TW for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2k-0001cw-OL for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 10/22] gnu: Add erlang-parse-trans. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374675976 (code B ref 54796); Fri, 08 Apr 2022 17:05:06 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:27 +0000 Received: from localhost ([127.0.0.1]:35790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs26-0001YK-Tl for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:27 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:50021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs24-0001Wr-79 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:24 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N9d4t-1o0Idj1jHh-015dmO for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:18 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id C02CC6647C; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:43 +0200 Message-Id: <02b2a5809c945daae97889d7e0469ce9cc74a2fe.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:A+RgvNo9NLWgXwPtQO7LbuVrwQGlstV0rzSDD61Er4B/OG3IhiQ j9egVDNdvU+G9sR8WakSubtqIBfUrd9V/qSLahkrV6TNeOWApTp1wvxbrwUPNG3v/oU1px6 s4MKDuq6sR9SqwtRf/YhA2zYGYFs1deu8WRDEcL/trPQKrfDS7tdgKI+Q8RP8iza0lkqTVL GMMcFFNsIEYbusZgNzPdw== X-UI-Out-Filterresults: notjunk:1;V03:K0:RInCUQC0AXk=:YfGtc222j3ASO6K/KKR9jq AmFjjtVcDj1wPB8Y3lWdVoKUfRiKGhsR2vm2gEPcPlUaKPSbUWI9vGcZCsJcAizm0KjLNikAB pv/VFd5Ik7cv7aH9ISeizMOfmdBtzvhmOdD3IRaanlLR3TTe4X+G4cWSE9QRzk1gWyTNg18X0 XW2lNsbzdLNJ0mBBgQbt/HLE+Oig69tFhrjRrLJdptKBFr+ZCNUS68EmAGulJFyC+BLm0O+zK 8KguaZX6I+A7GmVS491i7XTXQl5TCPMnoMl9gTfCSBNOfwkLqOhv0ec+g8/vz9t9zyxcYAWzt Pseb4vIWvxF1UEVviSuugp+ghPkbiHemeT2lO8oIctSiSVTQ5oQNvp2YNjENHP6e3B90ny0fR 6wwpzf5LqzIpmCk2DPR3V5UWknuj6iY53fYcJ+TBVB8Es7zyaxULXMfxyRFpjMvtJxwkzsUVJ X7Q+qDbQYVcZ6EbUuU4KO1JqG7FReEkC0Ojv2DTZgkM9lDjbwKbWbFMc3kyNI1BtL34ggi0n/ wM7EeCU44ChxNw+5NVMTOqu17l9YaQN9o+8qy0AUT5rsqDKbD1L1sLixdMOsDQVTGZMoQvnZa 6qLp0HsSF01A+1z7bnbR4nZiO332tWXa7bey/AhvyDUY9Srvt+Qn3SV0MEzYO5dASGK9UnOHc TijkMenLncvCMtH7LVaAibD6Trz2RSM4M/6h6zFKgsII14AWvjBabEiUrVEIhoH/jmy/vvLwl aLIWXPAuO0yZ1SgA 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-parse-trans): New variable. --- gnu/packages/erlang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 85e491bb1d..fc4b6f47d9 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -360,6 +360,25 @@ of reusable Erlang components.") arguments using the GNU getopt syntax.") (license license:bsd-3))) +(define-public erlang-parse-trans + (package + (name "erlang-parse-trans") + (version "3.4.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "parse_trans" version)) + (sha256 + (base32 "16p4c2xjrvz16kzpr9pmcvi6nxq6rwckqi9fp0ksibaxwxn402k2")))) + (build-system rebar3-build-system) + (inputs + (list erlang-getopt)) + (home-page "https://github.com/uwiger/parse_trans") + (synopsis "Parse transform utilities for Erlang") + (description "This package provides parse transform utilities for +Erlang.") + (license license:asl2.0))) + (define-public erlang-providers (package (name "erlang-providers") From patchwork Fri Apr 8 17:03:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38435 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 863D227BBEA; Fri, 8 Apr 2022 18:16:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 5CEDA27BBE9 for ; Fri, 8 Apr 2022 18:16:35 +0100 (BST) Received: from localhost ([::1]:56880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsDq-0005vC-IY for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2m-0005ta-JG for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2l-0005ej-C5 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2l-0001d5-6K for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 11/22] gnu: Add erlang-hex-core. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374705995 (code B ref 54796); Fri, 08 Apr 2022 17:05:07 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:30 +0000 Received: from localhost ([127.0.0.1]:35793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2A-0001Ya-3f for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:30 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs26-0001X6-AK for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:26 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MPXpS-1nHMtq32gs-00Ma7X for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:20 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id D22B16647D; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:44 +0200 Message-Id: <8ed9c12690957e747a4a46558921e21e12e964db.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:h6LbBgnKIzmai4T0vuyXg1cpPaqbh9Nfc81s5ReTmXOEVM+h2M6 u3tqx6OJ1iBs8G7YUPoix7Df+KPN0GEYV382XAR+NCjUTl5fSsN9to6h9MAyIiW14ajv2ug zide5gpEi+ygD5WxLhFAKYAHF2lcr5fS/s8LQ1nC6CTgZcvMM8Cud38kjKtsI/tbJ84kcBX 4+oc26venqL96fGM0GBCg== X-UI-Out-Filterresults: notjunk:1;V03:K0:S3Es5sIflr0=:s6jwyUpIhB5PMLWhv0sZTF Cd0SwNjgyXwD35+R5A+sPI7mqCCkXVTBOJWjznesqahBZeGxMl0W0TpX+00+A+lIN7yNRaKYr t9iSNqVqdSR0fwS/cIU8hR7YsXMJugTV9/DEwUB7h/4JLrKHYogFXgemPO0PDWjvr5c79s7R1 FnjNgBUtc7BDCI+6C8QaiKOBeLTBfofKWXhdaeCcket5jQPvkmJ/szGjnrodUbN4QS+/CfTyV 5SXfOK5jsElk2qseCqPWMR/xP6+50PKK2PyMVRMKsOTz6MCwXEoTXMOrBWK6TwMiRgmm+HWXy hSLlSwAWjxeyxU1hW029Qv1ek79DQivIOwcYhz6xA+t58XlOogM9T1Mnb9IxXr+3WCS2hvLa5 UW7IxBaALrxYQRbjFy6o47v55bT11/MXWYkk/sBsbLzgblJwMAvgYUxso6frZ9XCr8hy3NPoZ OpCpQnKv39IjYXWKZVOT4qSBwNV/d5TkixNf5djMtIrj3yqO0lW8EQYRJg9MB8SGbfxwZJtSY J+Eg5m2123V5LqZvn5defSidHKYR9McOTs8deM5D8NHaFJzbCib72SYkZIWlwqVdy3W14MMxL DNPCSrSVSp/PykJzEL66E0On3tywmkIm9kf3R8wP062sluEdC6DFwCAyHticaL1kZImjz8ZFf UL2uD1zfXsI6ptgFY25vEkPJNpjtnX1MGJzKhwrvWZgxX0blYv5KfUg8U8BWa/n4VuLMbWtXQ JsX/MERevUk73cy3 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-hex-core): New variable. --- gnu/packages/erlang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index fc4b6f47d9..826bc67d40 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -360,6 +360,32 @@ of reusable Erlang components.") arguments using the GNU getopt syntax.") (license license:bsd-3))) +(define-public erlang-hex-core + (package + (name "erlang-hex-core") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "hex_core" version)) + (sha256 + (base32 "06p65hlm29ky03vs3fq3qz6px2ylwp8b0f2y75wdf5cm0kx2332b")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rebar3" "as" "test" "proper"))))))) + (inputs + (list erlang-proper rebar3-proper)) + (home-page "https://github.com/hexpm/hex_core") + (synopsis "Reference implementation of Hex specifications") + (description "This package provides the reference implementation of Hex +specifications.") + (license license:asl2.0))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans") From patchwork Fri Apr 8 17:03:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38421 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 61EDD27BBEA; Fri, 8 Apr 2022 18:06:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 2CE2927BBE9 for ; Fri, 8 Apr 2022 18:06:37 +0100 (BST) Received: from localhost ([::1]:34760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs4C-0007Ar-AY for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:06:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2m-0005tb-J9 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41939) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2l-0005em-Qj for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2l-0001dC-Ld for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 12/22] gnu: Add erlang-ssl-verify-fun. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374726014 (code B ref 54796); Fri, 08 Apr 2022 17:05:07 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:32 +0000 Received: from localhost ([127.0.0.1]:35796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2C-0001Ys-Dw for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:32 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:45517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs28-0001Xw-LG for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:29 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MGi6m-1nhniX0Cna-00Dnz9 for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:23 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id E2BF86647E; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:45 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:J3husfvO9xBxLuQ715xEcaJCYgbrINmcUdW1r48dtbb5qcrO4cx iXcOGbaWmis/xIRYJyuo7bl8T0Lt1TFwdpN8vCh6mqeb7oLknB0Y06mG4Y6lEf6JdxzEYYr 33uhylTTbObGF9VJcxcKX37aa31/uiN3Z2Zi+njC4EW57o4gWYaAZjpMExerXRqPyGYDpZs jrk2muXj+bki56oT4OgTw== X-UI-Out-Filterresults: notjunk:1;V03:K0:T1R9CaNsMBQ=:TkmvGd23LWkWebxdII7Dx0 CHpXkFcygxHmL8lYa4ehADipB+GwcymhfUH5UE/84q3CevUFvSRqoeCMCK99FNXiQIPFhgIPh 9HTQD6BzQAsZ/iX4Uk6chhDhw0LiotkOmEB1l6HZqv15UpjXBsHD0Q3ziAr0Z2mxHZcAtQU6j oVako6Loz/P8F5zIl8RyZitzHdrin45EMa8NjR1cau6aPLlI9iQg+fpipka3Lr97QwrAZHNVb LGJkc7qiepqTSabh5mItYDb4b2zxRIVlrqfWqt13BSQWW0rS2LdakRPFodoAgB4ANSmiJRtUf yzfzh7zX51kwmzLz/vab4XTaqQuccqaJIhu3ZNVubuKZnptEgjKGvCpTFsrd22aXkLzRMdoUf cu58giuSRlJbNyAAbbfzsOiqm+tnwKw8OiWFON+KeLUpL9uwj/AmN7WUkP9xxcDJqTuawYszn Hc68fVIN+CuaSCfsfRWEid4/s8hkAQEDum+Ett6QyTnDSPE0qwPFCqC5FVU+H3Lk+KKdUAtwQ 9nQVXe5InO70oj4QOGzhP9ubbfh6w1ZEozngu6NclrdO7N/tXg8Y4N7OVySb3CwzNfzeM3Oo7 SoI52sd4qWqdbA2Avu0CDtWzMYQR8lB6FvkJDecQhxiD7ozbtQKkElbcp8o8U2sPVcbGvaSTs ofqvgivteeqYlORz5a8yyLr++IVa2IN/vOFNSPl0BQKYgfKJGHIB02rZCx50VuxyulyZNo1Qq WfYtgT2RT+8S/8J/ 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-ssl-verify-fun): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 826bc67d40..a7e63db0f3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -422,3 +422,20 @@ Erlang.") (synopsis "Erlang providers library") (description "This package provides an Erlang providers library.") (license license:asl2.0))) + +(define-public erlang-ssl-verify-fun + (package + (name "erlang-ssl-verify-fun") + (version "1.1.6") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "ssl_verify_fun" version)) + (sha256 + (base32 "1026l1z1jh25z8bfrhaw0ryk5gprhrpnirq877zqhg253x3x5c5x")))) + (build-system rebar3-build-system) + (home-page "https://github.com/deadtrickster/ssl_verify_fun.erl") + (synopsis "SSL verification functions for Erlang") + (description "This package provides SSL verification functions for +Erlang.") + (license license:expat))) From patchwork Fri Apr 8 17:03:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38436 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 569C927BBEA; Fri, 8 Apr 2022 18:16:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 267B327BBE9 for ; Fri, 8 Apr 2022 18:16:42 +0100 (BST) Received: from localhost ([::1]:57322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsDx-0006DW-9j for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2m-0005td-JS for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2m-0005eo-9G for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2m-0001dK-4N for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 13/22] gnu: Add erlang-relx. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374736020 (code B ref 54796); Fri, 08 Apr 2022 17:05:08 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:33 +0000 Received: from localhost ([127.0.0.1]:35798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2C-0001Yw-Lk for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:33 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:58703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2B-0001YD-0z for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:31 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MfHxt-1oApvu1qO3-00gmyk for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:25 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id EB3396647F; Fri, 8 Apr 2022 19:04:06 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:46 +0200 Message-Id: <64926e421fb4145966cc13c57869d13ebf33a1d2.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:65nt7O7X/XRrEmz3ed2xGtG6ILYncBrl8yxI786HqI2LO8KIetK MQ2kcnyvfgZWVHkq4o3EXHWCKQEkZ4KPdecGsz7jFipPGZkiI1jvWipRoxNGU7Hf1h7VzbQ vyByc4k2UCrp3u/xEIAt/bnmZXhRZjQJ+2hTewZAITqoFyutSPW149C7mV+btcncxKhsiqi rxHJw9VVzzmHBnWVezRnQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Z0H5dw5zT74=:vkB1UXXPRQ7F9yM958B/zs xAPKW+O4U38b0u2AQWt82kR6enD9+K9SAyivbJzrBlw30+Rj7yb9TvLIMam+kfhcnxqrn/C5+ 87Bvsn38/CRn+jHd1XIkqUOwVO00jzQX9xaEdex0i/Wpn7MvBSBIPGaSpJtaYEt7s+wAAeCZ0 MMohCFGVsZc5jD+awyxCg3WIiOFECg9h4zVD7tiy/8wINTCr+TaksycaVUQVGMGcgo3VcnjiU Cf9XbBm65K5uqAoeDV8g5/mdWhQExclGmWEnNKrPQKrEmeH1CrZD0Vyy8VpimPInz/RvG4VJr xLpXMrZCEYgXDMO/VtRobxtGdzV+FDXMJGpTWwireLn5mtkc23kPk6xSGsVe1Ax7O8Y2MtUCk ObQbiHWyVa574m1mm0R4BWww1tzxfwoYjn6WHkVZFxpEAletkHySbyMfLmateqqFnQtsprsv/ jaJMICe8W5SAdse/Emy/MYnHcoNGygzEMY4siW7eA7a9dRvTpy+VYibv30tCpaBTKqU9rOaRn G0z7RUEh6WTE7NPgHbRlddR6NlSR2d0VQx4BhwT+HDgRyaYFb4CDF8tIPlLp9FsnEQYRm86Rg jJZMgAYsXUCvvMBbNmSITBijGo5rv/h+csF8BLIHvrxgNpce4yWrHUmBqi4kjvLStTNxxGg8s aiQZNq4SdNZ5359CiEOnx5oxMry0QXfOdXQ6N/IZhU36howkmYru5ggnaaJHhcvDEPjzkj559 H8I1IfHNG2lbcsR2 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-relx): New variable. --- gnu/packages/erlang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index a7e63db0f3..626043a1b5 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -423,6 +423,28 @@ Erlang.") (description "This package provides an Erlang providers library.") (license license:asl2.0))) +(define-public erlang-relx + (package + (name "erlang-relx") + (version "4.6.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "relx" version)) + (sha256 + (base32 "02gmfx1vxg9m3mq4njsqhs4972l4nb8m5p1pdcf64g09ccf17y1g")))) + (build-system rebar3-build-system) + (propagated-inputs + (list erlang-bbmustache)) + (home-page "https://erlware.github.io/relx/") + (synopsis "Release assembler for Erlang/OTP Releases") + (description "Relx assembles releases for an Erlang/OTP release. Given a +release specification and a list of directories in which to search for OTP +applications it will generate a release output. That output depends heavily on +what plugins available and what options are defined, but usually it is simply +a well configured release directory.") + (license license:asl2.0))) + (define-public erlang-ssl-verify-fun (package (name "erlang-ssl-verify-fun") From patchwork Fri Apr 8 17:03:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38424 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 93D4027BBEA; Fri, 8 Apr 2022 18:07:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 68D1127BBE9 for ; Fri, 8 Apr 2022 18:07:24 +0100 (BST) Received: from localhost ([::1]:36544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs4x-0008QR-Ia for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:07:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2n-0005te-2Z for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2m-0005fB-Pk for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2m-0001dR-K4 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 14/22] gnu: Add erlang-edown. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374756037 (code B ref 54796); Fri, 08 Apr 2022 17:05:08 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:35 +0000 Received: from localhost ([127.0.0.1]:35801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2F-0001ZJ-2T for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:35 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:57237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2D-0001YS-Dg for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:33 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MjxW4-1oNA9L3BIu-00kRaE for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:27 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0537766480; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:47 +0200 Message-Id: <69b9c4486b710432fa7516bb5f34ce2841d2ebd8.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:AhGJpcgA9q3lFZ0NzAcn5yGYnwzSGJslhsDdtlJfAMvIxmHH+9a l/k9KvvGajVU8SVxiF+Ueakk4+hMBDu8Kr3jZ4dsyneepBwP+vm3wEI80KVcH7jwAIygJzi OFNRDbw4Xq1CjhJDII4OxkqdSkJex1q7I5IQK4nKxHXGfcU7hOn3mgWJIEAik64HlQIbmAY sM99MVa0uvZVGa2wJKzgQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:WQjjhrKjGbg=:BxImKowU/UZziIET13oUVe /OZhtWf/jIzE1t/g4hfVmzR3kGsGgGVvTLe/xhNolN6LS91WMc3zi0lxbnHXZjkb1TnT2NdWF qccqMIEPGFpHKMhAPk3uNQMxEz81CCjpTHZ6J2S2/+HrcMVIWVd+Gk2GXBU/EJXmAtxsCmiME 8q6q3ofw1kSAe1ApObjy78E3uW20XYJzt3mgKyhEdVppTkHQOF9TdjkEeuQ6WpBsJuHegDBjm pCtydog3ONCz4PMhsAM9EfqKxrLG5a6wXyVAAtqPFEzRGYU/mt6FTFLQqiC1C9C/dMLshYdcm Di9Rc0P0PemWzRfuCnq3n0DD25nrNoCf37BbDSH8P2Zby9Fv4QPR8O3kFpNq4zqrs8CnmIGuw /aY3fPu+7K8NFl7sNTIKiVRmmbcJQJQKQr9HogJlWjlQ6FFvf0VM+EDDsqUnfE2LfFXHYE7Lg 7j1VBC0G2jU078lgrqBbUm5H1mBfyAGs9fIwzUVut0/7bZ3W9Lg0RFIOFRbMxJi+hYyF0IWrx XmPM+MV9U2DAvpbSN+SKIAGLyIbLexKxjo3GXzI94WqjWYOMorj6lU/qtDZCmL/9jnJ03PgvW wrAMnMURmCf6eoElZnAElUgRMoHZJ91s3sTjvNowHAigBt87vMqJ2QYGwg4Bq0LGj0DFHv8YP YUfo+UBqlO3SG6j+vIkYHDihPZVY6k0F9siBhEb84kl3QcDQY/nX9kBtUHebQIkEC1TClrbHQ gaI3m7evoxRrez/S 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-edown): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 626043a1b5..1a4ff36abb 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -300,6 +300,23 @@ printing extending the io:format syntax to add colours.") outputs you want to be readable around all that noise they contain.") (license license:bsd-3))) +(define-public erlang-edown + (package + (name "erlang-edown") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "edown" version)) + (sha256 + (base32 "0ij47gvgs6yfqphj0f54qjzj18crj8y1dsjjlzpp3dp8pscqzbqw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/uwiger/edown") + (synopsis "Markdown extension for EDoc") + (description "This package provides an extension for EDoc for generating +Markdown.") + (license license:asl2.0))) + (define-public erlang-erlware-commons (package (name "erlang-erlware-commons") From patchwork Fri Apr 8 17:03:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38427 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 6EFA327BBEA; Fri, 8 Apr 2022 18:07:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 387A427BBE9 for ; Fri, 8 Apr 2022 18:07:58 +0100 (BST) Received: from localhost ([::1]:38512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs5V-0001Kp-CS for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:07:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2o-0005uN-Lg for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2n-0005fK-9B for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2n-0001da-4P for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 15/22] gnu: Add erlang-jsone. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374776052 (code B ref 54796); Fri, 08 Apr 2022 17:05:09 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:37 +0000 Received: from localhost ([127.0.0.1]:35804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2H-0001ZX-8j for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:37 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:35199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2F-0001Yd-M6 for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:36 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MzQTm-1nq9ks0LdA-00vQiY for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:30 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0DCC966481; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:48 +0200 Message-Id: <1de6de372360203b61ac09b4486c0ff6a79bc5df.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:0yNWgNrF1as2JGp4WZxP4LpBxEXJmtwuosmVs7FuWeeOPCJr0vJ rYB4GRjYtCaxu3NHgfGSoFDGyaz12YN+ZwUQx0oT+aJtI0pz11dI+jbJW3MTnUdxQMhAmDr s3x9d4BHJPMsJqGLDOfkStbvfTRvMRB6FoKXNoAsuvgYmb3jKgj4DV9esZgrLyxeXLuOozG iBN27P9wXPOIT8ddkVr4Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:hCrj477eWN8=:BUzxvY1+MrjJL6ZEyOtJPl +lJtbWGZBosTnLJC0ufiEARii9sV8dn1Z/Cn6Gi4LkbfpR/gvh8AhS2o5jVzDPt+/TcqV3iNL +nfxda45V6IBvTDRXiW9kGaCUU10oc7BR3KpfwikSBtP0FF7ClAsZ50Hl9tHQ+BTeUHgGKd3J px76hyfIBcygVZjnb5Yz1jqgmGbacGlIzHgFwZxzJTEZ63p18qvjMD+9modGR0S1XpfWbN0lo GjW20DpYPHRjrPMkxIPclx7GxDPp8Rpw/9aJaei/R/rW0j5JtWKGCkigxDQYNIyxjx1LHxBnH ViiIrG+SFftloWwFMvawvppB+RJIN13iGBs1aEMedd4WIvxdjZ4dSR/BbOcIIWw8R8znPAY8B on4/zjtX2mtBaMQXErMGyatXPlKSkuzZLzoKfUTRUTnhDZzjK+tfQt2Np6Z8LaKE5FPHUqySY nJ2CIkVOEXgSloPUa4ULRfjm2+QFwnCmEOebOEL2fOHuWmWbv+nKT3b3CyJNgDjbj6FrECUkN E3E5wG+xJyiv0GxCXZ84XIXCucdLZ2CQ/Aysbw+OL/MANAyj5BY5B+HM1mcMYLy9FoE6aT5AW piF7y2mo8rwfpR+1q0T7ULpYquQkK33X2klm8ujBuqMXYH4336MKfrR1CjQ7PHuj/qgJD9nhD crvWaVw910s1yrkv8Sh8IJTCt2LOP8HAry6QiH+GHyRvbWuQ6iA/LdXsVeN6iV6hWWGzToe6S zWtEJSSdlqUjF4rE 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-jsone): New variable. --- gnu/packages/erlang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 1a4ff36abb..91ce74f2d0 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -403,6 +403,30 @@ arguments using the GNU getopt syntax.") specifications.") (license license:asl2.0))) +(define-public erlang-jsone + (package + (name "erlang-jsone") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "jsone" version)) + (sha256 + (base32 "1gaxiw76syjp3s9rygskm32y9799b917q752rw8bxj3bxq93g8x3")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + ;; no need to generate a coverage report + (lambda _ + (substitute* "rebar.config" + (("\\{project_plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://github.com/sile/jsone/") + (synopsis "Erlang JSON Library") + (description "An Erlang library for encoding and decoding JSON data.") + (license license:expat))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans") From patchwork Fri Apr 8 17:03:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38428 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 DCE5A27BBEA; Fri, 8 Apr 2022 18:08:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 A591927BBE9 for ; Fri, 8 Apr 2022 18:08:21 +0100 (BST) Received: from localhost ([::1]:39144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs5r-0001kw-Qf for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:08:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2o-0005uh-Mc for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2n-0005fN-Nb for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2n-0001dh-Iu for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 16/22] gnu: Add erlang-proper. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374796067 (code B ref 54796); Fri, 08 Apr 2022 17:05:09 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:39 +0000 Received: from localhost ([127.0.0.1]:35807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2J-0001Zm-FE for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:39 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:43555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2H-0001Yy-Vx for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:38 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsZ3N-1nxYHj1hwR-00u2c4 for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:32 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 2196366482; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:49 +0200 Message-Id: <41de68b47c956b9f0f7802093fbe2a329057d86e.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:5HAD98JOm0MU3Zp5xmdT502vJ3OmMQmawPvYAN7nIk+mDrp2m3n yE1F4R2oxQneyXaoXZXB52V1FRWjtcW+131pGN3coOui9Jt3SqMk/2Ys7rPas0r4RDpqwXX ohYXiLSXPMqbXcFlngWTeNiQkRUUB6eqpnQ2BZc9Pva06YPNIqx7z0h7y5M0rm9qkqevsp1 snXqI8ZNUAvTBgyM0hbeg== X-UI-Out-Filterresults: notjunk:1;V03:K0:AeFUc+UUkws=:aNMJWWCGtaBrjpuCID5D0h 7fOggP/rIVvS2ulR7+PGNn6t42AWgMd7VnETCcSsheuIG9D1rQW7Q6dYolGRKhiktz8VpRFjv /F0mZnj/QCxwNSj8ts0Ihysg/HmpitCRtWnsKJd+83p1JkoyfTwPnz9L7Yzf7BXWB1uefyJPW y1ofWrEaiP5P63s6+NAehYLsEaYnPkn8KeqHme2MvEbEKRsIOCUSxC805xhmShmiK5Vl4kgko epDzX/F46qAJgpsNOmm6xtBaeCI2mrjxr6z8eryd2vFLEJEApLUyNTNEKtEUCbDnX+5UkQvk2 mk1zcRFLhvHOnO3XrVxY4jFB0DM1oeGpn6td0WjGAaA/Hp5eO2PsEuM/nNqHENfXWQ7zz31G+ qpk+GJWwKYJPZfpyjzU/2z4Vl9H7LU5k4o1hIvduYw+PiTxRD5puSpWl0VdhDyKB6eC7rz+aK XtBDWC0ryz02y3/vIoXoSxM9/bqYlnCvWCvnRAY6ChPhwz+5lIhGFsDPPkG5QpYCoKlFSS1wI 4AmC1OIZcAGmegUGmtQ7U//r7H/M3oSvZ0/FNe+sIe1krj/zgusCX9E4iTHdYi/mIuWe3htck cfKqJhnoYp/PgoboVKzAoVgqyU0rJprrvpOo1yEg4kdG4I18atqeZRXtyCBUGRHXHpliORJhB jQTstxh79fIb1X6Mz7mvQ3DvbTIlyf7kn4z2NS8hZ8uybOVmtd6pkjw8Mr94lZ500l9tq0f+Q PBuSJibgU7fA3rzm 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-proper): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 91ce74f2d0..9a626a65a2 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -446,6 +446,33 @@ specifications.") Erlang.") (license license:asl2.0))) +(define-public erlang-proper + (package + (name "erlang-proper") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "proper" version)) + (sha256 + (base32 "1fwcas4a9kz3w3z1jqdk9lw8822srfjk9lcpvbxkxlsv3115ha0q")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + ;; no need to generate a coverage report + (lambda _ + (substitute* "rebar.config" + (("\\{plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://proper-testing.github.io/") + (synopsis "QuickCheck-inspired property-based testing tool for Erlang") + (description "PropEr is a tool for the automated, semi-random, +property-based testing of Erlang programs. It is fully integrated with +Erlang's type language, and can also be used for the model-based random +testing of stateful systems.") + (license license:gpl3+))) + (define-public erlang-providers (package (name "erlang-providers") From patchwork Fri Apr 8 17:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38441 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 8778127BBEA; Fri, 8 Apr 2022 18:18:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 53C6E27BBE9 for ; Fri, 8 Apr 2022 18:18:19 +0100 (BST) Received: from localhost ([::1]:60042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsFW-0008AU-GJ for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:18:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2o-0005uW-MN for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2o-0005fP-5j for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2o-0001do-18 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 17/22] gnu: Add erlang-covertool. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374826081 (code B ref 54796); Fri, 08 Apr 2022 17:05:09 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:42 +0000 Received: from localhost ([127.0.0.1]:35810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2L-0001a1-Qu for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:42 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:38711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2K-0001ZI-AL for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:40 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mgefy-1oB7So332i-00h3VB for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:34 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 29EEA66483; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:50 +0200 Message-Id: <863d3ffbaad0b942c939ae7d1969196c7c14cbd3.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:mkeejSkZCzBleF/EnaM0+iNP7zGowZR7qL8agp2JNVKGfubneTA +zIfO5EkyV5tMD/A6DHYkL2f2v9uFaecGG82cmmqKXbv2s2x5myDgiAEfOkCqScBeY9Cf+d FgvuO89CO1i1LJinvLGQaf6YSAPdSeLfMgKq/8/LIsBxYNkzrTyZy+eXL7lDmgLwLv6hEvO d+nE+GnOdnJBS0y6vj/xw== X-UI-Out-Filterresults: notjunk:1;V03:K0:prYpYHSWNJ0=:+PmcPTonJ10aoyFIfaga7G pYpcHFxA56vvHGaY5RA0CeIDutxZbvOx3EnZqql6iYuWAt+lO4sY8Kh5yRMWUICqnDeEIPp3f 8K49h6rWxPpBl1GqTEIrBT5AEYTH/zdpiZ8wB/lksVemTII+OTcBoqQL3GbRxrzvzu9BK3Yan em5YyZBiNsLJ6MG3fjz4HGNMap9zzADiUYRwEYTz+O/yrxkLubIVKl6SbYoRdtzxQ9tdA4BXU 6WetX+N5E3KKcDVBXJaUmHr5ky/0MArFTOisok6vFoUrQhN5Oao/kzCE8P0+N1LALp0uFAGCW 2q2KprFzPOjFLLgAwXQwW04xc1/l2kG0mPqVvDlmKDojn3CXkmRD2Sv0ByM0uyjReMQt4BV1S s6b7MeWfm+hSpFnMyptDCGpcQP3y98hRbgxao1bb3diKJFpJpjVEh6xHBl6u1E3i3RkooTsNr tYJqtHcB/YWxgQRLC2tWbse+FEIltTz/cQOtHNPpNjFRLPKHGtBe/pJQCYiun18rEJVZmd0gk 9U2FbAVEw6LiEUvOwnlq/QQ6Mqof//qZtmqXdfTuwXdZKpZhPiLW+Wcnl/kNBuD+u17NTj9Ls nwlc9+I8o6m67W/CGd6Nb0KnWdurZp2qG1PIiR2X82dwz5byDL4RGisSze2HcNeVXxPzsX31h 1Xz1mKk5w5h3B6GFwG/x/bPCa9vHpmyeynO0A5VSyU50fxgAi7AtD3mLkh2cy5vlsfAbSuC9u 5DBQTb7tZBpI8yxo 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (erlang-covertool): New variable. --- gnu/packages/erlang.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 9a626a65a2..256b622fa3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -279,6 +279,26 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-covertool + (package + (name "erlang-covertool") + (version "2.0.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "covertool" version)) + (sha256 + (base32 "1p0c1n3nl4063xwi1sv176l1x68xqf07qwvj444a5z888fx6i5aw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/covertool/covertool") + (synopsis "Convert Erlang cover data into Cobertura XML reports") + (description "This package provides a build tool and plugin to convert +exported Erlang cover data sets into Cobertura XML reports, which can then be +feed to the Jenkins Cobertura plug-in. + +On @emph{hex.pm}, this plugin was previously called @code{rebar_covertool}.") + (license license:bsd-2))) + (define-public erlang-cth-readable (package (name "erlang-cth-readable") From patchwork Fri Apr 8 17:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38425 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 7E02F27BBEA; Fri, 8 Apr 2022 18:07:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 0683A27BBE9 for ; Fri, 8 Apr 2022 18:07:35 +0100 (BST) Received: from localhost ([::1]:37216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs58-0000To-4z for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:07:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2o-0005uu-TN for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2o-0005fm-KU for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2o-0001dw-Fl for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 18/22] gnu: Add rebar3. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374846102 (code B ref 54796); Fri, 08 Apr 2022 17:05:10 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:44 +0000 Received: from localhost ([127.0.0.1]:35813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2O-0001aK-1u for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:44 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:38235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2M-0001ZY-LV for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:43 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MBDvU-1npTkR0EnO-00Cgwr for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:37 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 46D9E66484; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:51 +0200 Message-Id: <9e3e90c9240599c212e5f8025e0967f9894b668f.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:1e0T7+iJbVtVGxnoIqQ2pSvD/odAPPQjLlX/Qo+gM+lPWIbbWUh s+lcMwGep1JKeLzvvT8ctBG2JKm8d92TlxDK6oKzx2tP6QScJfRL8lnLm1fL7B0zS0Vbf1x ZHlrc7RW1OFHAqOs1KY+OUEb2qiQd3dxVffmwelmmO6+LQWW3JMyEbHpzJkyg3EKOK45bpi q2KOCmdRj0+1ub6KN5dIQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:wuZqBVl5pbs=:vYJ1sfNHUgmO9+nLLSGmwU 7vlbVNlAVHNYttADbQMSAQkc94LeGw0Ch+Thd46SERNUrhF+ispx1CmNsz+kUNQEs5hQIvOSs +9yl8RmcOety2xQhVmyYNdSY6bgpVr0LS7KKhsnnlSF2kYuThh5HyDmDgF9nHdRmn70TQqlf9 jnmtAt84kHcmiE3d4u2sbGm7H5/98S91v6fktkv/GQ9/N3UKbnn4SoS8W810gPMVM91Pvh51/ rHXA1q6ebWNU15zKirqWsq3VuyKHa1HzOQz3z43BoSYtUOu0PD6l01LBtg1o7kh8r0qQAkZsU I74RlRoLOLchDlDQuwuO5ay3ehYi/m2BvL2yphwLH8ulPQ6DcSVYO6YPr8aiqj9XM+24uZFxX rZTvPnpmPuVCjuvpbVggSz7atHSutX2hvY5Me24SA4Qk8ldzA4etdPQMEnoFiTVIJo1qbTFtL OpTfeE1AltpSFbAgygp+kU2+omajByLQSzkGNLwoyYyQ09caN4JLuXet709ETedKwP8Q/beLC 7HDcTRsFbRGnaPJXFRz4pAZiC1ouj7gFn22absuSqBxJZfO4DknSEQ3H7FJoY9Qxw8yPOsC7N omVIE/y+nPwaZaDRoIjQMOurrb3RgtaMrvYkpmFiceshidC2I3EejK619ngWHHYlXumlnF1WQ yco7FvoQmFpAARrGvyRS293GbiJaKk0XDh+TA7/xy2Gu3zH5hL6nrnvRJpv/8YaJDM5XZw3lH EwtSE73t1XaAnyIM 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (rebar3): New variable. --- gnu/packages/erlang.scm | 76 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 256b622fa3..35681e9a73 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -549,3 +549,79 @@ a well configured release directory.") (description "This package provides SSL verification functions for Erlang.") (license license:expat))) + +(define-public rebar3 + (package + (name "rebar3") + (version "3.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erlang/rebar3") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09648hzc2mnjwf9klm20cg4hb5rn2xv2gmzcg98ffv37p5yfl327")))) + (build-system gnu-build-system) + ;; TODO: remove vendored modules, install man-page, install lib(?) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (add-after 'unpack 'unpack-dependency-sources + (lambda* (#:key inputs #:allow-other-keys) + (for-each + (lambda (pkgname) + (let* ((src (string-append pkgname "-source")) + (input (assoc-ref inputs src)) + (checkouts-dir (string-append "_checkouts/" pkgname)) + (lib-dir (string-append "_build/default/lib/" pkgname))) + (mkdir-p checkouts-dir) + (invoke "tar" "-xf" input "-C" checkouts-dir) + (invoke "tar" "-xzf" + (pk (string-append checkouts-dir "/contents.tar.gz")) + "-C" checkouts-dir) + (mkdir-p lib-dir) + (copy-recursively checkouts-dir lib-dir))) + (list "bbmustache" "certifi" "cf" "cth_readable" + "eunit_formatters" "getopt" "hex_core" "erlware_commons" + "parse_trans" "relx" "ssl_verify_fun" "providers")))) + (delete 'configure) + (replace 'build + (lambda _ + (setenv "HOME" (getcwd)) + (invoke "./bootstrap"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "rebar3" (string-append out "/bin"))))) + (delete 'check)))) + (native-inputs + (list erlang)) + (inputs + `(("bbmustache-source" ,(package-source erlang-bbmustache)) + ("certifi-source" ,(package-source erlang-certifi)) + ("cf-source" ,(package-source erlang-cf)) + ("cth_readable-source" ,(package-source erlang-cth-readable)) + ("erlware_commons-source" ,(package-source erlang-erlware-commons)) + ("eunit_formatters-source" ,(package-source erlang-eunit-formatters)) + ("getopt-source" ,(package-source erlang-getopt)) + ("hex_core-source" ,(package-source erlang-hex-core)) + ("parse_trans-source" ,(package-source erlang-parse-trans)) + ("relx-source" ,(package-source erlang-relx)) + ("ssl_verify_fun-source" ,(package-source erlang-ssl-verify-fun)) + ("providers-source" ,(package-source erlang-providers)))) + (home-page "https://www.rebar3.org/") + (synopsis "Sophisticated build-tool for Erlang projects that follows OTP +principles") + (description "@code{rebar3} is an Erlang build tool that makes it easy to +compile and test Erlang applications, port drivers and releases. + +@code{rebar3} is a self-contained Erlang script, so it's easy to distribute or +even embed directly in a project. Where possible, rebar uses standard +Erlang/OTP conventions for project structures, thus minimizing the amount of +build configuration work. @code{rebar3} also provides dependency management, +enabling application writers to easily re-use common libraries from a variety +of locations (git, hg, etc).") + (license license:asl2.0))) From patchwork Fri Apr 8 17:03:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38437 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 5777E27BBEA; Fri, 8 Apr 2022 18:16:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 30CD127BBE9 for ; Fri, 8 Apr 2022 18:16:49 +0100 (BST) Received: from localhost ([::1]:57748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncsE4-0006VY-Ci for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:16:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2p-0005uv-Ei for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2p-0005ft-66 for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2p-0001e7-0H for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 19/22] gnu: Add rebar3-raw-deps. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374866118 (code B ref 54796); Fri, 08 Apr 2022 17:05:10 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:46 +0000 Received: from localhost ([127.0.0.1]:35816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2Q-0001ac-CO for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:46 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:60065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2O-0001Zn-TQ for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:45 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MXoxG-1nSsh91dWe-00YDos for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:39 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 4F56166485; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:52 +0200 Message-Id: <38f49c05eda35a1c0492583bd3a8fcc1e1cdf21f.1649436566.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:LjHrPfRmQENEZPb/B6In69K9iHVGmOxodiGXc52ROkDR9sV2T98 m0kjEULHYY2UxjDvZuw8uB09IFverk714a3p736B+LphDKdzC+LRN2x69GlHqI/y+lwv182 LTe7r+F+wdU3U2Fs4FqINjaeyqB6SbtW5U8ebeEgCd43/Cjpk+LuWH4x6Ni7S4hpEYmCh0p dTN4NIXKWxaFgRDdYl9Gw== X-UI-Out-Filterresults: notjunk:1;V03:K0:QTxjI5fFTvM=:337/2Quj/0cDKJQomAvza9 huepJgMW2ZXqUWpXpprxWacKFHydoVaPfkYhL0h8Iegm+SEoPbBu2H3rU/5ggBGgmuQJmgDDI QiSjM/nx4G6MLpKQyzUkXN8YE7SKG80ewc3OiQWhhyJF/CPZJyZ5nktxte/bjhKfDD+Ie7Mdl SQqSUvO525w/Zb5WkAzrz20w2GX8KyzSQnR8/1xwURjTTa2FK1+fOo/kAIT5IbNSyca/Gx8ju O6xLx8h2h8hAFMMSCTUTyKBcM1MtrM4H6kZ3NCEFsKxOVcLUq/UiZGPXo4EzEBflJDlKI7kaj s4ScDeRioo3h8LEMJK7ZjW6ieOnn1a2KfS/CTMcEY/iVWFb8OqaBTfhoJA27VrG1AbBU1s45F My3reCYX4zLb9G+cASCvjr10y6YBf7E224AcWwv7KzMONDbo6CcuxDxmtQOhha3yks/l/Z7Zp yEMU2WR7TfCaVVkcA/NpVZYzXREXlIrZfPdMRxcFrh5Qu3eVZUdX3Undef5iBelcmdsmSWtG6 r6AET7XhlhMh/KWAkR0Vh4UwxbFI0F2j9bOwS96dP7veym+1Yc6NFU/JXjk82NeZjwN5dmwbl dxZoGbhCN9ko7BMklCu2Vl4Ijmmh/AmAZt70m0ghCQTOpmGvKKLVgq7CKs7z56YuxXlgfqTyo K6MGG5GJ/uFGvx6BAddpk/wzkeSURBpbNZBm97Gc1kzmFVEqPiTQD5tlyJ0SK1JBbB7FuG3lm uHB901nWUaZyJfpT 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (rebar3-raw-deps): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 35681e9a73..8bd7ba3739 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -625,3 +625,20 @@ build configuration work. @code{rebar3} also provides dependency management, enabling application writers to easily re-use common libraries from a variety of locations (git, hg, etc).") (license license:asl2.0))) + +(define-public rebar3-raw-deps + (package + (name "rebar3-raw-deps") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_raw_deps" version)) + (sha256 + (base32 "1pzmm3m8gb2s9jn8fp6shzgfmy4mvh2vdci0z6nsm74ma3ffh1i3")))) + (build-system rebar3-build-system) + (home-page "https://github.com/soranoba/rebar3_raw_deps") + (synopsis "Rebar3 plugin for supporting \"raw\" dependencies") + (description "This plugin adds support for \"raw\" dependencies to +rebar3.") + (license license:expat))) From patchwork Fri Apr 8 17:03:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38426 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 182DE27BBEA; Fri, 8 Apr 2022 18:07:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 D7AB327BBE9 for ; Fri, 8 Apr 2022 18:07:46 +0100 (BST) Received: from localhost ([::1]:37860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs5K-0000uC-0z for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:07:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2p-0005v1-SK for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2p-0005g0-Jd for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2p-0001eF-Eo for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 20/22] gnu: Add rebar3-git-vsn. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374886134 (code B ref 54796); Fri, 08 Apr 2022 17:05:11 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:48 +0000 Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2S-0001ar-IX for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:48 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:34789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2R-0001a7-CD for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:47 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1McYP5-1oFm9k37y1-00cuvf for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:41 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6404B66486; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:53 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:xFi0rCZeWj2EydWjMEY+fq2k4v1++mcBtQCLD9aGr1E0+aw46ea 34OhdNIUhBIX7HKI3URFC3cqDTS24j43kCix4AjY0xAWXhlcvXGQJ71RJF8OAUMwtHPK48z UYjSDVB1veJvEoqdTLVx7j/jKBbrNWDxd08WMD7LBtpqw8tZMMuqneeD9V4ATuxMSpQbih8 kHl/GW4IKZJRWAOCL/7sg== X-UI-Out-Filterresults: notjunk:1;V03:K0:nSU13q9jpMs=:nlCy/7/iqLCX2TTDl02FLu i/t9Q5kmCv3VFvf6noQNYo9N7DN+3P+zyXfKziik1FuuXpvvkbJhNVtxtf0LO2ftUgUUMs5PB 8bQleoiO1k9Dqp+jyH07Tc1e27QF4mIuCAM5D4JgJ2iVR9QdYqaC8RnEaDaW0vPDPKAPBU4f7 z9HId+WVIh3VUnXItGv3v83vi1zP/akB8KrYg3+r9Uk9fH58SXNAoN1v5MKJSqg1+g3a1Gr1q ZHaqoZMrTRc5kt+oEK5c8Ez9jKlRzb8J48eRVV6k1Juk08tOQ5ow+zM1mBYEJW0LskKDkC86P GXK0/TaM3J6G6LXemsCCKK3sCF7CPzKgazTVZKRX/p/jOpguDdZuxpBQLFE2xd6o6ExzgFVbJ +f9J2XzC8/cF2nwnCOfi272t4HQYwOoUNMV0QHXtMpCx40SPVi0VDmfT4OXrzscYZHpc/I3R/ iuFQeiUTcdFHP37MDahuZ3qAcUrAcKI+UKVsreKVngHkZh+xaGr65/5AA23HA8h4uxDFgZrox EJfZ4ONh5izKH2ELR+HCTG3KNkMDKlruar7gRIz2dbTONcW/5llruW+AG0NOjyOkhuBZB++Mi 79K0wKx5Gqn2t+zC6vPFYaEfjX2KnN/SuKUSYRGPvKi/jgVfLL0MvJm686oECLmgeB3lpOK2B yhVO+YCLItBeh70lbi4UWEDb5odlKeDFk7AjKvZ3ojeGYBDRCaDYUrqkdmkicSTUsOUdRsCv8 /4U5d3E2H/Xr4EGH 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (rebar3-git-vsn): New variable. --- gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 8bd7ba3739..acd7c76aa1 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) + #:use-module (gnu packages version-control) #:use-module (gnu packages tls) #:use-module (gnu packages wxwidgets)) @@ -642,3 +643,34 @@ of locations (git, hg, etc).") (description "This plugin adds support for \"raw\" dependencies to rebar3.") (license license:expat))) + +(define-public rebar3-git-vsn + (package + (name "rebar3-git-vsn") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_git_vsn" version)) + (sha256 + (base32 "1dfz56034pa25axly9vqdzv3phkn8ll0qwrkws96pbgcprhky1hx")))) + (build-system rebar3-build-system) + (inputs + (list git)) + (arguments + `(;; Running the tests require binary artifact (tar-file containing + ;; samples git repos) TODO: remove these from the source + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((git (assoc-ref inputs "git"))) + (substitute* "src/rebar3_git_vsn.erl" + (("rebar_utils:sh\\(\"git " _) + (string-append "rebar_utils:sh(\"" git "/bin/git "))))))))) + (home-page "https://github.com/soranoba/rebar3_git_vsn") + (synopsis "Rebar3 plugin for generating the version from git") + (description "This plugin adds support for generating the version from +a git checkout.") + (license license:expat))) From patchwork Fri Apr 8 17:03:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38429 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 521EA27BBEA; Fri, 8 Apr 2022 18:08:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 1D57B27BBE9 for ; Fri, 8 Apr 2022 18:08:48 +0100 (BST) Received: from localhost ([::1]:39804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs6J-0002Dp-8W for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:08:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2q-0005vI-9T for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2q-0005gF-0Q for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2p-0001eM-Rb for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 21/22] gnu: Add rebar3-proper. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374916147 (code B ref 54796); Fri, 08 Apr 2022 17:05:11 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:51 +0000 Received: from localhost ([127.0.0.1]:35822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2U-0001b5-QW for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:50 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:40883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2T-0001aL-IZ for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:49 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MjSsm-1oNi6Q0Ip8-00kuyP for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:44 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6DE0766487; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:54 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1://okcW/uxqxck/+qcWuS7Fp9mNsOb8IJwQr88zPAhDqyS/m6RcV NY19Hjw59cskGZrY7sMmIELkLUigR3pGXrkeXimugRxhFTv3EqjzSF/OJaOkxE1EGXeOR8H MDmJ1IN6gCGQYcZTJpZRwfeBVaQmsHXOea7RKGsmfmSKoD5lKccZ7zt/1ivdPU8tnPXq+rb QSWaK7u6I6MBeYcTQCGUg== X-UI-Out-Filterresults: notjunk:1;V03:K0:uiy1aZd3jm4=:GSI/5VQdCC6QkaZBJ8k627 kjxTrnxWsegJJU12aneiwxQ0VrTpGacaJt7dYKSIB2BiQocsMN1X7tcFxaAGArEDdyjFmw/Mm 5OlzWNGJCanmu+ZjOuUMYfiDRJwAwPwUXIateavb+FpjYxHXfKYVErcjmWSVC2sZLb0laMBBW fkMGofNKFyN1RBFj7WGH4oiaancs8utD8xv0Kp3t5lMaPPvw01yjPNYznHgoXoTjlJn9uKWpk EKfVmi+zxyZp5mDQ8nsw2+CKFofZaVgOaghKdOm1Pu6w/Nu5EiJFtT1TZ70gO/EDhevZnfH88 8KX6grgzPrz2/9bleaqcz2snEV3a5p7ZOHMxBnK0Mq7iPRHcK4xxBwGW7H6JNhlV5H6WflHDw yo6xM8s5nG0T5EfHnfrjSVrPisiaIgqREE9ed0WXSVYK8BA2M9/5149jRwGMXdyLGmf6JK/eG L9ZrYTle5oR43Xr94h74zwf+uejWK6xHYg/DiS283OWWK7fhnWIf2uUHtHeeVR/e7tNsOUesG rw78NUJD5IlFKw7MQpl5vTnnORm/BUMAN5SVm3vocTfneI8agJKc0mcCks8F+iwDpf4eAMwuG 3pnA5tdo0GS5Ri7EjldB3VExE4ANniuABTtn7B+y2tBIuRuXlj1FGa4yZhZuEuBW0R+XWLkJJ dTrMYGaleL4V3YZpsXjP8lYF6DOfvnn9lusMLJbcXuAZc7faRKEDS7Zox8Tw58NMYzG2ZaOQ+ 4YETBUBMmVAIATZx 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang.scm (rebar3-proper): New variable. --- gnu/packages/erlang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index acd7c76aa1..339d93496b 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -674,3 +674,20 @@ rebar3.") (description "This plugin adds support for generating the version from a git checkout.") (license license:expat))) + +(define-public rebar3-proper + (package + (name "rebar3-proper") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "rebar3_proper" version)) + (sha256 + (base32 "1f174fb6h2071wr7qbw9aqqvnglzsjlylmyi8215fhrmi38w94b6")))) + (build-system rebar3-build-system) + (home-page "https://github.com/ferd/rebar3_proper") + (synopsis "Rebar3 PropEr plugin") + (description "This plugin allows running PropEr test suites from within +rebar3.") + (license license:bsd-3))) From patchwork Fri Apr 8 17:03:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 38423 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 3E8B627BBEA; Fri, 8 Apr 2022 18:06:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,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 DA8D627BBE9 for ; Fri, 8 Apr 2022 18:06:50 +0100 (BST) Received: from localhost ([::1]:35576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncs4P-0007mr-Ve for patchwork@mira.cbaines.net; Fri, 08 Apr 2022 13:06:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncs2r-0005wF-Fi for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncs2q-0005gO-Dg for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncs2q-0001eU-9C for guix-patches@gnu.org; Fri, 08 Apr 2022 13:05:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 22/22] build-system: Add 'rebar3-build-system'. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 17:05:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.16494374996171 (code B ref 54796); Fri, 08 Apr 2022 17:05:12 +0000 Received: (at 54796) by debbugs.gnu.org; 8 Apr 2022 17:04:59 +0000 Received: from localhost ([127.0.0.1]:35825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2Y-0001bM-0d for submit@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:58 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncs2W-0001ak-0s for 54796@debbugs.gnu.org; Fri, 08 Apr 2022 13:04:53 -0400 Received: from hermia.goebel-consult.de ([79.211.184.115]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MIMKq-1niMDC1dVU-00EOLy for <54796@debbugs.gnu.org>; Fri, 08 Apr 2022 19:04:46 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8199166488; Fri, 8 Apr 2022 19:04:07 +0200 (CEST) From: Hartmut Goebel Date: Fri, 8 Apr 2022 19:03:55 +0200 Message-Id: <4227ca2ef20c4ea7f6bb452dba271baad877a93f.1649436567.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:d7L25raqcPFoLfXDe6NzOjXdjs+uSSt83Qhse19dSNmpoDW1zrO dlLgVTq0NwHru/9+k/Gox9bbtMY3a/FLDxaAPPkLKcRyrT0Bibha7KD8QJPf3tGgNqrBwqa uqvxrscZ2e/cnW42J8N/nDuRmkbdQ4ijvXlEjS89LPNl5+ajxRqHD2B+mbY8bbdhgpcjPJY r0AScEy2oCw9YRmE2r83Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:Uj/jUWMwVag=:gkmTQ3kDVFdFb56wSWQish mkXpZf9xLB1S3ypHZ0MJJPoufIGsIrvn9GUYcBV0nwXXOtpoureZtkpzgsfXn0Rxb36v4GWVL G61RZ6vsvY9RBWLGVVtv82Nr2tEQAwD57KpKZ+vkIp+G1Bcr59Ni1eGelW3KU+m6ibjO79PtF oYY3slMrXF6cgVvzBV3J7MM/x+id3IXLrn4vkIIQjLtZnhuGWxqZe5VidieheoEI5ZwuePwiH 1F51TV6be5mAGhHcF26e+zwhcWJuIGiv1BaalQkPdlQ0OiDhuZge/B4ZCtKJ9Jvj6w9xwiu/b S6CBstzZ8j62icxc6pz2aZpiH0q/ZlYgBGkz0m/WnZ2hVEuZjCucCJS1qD2jN+Ceqq7DVghpC m9ryI8jOGHtwW2Q10Fx+0MDY6v9dA6c1X6dDPv+1FE3O2Sh4ICcRhfJ5D6cXXEQgRCEB4H/kx EUOndh+mmv53JNo61Y48ZjbLa3paDBWYzIG7LOhqZhj1URGTpDiAOsWJCob3gpQFdKNAgbDOH rEf8uDna7yhaTGCJGpfnjpjlFFMjbGhiV5pYGf/dKSteL2Ow76DAxkQF+QuBNPcesm3UtARHM CooIt9xuPXv3WBdwe0DFv5e5WiZa0386I8jVN0s9hX1o0jgtf7T8f5UbzC4qNLtfV3wKNexll M+3ikJkryzuOf4dLmKDescVuB+3r/4LebtcnRuW6bo5oLJ+NXRStmpB9cN4aBrzvXU53ph2Ao 5FqGrjhtaXkhTdFH 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" X-getmail-retrieved-from-mailbox: Patches * guix/build-system/rebar3.scm, guix/build/rebar3-build-system.scm: New files. * Makefile.am (MODULES): Register them. * doc/guix.texi (Build Systems): Document it. --- Makefile.am | 2 + doc/guix.texi | 41 ++++++++ guix/build-system/rebar3.scm | 143 ++++++++++++++++++++++++++++ guix/build/rebar3-build-system.scm | 147 +++++++++++++++++++++++++++++ 4 files changed, 333 insertions(+) create mode 100644 guix/build-system/rebar3.scm create mode 100644 guix/build/rebar3-build-system.scm diff --git a/Makefile.am b/Makefile.am index be2c183206..bb538222b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -164,6 +164,7 @@ MODULES = \ guix/build-system/waf.scm \ guix/build-system/r.scm \ guix/build-system/rakudo.scm \ + guix/build-system/rebar3.scm \ guix/build-system/ruby.scm \ guix/build-system/scons.scm \ guix/build-system/texlive.scm \ @@ -217,6 +218,7 @@ MODULES = \ guix/build/r-build-system.scm \ guix/build/renpy-build-system.scm \ guix/build/rakudo-build-system.scm \ + guix/build/rebar3-build-system.scm \ guix/build/ruby-build-system.scm \ guix/build/scons-build-system.scm \ guix/build/texlive-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 6c17b26d70..518fabf48d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8717,6 +8717,47 @@ with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter. @end defvr +@defvr {Scheme Variable} rebar3-build-system +This variable is exported by @code{(guix build-system rebar3)}. It +implements a build procedure around @code{rebar3}. + +It adds both @code{rebar3} and the @code{erlang} to the set of inputs. +Different packages can be specified with the @code{#:rebar} and +@code{#:erlang} parameters, respectively. + +This build system is based on @code{gnu-build-system}, but with the +following phases changed: + +@table @code + +@item unpack +This phase, after unpacking the source like the @code{gnu-build-system} +does, checks for a file @code{contents.tar.gz} at the top-level of the +source. If this file exists, it will be unpacked, too. This eases +handling of package hosted by @i{hex.pm}. + +@item bootstrap +@item configure +There are no @code{bootstrap} and @code{configure} phase because erlang +packages typically don’t need to be configured. + +@item build +This phase runs @code{rebar3 compile} +with the flags listed in @code{#:rebar-flags}. + +@item check +Unless @code{#:tests? #f} is passed, +this phase runs @code{rebar3 eunit}, +or some other target specified with @code{#:test-target}, +with the flags listed in @code{#:rebar-flags}, + +@item install +This installs the files created in the @i{default} profile, or some +other profile specified with @code{#:install-profile}. + +@end table +@end defvr + @defvr {Scheme Variable} texlive-build-system This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The diff --git a/guix/build-system/rebar3.scm b/guix/build-system/rebar3.scm new file mode 100644 index 0000000000..b96c806258 --- /dev/null +++ b/guix/build-system/rebar3.scm @@ -0,0 +1,143 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2020 Hartmut Goebel +;;; +;;; 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 (guix build-system rebar3) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix monads) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module ((guix hexpm-download) #:select (hexpm-uri) #:prefix dl:) + #:use-module (ice-9 match) + #:use-module (srfi srfi-26) + #:export (hexpm-uri + %rebar3-build-system-modules + rebar3-build + rebar3-build-system)) + +;; +;; Standard build procedure for Erlang packages using Rebar3. +;; + +(define hexpm-uri dl:hexpm-uri) + +(define %rebar3-build-system-modules + ;; Build-side modules imported by default. + `((guix build rebar3-build-system) + ,@%gnu-build-system-modules)) + +(define (default-rebar3) + "Return the default Rebar3 package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((erlang-mod (resolve-interface '(gnu packages erlang)))) + (module-ref erlang-mod 'rebar3))) + +(define (default-erlang) + "Return the default Erlang package." + ;; Lazily resolve the binding to avoid a circular dependency. + (let ((erlang-mod (resolve-interface '(gnu packages erlang)))) + (module-ref erlang-mod 'erlang))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (rebar (default-rebar3)) + (erlang (default-erlang)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME from the given arguments." + (define private-keywords + '(#:target #:rebar #:erlang #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (build-inputs `(("rebar" ,rebar) + ("erlang" ,erlang) ;; for escriptize + ,@native-inputs)) + (outputs outputs) + (build rebar3-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (rebar3-build name inputs + #:key + guile source + (rebar-flags ''("skip_deps=true" "-vv")) + (tests? #t) + (test-target "eunit") + ;; TODO: install-name ; default: based on guix package name + (install-profile "default") + (phases '(@ (guix build rebar3-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (native-search-paths '()) + (system (%current-system)) + (imported-modules %rebar3-build-system-modules) + (modules '((guix build rebar3-build-system) + (guix build utils)))) + "Build SOURCE with INPUTS." + + (define builder + (with-imported-modules imported-modules + #~(begin + (use-modules #$@(sexp->gexp modules)) + + #$(with-build-variables inputs outputs + #~(rebar3-build #:source #+source + #:system #$system + #:name #$name + #:rebar-flags #$rebar-flags + #:tests? #$tests? + #:test-target #$test-target + ;; TODO: #:install-name #$install-name + #:install-profile #$install-profile + #: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))) + ;; Note: Always pass #:graft? #f. Without it, ALLOWED-REFERENCES & + ;; co. would be interpreted as referring to grafted packages. + (gexp->derivation name builder + #:system system + #:target #f + #:graft? #f + #:guile-for-build guile))) + +(define rebar3-build-system + (build-system + (name 'rebar3) + (description "The standard Rebar3 build system") + (lower lower))) diff --git a/guix/build/rebar3-build-system.scm b/guix/build/rebar3-build-system.scm new file mode 100644 index 0000000000..ae18538ed3 --- /dev/null +++ b/guix/build/rebar3-build-system.scm @@ -0,0 +1,147 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016, 2018 Ricardo Wurmus +;;; Copyright © 2019 Björn Höfling +;;; Copyright © 2020, 2022 Hartmut Goebel +;;; +;;; 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 (guix build rebar3-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module ((guix build utils) #:hide (delete)) + #:use-module (ice-9 match) + #:use-module (ice-9 ftw) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (rebar3-build + %standard-phases)) + +;; +;; Builder-side code of the standard build procedure for Erlang packages using +;; rebar3. +;; +;; TODO: Think about whether bindir ("ebin"), libdir ("priv") and includedir +;; "(include") need to be configurable + +(define %erlang-libdir "/lib/erlang/lib") + +(define* (erlang-depends #:key inputs #:allow-other-keys) + (define input-directories + (match inputs + (((_ . dir) ...) + dir))) + (mkdir-p "_checkouts") + + (for-each + (lambda (input-dir) + (let ((elibdir (string-append input-dir %erlang-libdir))) + (when (directory-exists? elibdir) + (for-each + (lambda (dirname) + (let ((dest (string-append elibdir "/" dirname)) + (link (string-append "_checkouts/" dirname))) + (when (not (file-exists? link)) + ;; RETHINK: Maybe better copy and make writable to avoid some + ;; error messages e.g. when using with rebar3-git-vsn. + (symlink dest link)))) + (list-directories elibdir))))) + input-directories)) + +(define* (unpack #:key source #: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) + ;; Packages from hex.pm typically have a contents.tar.gz containing the + ;; actual source. If this tar file exists, extract it. + (when (file-exists? "contents.tar.gz") + (invoke "tar" "xvf" "contents.tar.gz")))) + +(define* (build #:key (rebar-flags '()) #:allow-other-keys) + (apply invoke `("rebar3" "compile" ,@rebar-flags))) + +(define* (check #:key target (rebar-flags '()) (tests? (not target)) + (test-target "eunit") + #:allow-other-keys) + (if tests? + (apply invoke `("rebar3" ,test-target ,@rebar-flags)) + (format #t "test suite not run~%"))) + +(define (erlang-package? name) + "Check if NAME correspond to the name of an Erlang package." + (string-prefix? "erlang-" name)) + +(define (package-name-version->erlang-name name+ver) + "Convert the Guix package NAME-VER to the corresponding Erlang name-version +format. Essentially drop the prefix used in Guix and replace dashes by +underscores." + (let* ((name- (package-name->name+version name+ver))) + (string-join + (string-split + (if (erlang-package? name-) ; checks for "erlang-" prefix + (string-drop name- (string-length "erlang-")) + name-) + #\-) + "_"))) + +(define (list-directories directory) + "Return file names of the sub-directory of DIRECTORY." + (scandir directory + (lambda (file) + (and (not (member file '("." ".."))) + (file-is-directory? (string-append directory "/" file)))))) + +(define* (install #:key name outputs + (install-name (package-name-version->erlang-name name)) + (install-profile "default") ; build profile outputs to install + #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg-dir (string-append out %erlang-libdir "/" install-name))) + (let ((bin-dir (string-append "_build/" install-profile "/bin")) + (lib-dir (string-append "_build/" install-profile "/lib"))) + ;; install _build/PROFILE/bin + (when (file-exists? bin-dir) + (copy-recursively bin-dir out #:follow-symlinks? #t)) + ;; install _build/PROFILE/lib/*/{ebin,include,priv} + (for-each + (lambda (*) + (for-each + (lambda (dirname) + (let ((src-dir (string-append lib-dir "/" * "/" dirname)) + (dst-dir (string-append pkg-dir "/" dirname))) + (when (file-exists? src-dir) + (copy-recursively src-dir dst-dir #:follow-symlinks? #t)) + (false-if-exception + (delete-file (string-append dst-dir "/.gitignore"))))) + '("ebin" "include" "priv"))) + (list-directories lib-dir)) + (false-if-exception + (delete-file (string-append pkg-dir "/priv/Run-eunit-loop.expect")))))) + +(define %standard-phases + (modify-phases gnu:%standard-phases + (replace 'unpack unpack) + (delete 'bootstrap) + (delete 'configure) + (add-before 'build 'erlang-depends erlang-depends) + (replace 'build build) + (replace 'check check) + (replace 'install install))) + +(define* (rebar3-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given Erlang package, applying all of PHASES in order." + (apply gnu:gnu-build #:inputs inputs #:phases phases args))