From patchwork Tue Apr 19 23:27:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 725 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 65FF827BBEA; Wed, 20 Apr 2022 00:28:23 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 CD6B827BBE9 for ; Wed, 20 Apr 2022 00:28:22 +0100 (BST) Received: from localhost ([::1]:40362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngxGg-0002aZ-05 for patchwork@mira.cbaines.net; Tue, 19 Apr 2022 19:28:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngxGQ-0002aH-8f for guix-patches@gnu.org; Tue, 19 Apr 2022 19:28:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngxGO-0001AT-8y for guix-patches@gnu.org; Tue, 19 Apr 2022 19:28:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngxGM-0005oF-K4; Tue, 19 Apr 2022 19:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55030] [PATCH 00/30] gnu: elm: Update to 0.19.1. Add build system & importer. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, guix-patches@gnu.org Resent-Date: Tue, 19 Apr 2022 23:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55030 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55030@debbugs.gnu.org Cc: Philip McGrath X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Philip McGrath Received: via spool by submit@debbugs.gnu.org id=B.165041087022309 (code B ref -1); Tue, 19 Apr 2022 23:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2022 23:27:50 +0000 Received: from localhost ([127.0.0.1]:44415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngxGA-0005nl-4W for submit@debbugs.gnu.org; Tue, 19 Apr 2022 19:27:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:49428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngxG9-0005nb-0s for submit@debbugs.gnu.org; Tue, 19 Apr 2022 19:27:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngxG8-0002YD-Ps for guix-patches@gnu.org; Tue, 19 Apr 2022 19:27:48 -0400 Received: from mail-vk1-xa32.google.com ([2607:f8b0:4864:20::a32]:38468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngxG3-00018h-MI for guix-patches@gnu.org; Tue, 19 Apr 2022 19:27:45 -0400 Received: by mail-vk1-xa32.google.com with SMTP id i27so25432vkr.5 for ; Tue, 19 Apr 2022 16:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=xtDrXZN4iXtkmeHOJHxnTmhWNLxX1t4rhyq2qYGvH4Y=; b=EswjabjLFeS+PWZuHcPqllQCQr54s1EHvFRYaZN7g9gBZInw0RjgvwiMScii2X5c71 VlXh5a3WO71fPAr3WEJoT/FuYvNFFhAoy/8HldJx76AxoDP6KeukWuaVZMvo0JidW+kE 3GlucX2C1+QKsyutBpNHo4lARO77m23xH03/2qMZpRLdu881on7rPRFoStJq06vTRy9R 7jhIuJXPUe2bY3RzJV1yYbgl2cPaodM/IWVSgo+nwXprsc7W7kStl0m4nYwzWc6sgWNj U2+cIWO1vmSJxoV5cZnUCCKq8N9jT4H/p+77UEKGqPkgcIrLBY9Rde0By1E4/TvONA5h wkSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=xtDrXZN4iXtkmeHOJHxnTmhWNLxX1t4rhyq2qYGvH4Y=; b=yTnwFUcM7AMfms5ThPX47oKsrYaC0rEwkC6wZRJ+VOAhPuubu2V6AVf5iiSFo0/WRB GbOtCEA08aM/OO9aDIFHSGsAmnqwMZo+gmDqVoZyUgHcv3gFiBLxqmdEao1AJQpGx1ET X+e2qKwvmD8dBybldId6mksIlwYa09JCaFUP3hv7Ef4Uqt0Amt+M3BlTcJHj+fq2qqE6 TipZVIFAAS39RDzetJsg5B7buNX3GLA1fTtppJD0asUm2KBb3EaCdecL39jGiHHykIoy bBl6OJe6TrjkP/Z8tG/ArA6/gr3mvzgVuWhCsnopEHDojxnxhdHVZQvpbVcQQ7zeDWEf rD+g== X-Gm-Message-State: AOAM531uRD/ArJYpsPP06Lc5bS5DYPtb4Ujsu70kXpOXi8vIM14NqTem n8XUqxKAS/0f/RE7q5829RWUVAHVqc/yC2mG X-Google-Smtp-Source: ABdhPJx8wkMZkPEBwEFkpY/uFozCd9qE0lXpa9MY9XxSOUF0FTNWyxNtckA08ToiCpEw0n/sGz+L/g== X-Received: by 2002:a1f:14c2:0:b0:345:3e0f:81b1 with SMTP id 185-20020a1f14c2000000b003453e0f81b1mr5379836vku.2.1650410860507; Tue, 19 Apr 2022 16:27:40 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id j14-20020ab015ce000000b0035cc0bdd9f6sm172485uae.19.2022.04.19.16.27.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Apr 2022 16:27:39 -0700 (PDT) From: Philip McGrath Date: Tue, 19 Apr 2022 19:27:36 -0400 Message-Id: <20220419232736.272970-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: permerror client-ip=2607:f8b0:4864:20::a32; envelope-from=philip@philipmcgrath.com; helo=mail-vk1-xa32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 Hi, This patch series updates Elm to version 0.9.1, then adds an 'elm-build-system' and a 'guix import elm' command. To exercise the new features, this patch series then: * Build the front-end for the `elm reactor` command (which is written in Elm) and adds a variant of Elm to Guix with the command enabled; * Builds 'elm-todomvc', an official example of a basic Elm application; and * Builds a feature-rich third-party package, "terezka/elm-charts": . -Philip Philip McGrath (30): gnu: elm-compiler: Update to 0.19.1. gnu: elm: Rename package to match the command. guix: Add elm-build-system and 'guix import elm'. gnu: Add elm-core and elm-json. build-system/elm: Add implicit Elm inputs. gnu: Add elm-virtual-dom. gnu: Add elm-html. gnu: Add elm-svg. gnu: Add elm-time. gnu: Add elm-url. gnu: Add elm-browser. gnu: Add elm-bytes. gnu: Add elm-file. gnu: Add elm-http. gnu: Add elm-parser. gnu: Add elm-project-metadata-utils. gnu: Add elm-explorations-markdown. gnu: elm: Support 'elm reactor'. gnu: Add elm-todomvc. gnu: Add elm-debois-elm-dom. gnu: Add elm-random. gnu: Add elm-explorations-test. gnu: Add elm-danhandrea-elm-date-format. gnu: Add elm-danhandrea-elm-time-extra. gnu: Add elm-justinmimbs-date. gnu: Add elm-justinmimbs-time-extra. gnu: Add elm-myrho-elm-round. gnu: Add elm-ryannhg-date-format. gnu: Add elm-terezka-intervals. gnu: Add elm-terezka-elm-charts. gnu/local.mk | 4 +- gnu/packages/elm.scm | 767 +++++++++++++++++- .../elm-compiler-disable-reactor.patch | 71 -- .../patches/elm-compiler-fix-map-key.patch | 38 - .../elm-offline-package-registry.patch | 71 ++ .../patches/elm-reactor-static-files.patch | 251 ++++++ guix/build-system/elm.scm | 176 ++++ guix/build/elm-build-system.scm | 380 +++++++++ guix/import/elm.scm | 148 ++++ guix/scripts/import.scm | 3 +- guix/scripts/import/elm.scm | 107 +++ 11 files changed, 1883 insertions(+), 133 deletions(-) delete mode 100644 gnu/packages/patches/elm-compiler-disable-reactor.patch delete mode 100644 gnu/packages/patches/elm-compiler-fix-map-key.patch create mode 100644 gnu/packages/patches/elm-offline-package-registry.patch create mode 100644 gnu/packages/patches/elm-reactor-static-files.patch create mode 100644 guix/build-system/elm.scm create mode 100644 guix/build/elm-build-system.scm create mode 100644 guix/import/elm.scm create mode 100644 guix/scripts/import/elm.scm