From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cAx/OzQ1UGGNbQEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 10:54:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +CYENzQ1UGGSEAAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 08:54:12 +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 8F64C2EA09 for ; Sun, 26 Sep 2021 10:54:12 +0200 (CEST) Received: from localhost ([::1]:55244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUPvH-000384-Jl for larch@yhetil.org; Sun, 26 Sep 2021 04:54:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPnR-00069o-Bq for guix-patches@gnu.org; Sun, 26 Sep 2021 04:46:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUPnQ-0002XD-Vk for guix-patches@gnu.org; Sun, 26 Sep 2021 04:46:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUPnQ-0002CX-UE for guix-patches@gnu.org; Sun, 26 Sep 2021 04:46:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48364] [PATCH 7/7] gnu: Add tz. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 08:46:04 +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: Guix Together Received: via spool by 48364-submit@debbugs.gnu.org id=B48364.16326459168329 (code B ref 48364); Sun, 26 Sep 2021 08:46:04 +0000 Received: (at 48364) by debbugs.gnu.org; 26 Sep 2021 08:45:16 +0000 Received: from localhost ([127.0.0.1]:35752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPmd-0002AC-MW for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:45:16 -0400 Received: from mx1.dismail.de ([78.46.223.134]:39704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPmZ-00028l-1l for 48364@debbugs.gnu.org; Sun, 26 Sep 2021 04:45:11 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e8375986 for <48364@debbugs.gnu.org>; Sun, 26 Sep 2021 10:45:06 +0200 (CEST) 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=VhEDICl+RjK5YvAU8uCQA N+5lBOEF1VcYQEng3q1JHA=; b=K4JUe2AWnyNXNdsq4XlDXgs6kkJ7DCjjv3//m bzZh9lh2cH8aV1UxL9QJVvKCjGN5/q33Kh5zI1eq24kc7RzcXDAjoNj5xW5Aj/QK T4hJJfeEz3GgvywakRwTepSicDRPXbgc0TJGn0e0WIKoBgwGVIg0wft724UbRyck UuJmIuUCBs7Z1gWX3ViTpJhNajW3CoH9tRphRNrMTFRS03kQMkyTbCcMWqXiyog7 2lBX1CiSbiXWtSxb9urNj5eFqPpH3UqytFXvfcbmBqijOSioqSw/qpy+IpDQhnUV 8Qmr0mVLHVBFXcTwFxGoda/FRHv4p6xyD2YLpXYO70ee/Bb8Q== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b4e7514b for <48364@debbugs.gnu.org>; Sun, 26 Sep 2021 10:45:05 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 0034596c for <48364@debbugs.gnu.org>; Sun, 26 Sep 2021 10:45:04 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 2b9b25ee (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 26 Sep 2021 10:45:03 +0200 (CEST) Date: Sun, 26 Sep 2021 04:44:47 -0400 Message-Id: <20210926084447.2779-7-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210926084447.2779-1-jgart@dismail.de> References: <20210926084447.2779-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632646452; 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=9uAWVq7GR5kVixtaZvt5ctrsZ9umUK0YRpOflETleH8=; b=UvLoU5bxV+bdONJW3FAKzHrJdG0txKCou+R4PMdmW+5facoBy2VhtAIWdQMSSPPYcEmzck 1ftTrxwbWLOqRCeC5Fn3X+BLQKlJkAYzzo/QOGmZ6l6sebJoxjgg+lioaDQ2GP6gWGTSOU NUHxHij6VkE48JUcnwaq9w8N01XNIB4xEgSB/wLxB6luUmiGmGKYYvYLpSH2fWyRkDCtPX Yx73pXtIoX8bpYa4kfnAK+YkKestBcNjaeujhtM1BPYMWHNYVx7FOXt5OFgOTjtfnyGJo7 r74zNLLs4D2lX3kx60X1llelSgw8on4UWuap++BzcbuNA5N9WW10UeprjIDWNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632646452; a=rsa-sha256; cv=none; b=Wy7TS4dRcGAIgg7XWCRpWVwviCf1H8AZjf6iuOLwbQRvVtn99zts1bL7lLiyjwR7DgwnAi B6n0aMOs/7kcdiH7YC/d9culvtaeCeuEaWkK+i8WNTZgYXE9MtVr0QXu1IheaqKP3pTeo4 KYD4Vh3WxmoV1/rL7JkSZhQ5tqgw6E/3qsw/+ObNhUeOcxlAJYlSvjeA+10eKIkpGotYvI zWmD9zjb/aRP+ncspSfxdW+VN2bC0Zy77ANGK+wV6pUeW0I12NcDXCbO5z3+gfIPI3HRr7 ixgeNE0VfaiZYo9ZfDHtLZnx0EIHaeeMHalF19nhBdNvOCY/o1qnvsui/6TTSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=K4JUe2AW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=K4JUe2AW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8F64C2EA09 X-Spam-Score: 2.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: /HLDebJHGb+z From: Guix Together * gnu/packages/time.scm (tz): New variable. Co-authored-by: jgart --- gnu/packages/time.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index df4b8ac6f5..407b3fe179 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -512,6 +512,39 @@ modifies the @code{time}, @code{gettimeofday} and @code{clock_gettime} system calls.") (license gpl2))) +(define-public tz + (package + (name "tz") + (version "0.5") + (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 "1sixfbph5013c9ccx0xqkp9jskg7jr9y29nn9j85q1zmg5by221v")))) + (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.33.0