From patchwork Wed May 18 18:11:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 39493 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 E9E9B27BBE9; Wed, 18 May 2022 19:15: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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B00C727BBE9 for ; Wed, 18 May 2022 19:15:47 +0100 (BST) Received: from localhost ([::1]:41292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrOD4-00032M-SX for patchwork@mira.cbaines.net; Wed, 18 May 2022 14:15:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrOCP-0002K9-3P for guix-patches@gnu.org; Wed, 18 May 2022 14:15:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrOCO-0005os-OK for guix-patches@gnu.org; Wed, 18 May 2022 14:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrOCO-0006Zj-Jj for guix-patches@gnu.org; Wed, 18 May 2022 14:15:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55030] [PATCH v2 31/34] gnu: Add elm-myrho-elm-round. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 May 2022 18:15: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.165289766025000 (code B ref 55030); Wed, 18 May 2022 18:15:04 +0000 Received: (at 55030) by debbugs.gnu.org; 18 May 2022 18:14:20 +0000 Received: from localhost ([127.0.0.1]:33606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrOBg-0006V4-Bh for submit@debbugs.gnu.org; Wed, 18 May 2022 14:14:20 -0400 Received: from mail-ua1-f53.google.com ([209.85.222.53]:34622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrOBc-0006UQ-RY for 55030@debbugs.gnu.org; Wed, 18 May 2022 14:14:17 -0400 Received: by mail-ua1-f53.google.com with SMTP id q1so1141621uao.1 for <55030@debbugs.gnu.org>; Wed, 18 May 2022 11:14:16 -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=zKDB2r8reIkbrMZDNnjJFmW1i4KLlhkNnN9t1v52hh0=; b=Ow1wVZ7VOQa7KdV0Hk7xQIkVjJg43X99VNRtLcIA4h/X1RBr267VtaoYH51N1FTR/s UeIXcmIeqxhhbEcySfCKZS1K0xMhaJ3urvTQjUHBzJIcIk9ud1LKzTuP12dSMvx6nlh4 zYV0zCIZvnzWzFBjdxchfR4z4MP2jvjbB+N+gsbPEBG7NfReL7FJ2aAVOgQ6261FUueQ cLd6aQSoe83o22QToVOrpuBSqeIk0Y7IQchUFB938R2PahqdtlPrYgS4BSmmtrsW26X4 YS7iUtjuvpWWeRf/Ar4onveHCTDv4xslr73aSJYmiTaPuIAM3NmSdtKiXk2oo9xGyZ2m ubCg== 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=zKDB2r8reIkbrMZDNnjJFmW1i4KLlhkNnN9t1v52hh0=; b=zxcZi1skIiNUve1A2CybCc/KoRmbdjnmdNEBBjSiI5dHw1tkPBOxE9dsByq1ThIW6l q09z15RRGANC3+Zdyzu5UrNAbRs0+LN8mH6vBpZPbJESyRHQxhoIRxfoovXe8DXu3eEn u4Y3NZuQWUKBcZBXquj/+ozcZee7+7ZQ6ZJyw6sW9V3DkpR1C+qjREeiX5pgygaZstUh itYN8mOeU7dtL5Uv8nhBAMpxNB24PthpimQKrpnwxDale75bELX355KyXncXZtBHBzRh eZ/t84HodzJJFdHVXB9kUFBcwBNkRCWnme3K/DehdWrfxtscyYhhR4ZlZx8CknbNNRxO P/Cg== X-Gm-Message-State: AOAM531jX1i19gPM288aSz4Gw3QniZbD0E7kXfZZnfc1M+4+r1tX+97X pfo10fIHhijPrzP8xjXR9ehlTc4zEKSeTOy/ X-Google-Smtp-Source: ABdhPJzZV+Q0n1XGLYXPyVzNB1HkvTtTJeu6rv/3/ONfWTyGjFcv+fdCXSrBX7rhks2Ov8xLKKFsAA== X-Received: by 2002:ab0:70d7:0:b0:359:f05c:38bb with SMTP id r23-20020ab070d7000000b00359f05c38bbmr613365ual.76.1652897651410; Wed, 18 May 2022 11:14:11 -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 j16-20020a056102241000b00335e2812587sm105903vsi.3.2022.05.18.11.14.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 May 2022 11:14:11 -0700 (PDT) From: Philip McGrath Date: Wed, 18 May 2022 14:11:18 -0400 Message-Id: <7480f03a36854d5119aaef0f6da617f18d2e20e2.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 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/elm.scm (elm-myrho-elm-round): New variable. --- gnu/packages/elm.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm index 45f137dcdc..a4fb99625a 100644 --- a/gnu/packages/elm.scm +++ b/gnu/packages/elm.scm @@ -686,3 +686,24 @@ (define-public elm-justinmimbs-time-extra "This package provides extra functions for working with @code{Posix} times from @code{elm/time}.") (license license:bsd-3))) + +(define-public elm-myrho-elm-round + (package + (name "elm-myrho-elm-round") + (version "1.0.4") + (source + (elm-package-origin + "myrho/elm-round" + version + (base32 "0y3j43wr815cvwz5310zalnqzpg3hw8h127zjjlf6x8ynapc2mdb"))) + (build-system elm-build-system) + (propagated-inputs (list elm-core)) + (inputs (list elm-explorations-test)) + (home-page "https://package.elm-lang.org/packages/myrho/elm-round/1.0.4") + (synopsis "Flexible rounding of Elm @code{Float}s") + (description + "This library converts a @code{Float} to a @code{String} with ultimate +control how many digits after the decimal point are shown and how the +remaining digits are rounded. It rounds, floors and ceils the @dfn{common} +way (i.e. half up) or the @dfn{commerical} way (ie. half away from zero).") + (license license:bsd-3)))