From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GGgiIQFFvmFV1wAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 21:30:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oG3pHAFFvmEFDAAA1q6Kng (envelope-from ) for ; Sat, 18 Dec 2021 20:30:57 +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 2A94B2A2D9 for ; Sat, 18 Dec 2021 21:30:57 +0100 (CET) Received: from localhost ([::1]:45174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mygM4-0001DR-BY for larch@yhetil.org; Sat, 18 Dec 2021 15:30:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mygLS-0000LV-CB for guix-patches@gnu.org; Sat, 18 Dec 2021 15:30:19 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mygLH-0006MZ-9f for guix-patches@gnu.org; Sat, 18 Dec 2021 15:30:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mygLH-00044j-6j for guix-patches@gnu.org; Sat, 18 Dec 2021 15:30:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48364] [PATCH 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:30:07 +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.163985936615509 (code B ref 48364); Sat, 18 Dec 2021 20:30:07 +0000 Received: (at 48364) by debbugs.gnu.org; 18 Dec 2021 20:29:26 +0000 Received: from localhost ([127.0.0.1]:44011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mygKc-00041z-9r for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:29:26 -0500 Received: from mx1.dismail.de ([78.46.223.134]:38818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mygKS-000401-Jw for 48364@debbugs.gnu.org; Sat, 18 Dec 2021 15:29:17 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e2f01fc5; Sat, 18 Dec 2021 21:29:09 +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=khZQKtZE5qIL0B+lY+bYs7KZft2gk5rGJ5Cgb sfwzmUEdeqHpbl3IcBhcFkIOcHYWSNMC6e77y7Yte7OhrRImC2JGc1fy7AXeWZLv GMe1pJUJjBYorHu9Z0xzL9ZlGjojxZnXx4H0/hkUYwx8Y1m8tfGFe+FiOrOvU00L HPke6t20xpVVt1Lr47BwGBbGua3RxOvhJDcHwpIGfR9ebTchh+LTEfwxLdzvt+zs NzAUegwiLbbNxPK/vs3vNgWGs5ndGEKukMH1SaLRdMowicCNCmMQm6AMuD+Nxirl hkeQcRvfCqjfbBTRHqmKQt/S73o/Z46Ho2No/OrFJz07qCnnA== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id dc3cb80d; Sat, 18 Dec 2021 21:29:08 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 3b30b9a8; Sat, 18 Dec 2021 21:29:07 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 87afba92 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Dec 2021 21:29:06 +0100 (CET) Date: Sat, 18 Dec 2021 15:27:48 -0500 Message-Id: <20211218202754.18194-7-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=1639859457; 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=a6y5CH0izLl5hmCfW5fOT3NV7rhEIFDOSbjkQBADISiReUXMzDkbRZ2coHpKckmrz5LoqB 0F47Ywqg7pECHpvC2joD9HnpvZe6Xum6bjgXESXKXcEXEYmM9gtukz8j+hUfxkH+TPZMPs c8MhrB1rn+MWFwpP33g9pOd//DbA9V2gAtrsw5rwH64AJDv2uT8HexPaOuVlR6uCxgRJ1g IJGmbETVjes4+wkkwFYYo8ViuQGk4a11qPpMfzmxlkM/9jwNR8zooMJcA3LSq6sIbUY+ev 76ENRDYN7itog660mJjcI6vJNRSjIkrrvqnsTZGfz+F0ubJHJ2Ji0zLADlEs3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639859457; a=rsa-sha256; cv=none; b=OpELTKidyCn2I9RtclO4tOcJjvJg0wEVYtFQLCtn+bdlAB0Q4fHDXyynwiFvmatJl6zZyu iS8U5YFLalc2Tp0M2Ck81jmcEOtQcigrDB4BPo4z49PH9BuodlMmlyps0h+Mhxez2kOLNR QMBINTR5bJ5u/MAHXq6jUS67PQdxOIiZZCuaqrCLQbjG5TasAaGoJfF79Zs7+1UdZ8+Ogz Xq1WcEp2UG5sEI9wQy8J5Iea4XmgnmFFWtsMoSKlrc1XVcbR9hx75U2DH1Kz2iHCy8pFsB h0bfH27UX4igRy5YBmc7WoQ7oJpFhy65pG5iZRB6AeQGLPmTsLoehYlT6Dw/bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=khZQKtZE; 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=khZQKtZE; 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: 2A94B2A2D9 X-Spam-Score: -3.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1QnFN5ffmMRt 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