From patchwork Wed May 18 18:11:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 39510 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 1259427BBEA; Wed, 18 May 2022 19:17:15 +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 BC84C27BBE9 for ; Wed, 18 May 2022 19:17:14 +0100 (BST) Received: from localhost ([::1]:46140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrOET-0006KT-UH for patchwork@mira.cbaines.net; Wed, 18 May 2022 14:17:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrOCQ-0002Mo-45 for guix-patches@gnu.org; Wed, 18 May 2022 14:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrOCP-0005pF-NA for guix-patches@gnu.org; Wed, 18 May 2022 14:15:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrOCP-0006ay-Id for guix-patches@gnu.org; Wed, 18 May 2022 14:15:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55030] [PATCH v2 33/34] gnu: Add elm-terezka-intervals. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 May 2022 18:15:05 +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.165289766825032 (code B ref 55030); Wed, 18 May 2022 18:15:05 +0000 Received: (at 55030) by debbugs.gnu.org; 18 May 2022 18:14:28 +0000 Received: from localhost ([127.0.0.1]:33612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrOBn-0006Vg-TM for submit@debbugs.gnu.org; Wed, 18 May 2022 14:14:28 -0400 Received: from mail-vk1-f171.google.com ([209.85.221.171]:46835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrOBl-0006VB-MH for 55030@debbugs.gnu.org; Wed, 18 May 2022 14:14:25 -0400 Received: by mail-vk1-f171.google.com with SMTP id m203so1558913vke.13 for <55030@debbugs.gnu.org>; Wed, 18 May 2022 11:14:25 -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=9uKndU8gCLNoGy8MWGuZ/0DQioP41uBs+oqoZDBSf5Y=; b=Q1AXyTDE7QSaRyPMs5RI66rs1Dqtt4sJHQ7kAbYbSntPBmAAnaDl3nosKAcNgzE3Qd CBIoig9DKd+ksA89FyJvorev3DV+ez0N3m8kBTgTSH3oQKt1ZPUpgdOW5kcBTi3qJorU ZXXGC3/0j0Ep4ekoghbUpz+KAKeiq8y92lkXbb1+E103u/XxRagAVLKywdbhUidNj9su 41jK49uhGFluDuPNVg1bBuHVHfCzXzgJDlteeafRlmo0vklVEVt7hHCJF4oEg9SN4HAe eQaJTwTlzWWcMR/G7oTi8Fw9ANsJNwMQUgUd+TeL8lSHnP6K2mMUKt+FVKcyChGax7+C Q0uA== 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=9uKndU8gCLNoGy8MWGuZ/0DQioP41uBs+oqoZDBSf5Y=; b=myNueBzlY6wo16Pe0cLG63ltK0t7xz4elKzQzCHUgd/pSzeVcn2oKYHuStoJYV424Z OSEiqiMgw6MSV478kAlLcfFfph1RM6Sf3sAPfhEqg5lXWp3y7/k+gEVRi58vXdyiFAwU iB5/r6XRuKzbHpg+gm5LuGylrFKpWJ4tnebspSRHBP/rPMSLXITYaxRfmq+IIRg2UCbB npM7gB5oU6WgdZUhsMHr9sDYLFYHCoaekHSHBWojExWCwOTYgymn7jnryDTAF/eZ4f2T qyasQQxCozhyQKRDLY/eQ3E4KIr2CxZlYteOiXD3VErqQQrMtDNkIhFlDpkjRrHDHO82 yQxA== X-Gm-Message-State: AOAM530esdpujMhJ9Gpyu75lB1gVuMVSJyyTKmXp2LAcr3oXz0ndfmVv upKsfOl7V0m3W3uZd4wWLuLKCvB3cQe6TYFe X-Google-Smtp-Source: ABdhPJz+46g4CBlnVAt6NrOKatsI6nVI8dchgWzhEwijEsiFRSwAGVODiE+5HWF1xlhrWGSBjvMZxA== X-Received: by 2002:a1f:2987:0:b0:356:e150:67ad with SMTP id p129-20020a1f2987000000b00356e15067admr356855vkp.13.1652897660260; Wed, 18 May 2022 11:14: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 126-20020a670784000000b0032d275e690esm237879vsh.14.2022.05.18.11.14.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 May 2022 11:14:19 -0700 (PDT) From: Philip McGrath Date: Wed, 18 May 2022 14:11:20 -0400 Message-Id: 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-terezka-intervals): New variable. --- gnu/packages/elm.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm index a9b24b3b00..cf203addd5 100644 --- a/gnu/packages/elm.scm +++ b/gnu/packages/elm.scm @@ -729,3 +729,34 @@ (define-public elm-ryannhg-date-format strings, which makes formatting code more readable and can catch some errors at compile time.") (license license:bsd-3))) + +(define-public elm-terezka-intervals + (package + (name "elm-terezka-intervals") + (version "2.0.1") + (source + (elm-package-origin + "terezka/intervals" + version + (base32 "0h3im58sa6awyppch1v8ppcrzwc5h48yn45crx98m8zs4isx91lj"))) + (build-system elm-build-system) + (propagated-inputs + (list elm-ryannhg-date-format + elm-myrho-elm-round + elm-justinmimbs-time-extra + elm-time + elm-svg + elm-json + elm-html + elm-core + elm-danhandrea-elm-time-extra)) + (inputs (list elm-explorations-test)) + (home-page "https://package.elm-lang.org/packages/terezka/intervals/2.0.1") + (synopsis "Produce nice intervals for Elm charts") + (description + "This package provides an Elm library for producing nice intervals for +charts. It's useful in combination with @code{terezka/elm-charts}. When I +say ``nice'', I just mean that I try to calculate intervals which begin with +10, 5, 3, 2, or 1 (adjusted to magnitude, of course!). For dates, I try to +hit whole days, weeks, and months or hours, minutes, and seconds.") + (license license:bsd-3)))