From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qG1DM/1GX2JZmwAAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 01:34:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MLBWMv1GX2JFIQAAG6o9tA (envelope-from ) for ; Wed, 20 Apr 2022 01:34:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 87E70EE69 for ; Wed, 20 Apr 2022 01:34:21 +0200 (CEST) Received: from localhost ([::1]:41448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngxMS-0003d8-9w for larch@yhetil.org; Tue, 19 Apr 2022 19:34:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngxMC-0003b4-Cb for guix-patches@gnu.org; Tue, 19 Apr 2022 19:34:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngxMA-0001wz-V4 for guix-patches@gnu.org; Tue, 19 Apr 2022 19:34:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngxMA-00061W-Ro for guix-patches@gnu.org; Tue, 19 Apr 2022 19:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55030] [PATCH 04/30] gnu: Add elm-core and elm-json. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Apr 2022 23:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55030 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55030@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 55030-submit@debbugs.gnu.org id=B55030.165041119822962 (code B ref 55030); Tue, 19 Apr 2022 23:34:02 +0000 Received: (at 55030) by debbugs.gnu.org; 19 Apr 2022 23:33:18 +0000 Received: from localhost ([127.0.0.1]:44434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngxLR-0005yC-Ly for submit@debbugs.gnu.org; Tue, 19 Apr 2022 19:33:18 -0400 Received: from mail-ua1-f49.google.com ([209.85.222.49]:39509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngxLM-0005xi-FJ for 55030@debbugs.gnu.org; Tue, 19 Apr 2022 19:33:12 -0400 Received: by mail-ua1-f49.google.com with SMTP id i26so17086uap.6 for <55030@debbugs.gnu.org>; Tue, 19 Apr 2022 16:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NyReZl9MgfamlUzuzw5SybgiK2rzwKUE0DyrFWouLyA=; b=RIYO1OvPSRJ41lG/+j75PGF9reGb6T/N66DKY1uQcPuu15g6wzyPAhL2XFQC0HMH3O j6a/ss9lumupcCCApHuDGOIm1KS2iJWlXCLqxHDRTe5cjmU2L02PMC9vItGytUwU86zi bprgksFiRFey02J+g9IHvOaBDl7Xsg52zGsMDso0kf+UWzyPr6Gr4wmKhN9RlA+KWMtg 38g5e2GFuwtrW5AxAIgc6jUOD6f9cEgWbkXnfJYT0WYONJHpXBk/HePUvO7y99g5QtKE PtvKm0e1VRKZ0vAumvqRqrrhcLd89JOU2mPPdAr6/duLD9kQ42TeOXIei1u3YOEQacOl bdNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NyReZl9MgfamlUzuzw5SybgiK2rzwKUE0DyrFWouLyA=; b=E44guUn8DfemC92PtbCZRJ9m4CDKgaVwnKdDV4bNL3oINbzZ8KAFtuAf+IdZ6bWbVZ XNwcSBzkJk5vHcWJxlljK7ZFRAzR/AkFN5d1tBpk19sZBrBeWfj/l2lyOxrcJZwZn4gJ TF6vPSnp+WwDZLE2CcFYMpUQEtQdr39aMp1DOJE+4i/HgmHvkFgMrlaBvlzJy8zivFos UkxPQmeQRfe1YwNp03RF0STBkJ9Z1fLQ9lBp6lN50LNh0UHIGanBgzsT+2lCMBghlOJH ODtiOzT2InLIK07vLha/H30cUua0XLXsJAUjrU7cRp57BS/luKdsQ//X+X2iOu/WPQ2D u87Q== X-Gm-Message-State: AOAM531NIwry5/NjHQOk5lFT8vCXEtzDHbmXLvWgPBxcjS4bWHgiK51p 4cIF0Q1AnX4zR64oeRPO1MgpTuyyfYX1HW0p X-Google-Smtp-Source: ABdhPJzcsKn0zYZg00Nymjn7NPxqlS1jGCMVSHNhzXIRNNrIX1WAFyzXAYuGQhONvHyRUmgUpiHUFQ== X-Received: by 2002:ab0:7308:0:b0:35f:acfb:c011 with SMTP id v8-20020ab07308000000b0035facfbc011mr4727923uao.51.1650411186706; Tue, 19 Apr 2022 16:33:06 -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 n3-20020ab07483000000b0035fab9b938asm179265uap.28.2022.04.19.16.33.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Apr 2022 16:33:06 -0700 (PDT) From: Philip McGrath Date: Tue, 19 Apr 2022 19:31:48 -0400 Message-Id: <20220419233214.275789-4-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220419233214.275789-1-philip@philipmcgrath.com> References: <20220419232736.272970-1-philip@philipmcgrath.com> <20220419233214.275789-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650411261; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NyReZl9MgfamlUzuzw5SybgiK2rzwKUE0DyrFWouLyA=; b=IZiBTrF/VIDT0v6QlLYyg+n2WimT+P+5qmJ+2baOQt590mOsPuL8Ehvti2TxbL3ULvprjB z8qLrw1MaKu+DufiEfg92EZEBpBFzf8wk3H/p/FwrcgFMlKFgXIMt1XryXIZwaSe04O8Je Yhg9pjQie1lPV1dbJgvILeXN94mekU1BHgGz/X2dA/8PjKc1urIhCzlV9tGaqA33Udlnl2 1OmIpdEPxJU8J+bXgSpIwCYGtehq9eXPr4BvKgpOomqJYMB6U2m2YbPyut1rRa9uFWz2P5 /fZF9NkySP44R3S1xzJNMCaj7qWxeWOnY1DcqEAcZ4QxGQeg1Bj+oSqi5CYwtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650411261; a=rsa-sha256; cv=none; b=pi6rNLGAxekpGJJhvINue05wX3Vko5d4GFHbSuuE7dx26WdPOnnCMNLPKIOans4oEapI59 3ouHRfAllXJyISVp6BzjmaBQcetfn+t+B3Plaiv45J1SvUXeizhDBaSjUZYWWJ8kmJwC7s aif0N6MJH2mZl/V/6s133GHVmYuOifW7+5SiamfKU4bbxbOiKVT2DT+nw2dRZq4iYu3fV9 NnJTRJC/qQ7y79v3SAZw0N1yB/0qRbUVMhtuObqQU/ef1h+W4PI6F5QD3kWzP9pP4Q5ygP O/lHDwebhmOvBPV103j537MV8+NxHvf5U47D2r8ISEe+i/0wXenpV7HnfcrSVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=RIYO1OvP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=RIYO1OvP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 87E70EE69 X-Spam-Score: 2.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: z+8HgwO9zp/j Both of these packages are needed for 'elm-build-system' to work. * gnu/packages/elm.scm (elm-core, elm-json, elm-json-bootstrap): New variables. --- gnu/packages/elm.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm index 22c1db5942..b61d238cff 100644 --- a/gnu/packages/elm.scm +++ b/gnu/packages/elm.scm @@ -99,3 +99,59 @@ (define-public elm the browser. The @command{elm} exectable includes commands for developers such as @command{elm make} and @command{elm repl}.") (license license:bsd-3))) + +(define-public elm-core + (package + (name "elm-core") + (version "1.0.5") + (source + (elm-package-origin + "elm/core" + version + (base32 "0g3xbi8f9k5q45s95nx3jfvzwdf4b2n63a52wr4027d2xjx0pmvl"))) + (build-system elm-build-system) + (inputs (list elm-json-bootstrap)) + (arguments + (list #:implicit-elm-package-inputs? #f)) + (home-page "https://package.elm-lang.org/packages/elm/core/1.0.5") + (synopsis "Elm's standard libraries") + (description "Every Elm project needs this package!") + (license license:bsd-3) + (properties '((upstream-name . "elm/core"))))) + +(define-public elm-json + (package + (name "elm-json") + (version "1.1.3") + (source + (elm-package-origin + "elm/json" + version + (base32 "1hx986yqw1v2bpkrh6brszl8n8awwg1s8zi7v5qg0p1rqwvjlicz"))) + (build-system elm-build-system) + (propagated-inputs (list elm-core)) + (arguments + (list #:implicit-elm-package-inputs? #f)) + (home-page "https://package.elm-lang.org/packages/elm/json/1.1.3") + (synopsis "Encode and decode JSON values in Elm") + (description + "This package helps you convert between Elm values and JSON values.") + (license license:bsd-3) + (properties '((upstream-name . "elm/json"))))) + +(define-public elm-json-bootstrap + ;; elm/core doesn't depend on elm/json, + ;; but elm-build-system's strategy for building it + ;; (and everything else) does + (hidden-package + (package + (inherit elm-json) + (name "elm-json-bootstrap") + (propagated-inputs '()) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'validate-compiled)) + #:implicit-elm-package-inputs? #f))))) -- 2.32.0