From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id unbVOdjUmmBrOQEAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 21:02:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wEarNNjUmmBjcQAAbx9fmQ (envelope-from ) for ; Tue, 11 May 2021 19:02:48 +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 5D6A517E4A for ; Tue, 11 May 2021 21:02:48 +0200 (CEST) Received: from localhost ([::1]:32806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgXeZ-0002ff-H8 for larch@yhetil.org; Tue, 11 May 2021 15:02:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgXZ3-0003Ps-AA for guix-patches@gnu.org; Tue, 11 May 2021 14:57:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgXZ2-0006A7-N5 for guix-patches@gnu.org; Tue, 11 May 2021 14:57:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgXZ2-0000pm-Md for guix-patches@gnu.org; Tue, 11 May 2021 14:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48364] [PATCH 5/5] gnu: Add tz. Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 May 2021 18:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48364 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48364@debbugs.gnu.org Cc: Stefan =?UTF-8?Q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16207593743092 (code B ref -1); Tue, 11 May 2021 18:57:04 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2021 18:56:14 +0000 Received: from localhost ([127.0.0.1]:37400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgXYE-0000ni-CB for submit@debbugs.gnu.org; Tue, 11 May 2021 14:56:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:48194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgXYB-0000nJ-Fz for submit@debbugs.gnu.org; Tue, 11 May 2021 14:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgXYB-0000Ta-7o for guix-patches@gnu.org; Tue, 11 May 2021 14:56:11 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:56614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgXY9-0005ZO-1t for guix-patches@gnu.org; Tue, 11 May 2021 14:56:10 -0400 Received: from localhost (217-149-167-109.nat.highway.telekom.at [217.149.167.109]) by dd3624.kasserver.com (Postfix) with ESMTPA id A99085D4206F; Tue, 11 May 2021 20:56:07 +0200 (CEST) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Date: Tue, 11 May 2021 20:55:54 +0200 Message-Id: <20210511185554.67355-5-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210511185554.67355-1-stefan@xsteve.at> References: <20210511185554.67355-1-stefan@xsteve.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620759768; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=libeeIeFxR0OIuxiqNoXpOyBcgGswANW6wvFEOWODwc=; b=cYZ4/kDkrKm2EwZoo+CdClN3COjzHZOV43WZ7hDFnxRt6VrLyYuTNMeOVgwJNgQXmiHeub 4t/1P+l5tgmKlfvoWs65tQ0SeRo3pDgEcMKTKjwZ3BeBVmTS3GSgC4engp41S7Nee1vDS+ /vYDZWT2MB1bYRn+S69HCfGxjAgFdpMi8tJfo2veHrGbj3UlOdoMshkcfP4uXplcCx0P35 jJp3yYME4gSm0VscWty1s5Iye9fEcPAzsi1WOmS6a2HxYA0o1n9MWcgVBJGq4G/DcBvJ18 on2PQdjb2s0nlHRHTC8a0ldE/neofhBWO3oDnIO1Byoq4Fl37zQ0oV2GZZQGOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620759768; a=rsa-sha256; cv=none; b=k9u47qe4IBN4J9IzKRS5xR8yRwfpD2dsH0Lm+pfeWLKwNVbh/+TadXV5YHhbBCa7OzWbvJ h59NtPWOaEoJ3blnTUgLlxs8OzgEqoweTdOFMULS+3BYgZjJnZzjyRlJtAn9L2AW+fj2lQ 31VZ1PG1cZ1nfe2LObCPRSB/MRBhOsHvmuRGiVNsirEtkWwygkHJPs34iGaRtkyoCZJg5M hlEqo/SWY3WM/misNC48kzCPlVu63LuLhvukrSzXR1MGsX57ADlHVTBO/uAB+jdcnT0Wfw wLZtrFXDonAhWFNhDkZJTI2H6Q+ryvYPUCI8V8MUIGOjibBhzV6ywurcvF+21Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 5D6A517E4A X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: dncgPSXD31Hk * gnu/packages/time.scm (tz): New variable. --- gnu/packages/time.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index d6ebb59a1e..fbe7a8b5c1 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Tanguy Le Carrour ;;; Copyright © 2021 Ryan Prior +;;; Copyright © 2021 Stefan Reichör ;;; ;;; This file is part of GNU Guix. ;;; @@ -540,3 +541,37 @@ calls.") from a starting point you provide. The user can pause and resume the countdown from the text user interface.") (license expat))) + +(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 + '(#:import-path "github.com/oz/tz")) + (native-inputs + `(("go-github-com-charmbracelet-bubbletea" ,go-github-com-charmbracelet-bubbletea) + ("go-github-com-containerd-console" ,go-github-com-containerd-console) + ("go-github-com-google-goterm" ,go-github-com-google-goterm) + ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) + ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) + ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi) + ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate) + ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv) + ("go-golang-org-colorful" ,go-golang-org-colorful) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) + (home-page "https://github.com/oz/tz") + (synopsis "Display time across a few selected time zones.") + (description + "tz is a cli tool that displays a given time in several time zones. Use +the environment variable TZ_LIST to specify a list of time zones.") + (license gpl3))) -- 2.25.1