From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GP/pDU83hWKMWwAAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 20:13:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uJ7SDU83hWLEVgAAauVa8A (envelope-from ) for ; Wed, 18 May 2022 20:13:35 +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 DBB083FB4D for ; Wed, 18 May 2022 20:13:34 +0200 (CEST) Received: from localhost ([::1]:36086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrOAv-0007lQ-MB for larch@yhetil.org; Wed, 18 May 2022 14:13:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrOAS-0007jh-FN for guix-patches@gnu.org; Wed, 18 May 2022 14:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrOAS-0005Db-6n for guix-patches@gnu.org; Wed, 18 May 2022 14:13:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrOAS-0006Lm-2B for guix-patches@gnu.org; Wed, 18 May 2022 14:13:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55030] [PATCH v2 04/34] gnu: Add elm-core and elm-json. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 May 2022 18:13:04 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Philip McGrath Received: via spool by 55030-submit@debbugs.gnu.org id=B55030.165289755224216 (code B ref 55030); Wed, 18 May 2022 18:13:04 +0000 Received: (at 55030) by debbugs.gnu.org; 18 May 2022 18:12:32 +0000 Received: from localhost ([127.0.0.1]:33483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrO9v-0006IQ-Si for submit@debbugs.gnu.org; Wed, 18 May 2022 14:12:32 -0400 Received: from mail-vs1-f47.google.com ([209.85.217.47]:36582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrO9q-0006HS-4P for 55030@debbugs.gnu.org; Wed, 18 May 2022 14:12:26 -0400 Received: by mail-vs1-f47.google.com with SMTP id a127so2931317vsa.3 for <55030@debbugs.gnu.org>; Wed, 18 May 2022 11:12:26 -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=A40wEgFKKY9lYeWzxj9PYAKWwU0RVrK9CMU3xjzroE4=; b=duuhDif1zXaTlOACA7J8sP3KSh9rLlF4auoeT7FHnKWvsfOPBSSuZxew6nhLC1LHie biDT1V6MsFicclXBOYHkNGt6NntsYsaZ2B6+kRjWOOWAYVKEv29Ru8l493oUGKTyt56E 2xXGZ2MDpDUmtz3QQ1BqQcgqerd9Jll7MPvkEFBOzILJgSixvKNUtrJvvSOqk4bSxU5p RTP/ylWOxRjRNEoOYp531VviWQ/L5PgO3N9AP04wBhvKR7oTeE586zORPoRRgThcXJf7 IPehBJbi4TWOmjwzTN5gRH1JiNkn2yCyH+AN0jgnmMifzMW9hhtoE+8/Am+RJegW4px4 rggQ== 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=A40wEgFKKY9lYeWzxj9PYAKWwU0RVrK9CMU3xjzroE4=; b=tXE9lxG6hyf/4tvm9I2aOTSqRMVgta5nhRn4CkN4oHJYWNuyUZY6JvgWVx40sG3ccA L39GtLvVLNkXPAzC11M93DU7Vz6uoL4T2ejhYZ/GQL3TgFx2LwQ0KmbVAfoWIYgu4McU wfDaknpS+CucJJ6Z297zXJg5vmLMEnS3WAeGWZTRW03WuFhOj4lavJpaxj33bZa4682v guvq2KlpFTofDLHwnX54XDtTpatgf01l6JH5eWPVyZ0iIPznSF7Isq1rWUkpsVZ1RJDz vZUBOw80U9EX2t+MQ+MuntC3gZn6KQJtrn4y98zhXER6QvwQx0xFB33TC7yjhwJNbsAV mvZg== X-Gm-Message-State: AOAM531IBcIciUjZUd6vOtsdbApHr9+Vzyy8ciKLEvh1ByI4ZBleghQM LYgpv7F1sdY8UVUNCJND/1OPrMqolYiMWnTN X-Google-Smtp-Source: ABdhPJxdCT30ghCkeTsPsRmEvgWvIdzKr6mixsWXorpDiidexjwbA9GPCsYkZOKBq7WlYYjUBO1+jA== X-Received: by 2002:a67:f547:0:b0:32c:dedd:a0b2 with SMTP id z7-20020a67f547000000b0032cdedda0b2mr646734vsn.39.1652897540411; Wed, 18 May 2022 11:12:20 -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 e9-20020a056102310900b00335b911757csm254098vsh.26.2022.05.18.11.12.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 May 2022 11:12:18 -0700 (PDT) From: Philip McGrath Date: Wed, 18 May 2022 14:10:51 -0400 Message-Id: <44d6846eec4e21cb7016e64b6d9cc52ae101e511.1652890702.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: <20220419232736.272970-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=1652897615; 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=A40wEgFKKY9lYeWzxj9PYAKWwU0RVrK9CMU3xjzroE4=; b=piA4O+f0kpNUwFwMPXj6Fw9raeOKWkZaQW70SckXHoaZRalZ0njjpj4zZF/J39be3CmPO5 2C0ST8yHTQCE85OKP5sUCoJkuezRoDg/AXOTaeT2f1vjpkO9A2PgHhCrq4StEZlEKuAbsj 8L+Qnd8ESJDAUozAzEFYOCLCBkuTHjWYXZ5jPVTxQkJxN1mjE+Ji/jSiZWrbjZkviNUFnO Vw0fpNdTEe0qgJDFHm7t4Wmkm2b6jUXoExsrDu9fqg1K40eHNJDQPHX9JNmNP1Rlh7A9Xr SXPfZPyFwbRuWx8PZQsvGJSybQcbMspjtBQWcpMSNKwIzEEOACrLZGT7G4Rb2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652897615; a=rsa-sha256; cv=none; b=DIIynOv3iV5WtHrrxVZey96b0Zuw2F4xu6NX7M3bpv5zgkts6OR/ICZzUKGdrLpVo0GZgk pSq/Rf23kMHdJ1NQnQ1Hd482n3YOwUoY1BXOpwMZGTHWTaZ92QJWK+7uAeYbAz1xgkm8y7 KCvF2HKqm+w4tB/tyn2tR5RQrINOswhXD9L/geM7OQ3OtuVOKo6Ot7YNUKgRkQIAcRBhDY +bo1mOvWSmVxKTlNtUhADRxzVvJbIp7eGNJP6cfsID30B7NVGEeFdZdDM5I4teO5/dv95p q6cxC5CORMdFEDcF0O7qEtH0lwfXzbE909Fmue+jxGae7oDmWNdA90sJXG/WZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=duuhDif1; 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: 3.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=duuhDif1; 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: DBB083FB4D X-Spam-Score: 3.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: NOauROO7L84S 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 | 55 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm index 35bdcc65f5..4ad3a000cb 100644 --- a/gnu/packages/elm.scm +++ b/gnu/packages/elm.scm @@ -103,3 +103,58 @@ (define-public elm ;; The 'elm' package used to be called 'elm-compiler'. (define-public elm-compiler (deprecated-package "elm-compiler" elm)) + +(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))) + +(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))) + +(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") + (properties '((upstream-name . "elm/json"))) + (propagated-inputs '()) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'validate-compiled)) + #:implicit-elm-package-inputs? #f))))) -- 2.32.0