From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YOIGGyRpHWIPhQAAgWs5BA (envelope-from ) for ; Tue, 01 Mar 2022 01:30:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uGtaGCRpHWJRrQAA9RJhRA (envelope-from ) for ; Tue, 01 Mar 2022 01:30:28 +0100 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 E8FEE2D6BD for ; Tue, 1 Mar 2022 01:30:27 +0100 (CET) Received: from localhost ([::1]:54934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOqPK-0003dF-Sy for larch@yhetil.org; Mon, 28 Feb 2022 19:30:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOqOx-0003br-1R for guix-patches@gnu.org; Mon, 28 Feb 2022 19:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOqOw-0002Ao-LP for guix-patches@gnu.org; Mon, 28 Feb 2022 19:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOqOw-0002Ad-1n for guix-patches@gnu.org; Mon, 28 Feb 2022 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54201] [PATCH] Add wego Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Mar 2022 00:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54201@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16460945838296 (code B ref -1); Tue, 01 Mar 2022 00:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Mar 2022 00:29:43 +0000 Received: from localhost ([127.0.0.1]:34995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOqOd-00029k-Dr for submit@debbugs.gnu.org; Mon, 28 Feb 2022 19:29:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:45260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOqOb-00029b-Qx for submit@debbugs.gnu.org; Mon, 28 Feb 2022 19:29:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOqOb-0003Ul-Ja for guix-patches@gnu.org; Mon, 28 Feb 2022 19:29:41 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:54843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOqOZ-00026n-9v for guix-patches@gnu.org; Mon, 28 Feb 2022 19:29:41 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6614720003 for ; Tue, 1 Mar 2022 00:29:36 +0000 (UTC) From: Nicolas Goaziou Date: Tue, 01 Mar 2022 01:29:35 +0100 Message-ID: <871qzmwm4w.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net 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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646094628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=4Hi8QLo0WUiUyzmCo2u6vxyasuvcTOyWYHOBhmly45M=; b=SGHHtUI7WvAfatxVn8TEFCcmdZyfqyrDZvwZrf2o3G+EVz41SxW1yhakmNQkd03sABTrNZ hNEtuK4+7xapjsIFz0X00AnRQiI3X+Z32nacyftPPcTqvf2VCZfTZBgncP1IuU1UVaKlF+ WnwdOIkcilIYjYAI/mMiwzeWayA5oT/EGOBj+u0IecsT5hcnZ0oSP1SY0GE7O4+kaxSIY+ 9f+fIy3w9w5C+AawZocCtPICiPOT8AMlPx2WCO5Y0O36tIkRLhG7j6zWk8fe8QZXM3Iy9T z4w7I8sWVLiL39BNYFjknHAGd5EQLE5qHthK14fPHhSQuDv2kiAE5liQ+/+z7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646094628; a=rsa-sha256; cv=none; b=rlyYw53JuEvKlpaHmmEUyDHOxtXHiHPJMdh4cthFh/vsRr7DZyXKmvtTEqIlGuYuYyBNEL Tj6op7K0PqUCZykQLE4l7JiskrZUHcpTpSsyhprp3ZYM/tdNrstDJjCqtCPyBuwLFJXG/b 9QYh3m268Glq+IEYkjkeH2jM+H/Tz3FP9ib+sknViRKP6x9f5oQrbf5nAHQ8faBGNPJajy aodkO6AsNeJXwX00TGgNkuqZUrIdJ/xFm1v6Axo7evmUbffWCzxFrpFZXOBorQJUvdDH6r Yop3JjlEtmgqpTLTZE7DrTkWJtsjfdlchpM/eqiKYtmUc6nRUT/4722F/d7uoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -4.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: E8FEE2D6BD X-Spam-Score: -4.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: vbcmMSfKVUPR --=-=-= Content-Type: text/plain Hello, The following two patches add wego. I create a new "weather.scm" file since I didn't know where to put it. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-schachmat-ingo.patch Content-Description: Add go-github-com-schachmat-ingo >From b8ff68982388247600aa8f4771e6ccd5794acf0e Mon Sep 17 00:00:00 2001 Message-Id: From: Nicolas Goaziou Date: Tue, 1 Mar 2022 00:58:14 +0100 Subject: [[PATCH] 1/2] gnu: Add go-github-com-schachmat-ingo. * gnu/packages/golang.scm (go-github-com-schachmat-ingo): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a093728805..0914b3cf23 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1158,6 +1158,28 @@ (define-public go-github-com-shadowsocks-go-shadowsocks2 proxy protocol.") (license license:asl2.0))) +(define-public go-github-com-schachmat-ingo + (package + (name "go-github-com-schachmat-ingo") + (version "0.0.0-20170403011506-a4bdc0729a3f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/schachmat/ingo") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gw0kddy7jh3467imsqni86cf9yq7k6vpfc0ywkbwj0zsjsdgd49")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/schachmat/ingo")) + (home-page "https://github.com/schachmat/ingo") + (synopsis "Go library to persist flags in a INI-like configuration file") + (description + "Ingo is a Go library helping you to persist flags in a INI-like +configuration file.") + (license license:isc))) + (define-public go-github-com-riobard-go-bloom (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9") (revision "0")) base-commit: 508960f95a3af0750a59005e2beb8ec5edf7fd5c -- 2.34.0 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0002-gnu-Add-wego.patch Content-Description: Add wego >From 84b5ea4501014800ec43b6335af6b554716f8ce0 Mon Sep 17 00:00:00 2001 Message-Id: <84b5ea4501014800ec43b6335af6b554716f8ce0.1646094084.git.mail@nicolasgoaziou.fr> In-Reply-To: References: From: Nicolas Goaziou Date: Tue, 1 Mar 2022 01:14:04 +0100 Subject: [[PATCH] 2/2] gnu: Add wego. * gnu/packages/weather.scm: New file. * gnu/local.mk: Register new file. --- gnu/local.mk | 1 + gnu/packages/weather.scm | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 gnu/packages/weather.scm diff --git a/gnu/local.mk b/gnu/local.mk index bc214b3443..4915ccbe2b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -603,6 +603,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/vulkan.scm \ %D%/packages/w3m.scm \ %D%/packages/wdiff.scm \ + %D%/packages/weather.scm \ %D%/packages/web.scm \ %D%/packages/web-browsers.scm \ %D%/packages/webkit.scm \ diff --git a/gnu/packages/weather.scm b/gnu/packages/weather.scm new file mode 100644 index 0000000000..bd83c1b660 --- /dev/null +++ b/gnu/packages/weather.scm @@ -0,0 +1,34 @@ +(define-module (gnu packages weather) + #:use-module (guix build-system go) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (gnu packages) + #:use-module (gnu packages golang)) + +(define-public wego + (package + (name "wego") + (version "2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/schachmat/wego") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bji9fywa0kg29zj1vrwq7l5f18hh0lcz6rl6sppi5id0qbjpiwl")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/schachmat/wego")) + (propagated-inputs + (list go-golang-org-x-sys + go-github-com-rivo-uniseg + go-github-com-mattn-go-isatty + go-github-com-schachmat-ingo + go-github-com-mattn-go-runewidth + go-github-com-mattn-go-colorable)) + (home-page "https://github.com/schachmat/wego") + (synopsis "Weather client for the terminal") + (description "@strong{wego} is a weather client for the terminal.") + (license isc))) -- 2.34.0 --=-=-=--