From patchwork Tue Jan 11 10:45:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 36221 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4C37027BBEA; Tue, 11 Jan 2022 10:46:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B853827BBE9 for ; Tue, 11 Jan 2022 10:46:37 +0000 (GMT) Received: from localhost ([::1]:51692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7Efk-0001qF-Rs for patchwork@mira.cbaines.net; Tue, 11 Jan 2022 05:46:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7EfL-0001oD-1x for guix-patches@gnu.org; Tue, 11 Jan 2022 05:46:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7EfC-0007LX-Pg for guix-patches@gnu.org; Tue, 11 Jan 2022 05:46:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7EfC-0005M4-LH for guix-patches@gnu.org; Tue, 11 Jan 2022 05:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53185] [PATCH 1/3] gnu: Add python-geojson. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Jan 2022 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53185 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53185@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.164189795220563 (code B ref -1); Tue, 11 Jan 2022 10:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2022 10:45:52 +0000 Received: from localhost ([127.0.0.1]:54269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7Ef2-0005La-9G for submit@debbugs.gnu.org; Tue, 11 Jan 2022 05:45:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:53244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7Ef0-0005LO-0o for submit@debbugs.gnu.org; Tue, 11 Jan 2022 05:45:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7Eez-0001hP-KU for guix-patches@gnu.org; Tue, 11 Jan 2022 05:45:49 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:64641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7Eew-0007Jg-Td for guix-patches@gnu.org; Tue, 11 Jan 2022 05:45:49 -0500 Date: Tue, 11 Jan 2022 10:45:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1641897941; bh=ELzpkskyLlY/04FmXiBZvtZPyRBnv6CFLHZVQd6kdJI=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=uIw6E7tpCg3AnXgBNz0sVlY+tHRC1jubdFtMpB+LeMQljw3TIosPw3OXR0dKuV4l8 h8JVzFK4gFZEj8+85JF8bhLRarIjjvBqucWyvkKxLKoGrXv4OlVDN5DAVt4MJmjbK7 OyE8jFs3cCXBboFL0HdeSIoQpJOxb+UMplreIPbOkpT3CdTpresHuN+Ndc1nFMlkCc P1Rt+OPkACZUwXG98gEbb5f2fQ0+xOE9FKeqlVQuW3piwAfmjLvlz9dUzWCylD3cAT cRHDyNVeYyuWqm0tJzFZbizDNW/RcLe3nk0wQQcfPiu1wWjtIJ3EXqvuexxjRhvEwV j7gDDbWGwuLUA== Message-ID: <3EtzkFG7CNAql9uy5cwCklu7UiM3k0skvRz9CAgX0cEdaA_d4OIUzNq59Vyorc1dD0EArvPmoz7Gi-fQLnZ9y6Q1F74qb15BXuf7JS_3I0o=@protonmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.134; envelope-from=phodina@protonmail.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi, this patch series adds command line tool to show weather in your preferred location. ---- Petr From 1cb1ea2208e1575b3cdf5539644c9e4e435c0fab Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 11 Jan 2022 11:29:23 +0100 Subject: [PATCH 3/3] gnu: Add wfetch. * gnu/packages/admin.scm (wfetch): New variable. diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 918a07f014..f64e9f6530 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1859,6 +1859,45 @@ (define-public opendoas (license (list license:bsd-3 ; libbsd/* license:isc)))) ; everything else +(define-public wfetch + (let ((commit "e1cfa37814aebc9eb56ce994ebe877b6a6f9a715") + (revision "1")) + (package + (name "wfetch") + (version (git-version "0.1-pre" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Gcat101/Wfetch") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dmr85plx8zr6s14ym3r32g6crwxghkval5a24ah90ijx4dbn5q5")))) + (build-system python-build-system) + (arguments + `(#:use-setuptools? #f ; no setup.py + #:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share"))) + (mkdir-p share) + (substitute* "wfetch/wfetch.py" + (("os.sep, 'opt', 'wfetch'") (string-append "'" share "'"))) + (install-file "wfetch/wfetch.py" bin) + (copy-recursively "wfetch/icons" share))))))) + (inputs (list python-pyowm python-fire python-termcolor python-requests)) + (home-page "https://github.com/zJairO/wfetch") + (synopsis "Neofetch/pfetch, but for weather") + (description "This package provides Neofetch/pfetch, but for weather. +In order to use you must export WEATHER_CLI_API=.") + (license license:gpl3+)))) + (define-public wpa-supplicant-minimal (package (name "wpa-supplicant-minimal") -- 2.34.0