From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UOJJLndGvmEf3QAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 21:37:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AB75KXdGvmHqLQAAB5/wlQ (envelope-from ) for ; Sat, 18 Dec 2021 20:37:11 +0000 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 5F4962A5C9 for ; Sat, 18 Dec 2021 21:37:11 +0100 (CET) Received: from localhost ([::1]:47074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mygS6-0002wF-DP for larch@yhetil.org; Sat, 18 Dec 2021 15:37:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mygRy-0002ta-Bp for guix-patches@gnu.org; Sat, 18 Dec 2021 15:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mygRy-0007OH-34 for guix-patches@gnu.org; Sat, 18 Dec 2021 15:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mygRy-0004G4-0f for guix-patches@gnu.org; Sat, 18 Dec 2021 15:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48364] [PATCH v2 7/7] * gnu/packages/time.scm (tz): New variable. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Dec 2021 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48364@debbugs.gnu.org Cc: Jorge Acereda , Guix Together Received: via spool by 48364-submit@debbugs.gnu.org id=B48364.163985980716340 (code B ref 48364); Sat, 18 Dec 2021 20:37:01 +0000 Received: (at 48364) by debbugs.gnu.org; 18 Dec 2021 20:36:47 +0000 Received: from localhost ([127.0.0.1]:44039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mygRi-0004FO-Ul for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:36:47 -0500 Received: from mx1.dismail.de ([78.46.223.134]:38818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mygKW-000401-Lp for 48364@debbugs.gnu.org; Sat, 18 Dec 2021 15:29:21 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b8b3dd40; Sat, 18 Dec 2021 21:29:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=UvSJ5ZH/IbPf3FJ2gRCh4 xUOFf98wlEbsM00JBNmaDA=; b=qHY+Y9hGmm7KCGv89FYhlZ1oIDp4EVeSHhG0J uqFloK3u+KZTjoJLXb8W7nbQq9r4hXYEnpN/Cn77p68qDZFn3KJpe8iRwuT0UiAw T9G0N6jUMFJpvuBgb0k1Iaba81RiYbJMrpdErzt0PcJKUG6K73+aPKfqFo6MVvPM i+KrFIdg9KHXHK3sWyxPwmSJ/z9wCx8Vw0Mn16avYML3HlInMqV9aqvcn9tp+QB7 U1xeTdCp5vLN8lyDbhGwU+gy8hyor/7S45Hvq28XdCmFBCQb8VXCPcwywZlMGP2i adSMOoYgQNM6KOnFCORHLXI64yrtShI3Li0Zjbz42RNTB/Ifg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 00c9a21d; Sat, 18 Dec 2021 21:29:17 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 790c0088; Sat, 18 Dec 2021 21:29:16 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 45d5dbc7 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Dec 2021 21:29:15 +0100 (CET) Date: Sat, 18 Dec 2021 15:27:55 -0500 Message-Id: <20211218202754.18194-14-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211218202754.18194-1-jgart@dismail.de> References: <20211218202754.18194-1-jgart@dismail.de> 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639859831; h=from:from:sender:sender:reply-to: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=ZiiB7D3TbnrgxFlipYkLDjv0LPIll8G2hFBAufurFL0=; b=Og+dCEaH/aDZ0adhZGIXymZAyOf2TmlZG1JD/tMYm681t2p/YZ4+2mQhbMhuQ60+q3zBqI QLerQn2PHRx6GEjHxHFt0SeRshaTLjtmbvMksmFrFZnjsquyaAMDz0hGEmjVPlWXfC2kNS BBeL5PLCnVAjECZiOnRvoiKSETuc0fULzxhL5QgjNHBUrCU8djV2o2hxtrnbSQF+F1h3zA mAud/4rnCa5SQ1oJrO+jZm03oVIGoLarPiShcNo5mBx9GyFJZosbBWqIDZjnyN9EnpDo4Y IjAFt/5Bb4++JL3YnV1Yxc5pHc76HhivQ7pqAg26EJETVcQEnBU7isyMi5eOLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639859831; a=rsa-sha256; cv=none; b=qIN1uIOAI134c9aPzAr+4CvoneHj73+2Kvljy6rSHhzNogmx0+ccitS8SfoGIcJVq+kwX7 kijtXkHr76bUEm/cOXlWge3dFkAX9ECpR37fBSYV5rLo0U6bvKo3WuUw1E/bOu8cRm7HqY iVeUo5e/BOffz2FyANCelwLcF73vs6X/wiwn9UUJgtozwmcmnaxIJCd7Aar9smptVp8Nia A9Al7GlHmUkyhK0XkLc9UcyrI+p7xhJ6Z2KaUsRLkV4jY3OD7O2Xu0fhgWUvMFF3QXkpbq qjyZVc7oYjLfixqNocRHy+JoqT4z0wLnNjuttIcBw50rT23E3xD4OjoS3rV5hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=qHY+Y9hG; dmarc=pass (policy=none) header.from=gnu.org; 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.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=qHY+Y9hG; dmarc=pass (policy=none) header.from=gnu.org; 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: 5F4962A5C9 X-Spam-Score: -3.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: HsryRLy3L2EW From: Guix Together Co-authored-by: jgart Co-authored-by: Jorge Acereda --- gnu/packages/time.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 97de5485ef..d4ff11228c 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -514,6 +514,39 @@ (define-public datefudge calls.") (license gpl2))) +(define-public tz + (package + (name "tz") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oz/tz") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nbl13xd95np89sbx8fn0jqrh1iy17hsy70kq31hmcvyns8dljhg")))) + (build-system go-build-system) + (arguments + `(#:go ,go-1.17 + #:import-path "github.com/oz/tz" + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key import-path tests? #:allow-other-keys) + (when tests? + (invoke "go" "test" "-cover" import-path))))))) + (inputs + `(("github.com/charmbracelet/bubbletea" ,go-github-com-charmbracelet-bubbletea) + ("github.com/muesli/termenv" ,go-github-com-muesli-termenv))) + (home-page "https://github.com/oz/tz") + (synopsis "TUI time zone helper") + (description +"@command{tz} helps you schedule things across time zones. It is an interactive +TUI program that displays time across a few time zones of your choosing.") + (license gpl3+))) + (define-public countdown (package (name "countdown") -- 2.34.0