From patchwork Tue Apr 12 12:23:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 38537 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 B451327BBEA; Tue, 12 Apr 2022 13:24:25 +0100 (BST) 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,MAILING_LIST_MULTI,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 7D09D27BBE9 for ; Tue, 12 Apr 2022 13:24:25 +0100 (BST) Received: from localhost ([::1]:60174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neFZI-00088b-L3 for patchwork@mira.cbaines.net; Tue, 12 Apr 2022 08:24:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neFYw-00086H-S6 for guix-patches@gnu.org; Tue, 12 Apr 2022 08:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neFYw-00034q-J3 for guix-patches@gnu.org; Tue, 12 Apr 2022 08:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neFYw-0007e4-Ct for guix-patches@gnu.org; Tue, 12 Apr 2022 08:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54882] [PATCH 1/2] gnu: go-github-com-spf13-cobra: Update to 1.4.0. References: <20220412121039.23573-1-contact@dhruvin.dev> In-Reply-To: <20220412121039.23573-1-contact@dhruvin.dev> Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54882@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 54882-submit@debbugs.gnu.org id=B54882.164976622129352 (code B ref 54882); Tue, 12 Apr 2022 12:24:02 +0000 Received: (at 54882) by debbugs.gnu.org; 12 Apr 2022 12:23:41 +0000 Received: from localhost ([127.0.0.1]:47886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFYa-0007dL-Vw for submit@debbugs.gnu.org; Tue, 12 Apr 2022 08:23:41 -0400 Received: from out1.migadu.com ([91.121.223.63]:23748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFYY-0007d3-RM for 54882@debbugs.gnu.org; Tue, 12 Apr 2022 08:23:39 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=key1; t=1649766217; h=from:from: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; bh=BSt3gGHoyUlyJtH+erYingu2sa4beKGPNXMk31yvsy0=; b=KU/SXe57M/NPdyMnhiz5bI33zOEx/lYxB0Z3kOxbc/mdyHPz/ZiS1c6/huf7cEXC3LNXzs O6cwNAFAF8berdJ2ooFzo+sSz3JHU5/dEt9HjtCC8dJElTAydnj4QKAjLOm8TNWd32L68d m6OoLfjuIqrqmOlQNKUUL070rzB3VLk= Date: Tue, 12 Apr 2022 17:53:18 +0530 Message-Id: <20220412122319.24231-1-contact@dhruvin.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: dhruvin.dev 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: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-spf13-cobra): Update to 1.4.0. --- gnu/packages/golang.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f3cc1bd6b8..782e0c9ef5 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Lu Hui ;;; Copyright © 2022 Pier-Hugues Pellerin +;;; Copyright © 2022 Dhruvin Gandhi ;;; ;;; This file is part of GNU Guix. ;;; @@ -3510,7 +3511,7 @@ (define-public go-github-com-spf13-cast (define-public go-github-com-spf13-cobra (package (name "go-github-com-spf13-cobra") - (version "1.0.0") + (version "1.4.0") (source (origin (method git-fetch) @@ -3520,7 +3521,7 @@ (define-public go-github-com-spf13-cobra (file-name (git-file-name name version)) (sha256 (base32 - "0vbppqqhby302a5ayn0296jqr71qkcd4c9am7wzsk6z71fwdsa7h")))) + "0ijhnk9pcks1v1cxri4kf6v1h26ym3jikmkgv4fdfrmm7sqgva13")))) (build-system go-build-system) (arguments `(#:import-path "github.com/spf13/cobra")) From patchwork Tue Apr 12 12:23:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 38538 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 9A38227BBEA; Tue, 12 Apr 2022 13:24:49 +0100 (BST) 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,MAILING_LIST_MULTI,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 040CB27BBE9 for ; Tue, 12 Apr 2022 13:24:49 +0100 (BST) Received: from localhost ([::1]:60766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neFZg-00004r-5W for patchwork@mira.cbaines.net; Tue, 12 Apr 2022 08:24:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neFYx-00086I-68 for guix-patches@gnu.org; Tue, 12 Apr 2022 08:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neFYw-00034w-Tc for guix-patches@gnu.org; Tue, 12 Apr 2022 08:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neFYw-0007eB-Pr for guix-patches@gnu.org; Tue, 12 Apr 2022 08:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54882] [PATCH 2/2] gnu: Add hut. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54882 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54882@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 54882-submit@debbugs.gnu.org id=B54882.164976622129358 (code B ref 54882); Tue, 12 Apr 2022 12:24:02 +0000 Received: (at 54882) by debbugs.gnu.org; 12 Apr 2022 12:23:41 +0000 Received: from localhost ([127.0.0.1]:47888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFYb-0007dN-7J for submit@debbugs.gnu.org; Tue, 12 Apr 2022 08:23:41 -0400 Received: from out1.migadu.com ([91.121.223.63]:23760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFYZ-0007d7-9x for 54882@debbugs.gnu.org; Tue, 12 Apr 2022 08:23:39 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=key1; t=1649766218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ls9bbYz5CaXDhzORJ+ITke37fs7FVPArMnH9DxSSFdU=; b=LywXZ+/BKOoiU5zOZznUTGfFpST1JeR5m7Lv64njtMPfdzKrll1SWDWXC9zQr8SdB3ni93 JicVEK3u3GmmIAt80mhUmd5N5NfiM1T009F3r6SndSdY1pdPm4zmuzIVVC3WpmvV8X20ft odpcbmTRcIOqdVYVjTnR2EneTP012mA= Date: Tue, 12 Apr 2022 17:53:19 +0530 Message-Id: <20220412122319.24231-2-contact@dhruvin.dev> In-Reply-To: <20220412122319.24231-1-contact@dhruvin.dev> References: <20220412122319.24231-1-contact@dhruvin.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: dhruvin.dev 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: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (hut): New variable. --- gnu/packages/golang.scm | 143 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 782e0c9ef5..f46b1ae78f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9776,3 +9776,146 @@ (define-public go-github-com-go-chi-chi-v5 "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user decompose request handling into many smaller layers.") (license license:expat))) + +(define-public go-github-com-google-shlex + (package + (name "go-github-com-google-shlex") + (version "0.0.0-20191202100458-e7afc7fbc510") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/shlex") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14z8hqyik910wk2qwnzgz8mjsmiamxa0pj55ahbv0jx6j3dgvzfm")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/google/shlex")) + (home-page "https://github.com/google/shlex") + (synopsis "shlex") + (description + "Package shlex implements a simple lexer which splits input in to tokens using +shell-style rules for quoting and commenting.") + (license license:asl2.0))) + +(define-public go-git-sr-ht--emersion-go-scfg + (package + (name "go-git-sr-ht--emersion-go-scfg") + (version "0.0.0-20211215104734-c2c7a15d6c99") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~emersion/go-scfg") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02gn8hz8zfv8y0krysx2wv951gw8hmhdfqf1ysidwm7i293365w4")))) + (build-system go-build-system) + (arguments '(#:import-path "git.sr.ht/~emersion/go-scfg")) + (propagated-inputs + `(("go-github-com-google-shlex" ,go-github-com-google-shlex) + ("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew))) + (home-page "https://git.sr.ht/~emersion/go-scfg") + (synopsis "go-scfg") + (description "Package scfg parses configuration files.") + (license license:expat))) + +(define-public go-git-sr-ht--emersion-gqlclient + (package + (name "go-git-sr-ht--emersion-gqlclient") + (version "0.0.0-20220202181617-4e6e9c763dd2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~emersion/gqlclient") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d9hmaz7yy02bk455gmaav818xi49sw69jyx6dxzymv6ln7r1cv1")))) + (build-system go-build-system) + (arguments '(#:import-path "git.sr.ht/~emersion/gqlclient")) + (home-page "https://git.sr.ht/~emersion/gqlclient") + (synopsis "gqlclient") + (description + "This package provides a GraphQL client and code generator for Go.") + (license license:expat))) + +(define-public go-github-com-juju-ansiterm + (package + (name "go-github-com-juju-ansiterm") + (version "0.0.0-20210929141451-8b71cc96ebdc") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/juju/ansiterm") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05mk7mlvg11dd6b0j0wlq547ghbmx2ywwrlbcb4kddpg7qaqp1va")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/juju/ansiterm")) + (propagated-inputs + `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1) + ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) + ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable) + ("go-github-com-lunixbochs-vtclean" + ,go-github-com-lunixbochs-vtclean))) + (home-page "https://github.com/juju/ansiterm") + (synopsis "ansiterm") + (description + "Package ansiterm provides a Writer that writes out the ANSI escape codes for +color and styles.") + (license license:lgpl3))) + +(define-public go-github-com-lunixbochs-vtclean + (package + (name "go-github-com-lunixbochs-vtclean") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lunixbochs/vtclean") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jqn33l1kzy4dk66zbvxz7rlgkgg34s9mhc8z0lrz0i88466zhd8")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/lunixbochs/vtclean")) + (home-page "https://github.com/lunixbochs/vtclean") + (synopsis "vtclean") + (description + "Clean up raw terminal output by stripping escape sequences, optionally +preserving color.") + (license license:expat))) + +(define-public hut + (package + (name "hut") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~emersion/hut") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15ag8fibnahcfgd0w2j4k813z10ymi39rx8d3c8b9955zc62p1fr")))) + (build-system go-build-system) + (arguments '(#:import-path "git.sr.ht/~emersion/hut")) + (propagated-inputs + `(("go-golang-org-x-term" ,go-golang-org-x-term) + ("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2) + ("go-github-com-spf13-cobra" ,go-github-com-spf13-cobra) + ("go-github-com-juju-ansiterm" ,go-github-com-juju-ansiterm) + ("go-git-sr-ht--emersion-gqlclient" ,go-git-sr-ht--emersion-gqlclient) + ("go-git-sr-ht--emersion-go-scfg" ,go-git-sr-ht--emersion-go-scfg))) + (home-page "https://git.sr.ht/~emersion/hut") + (synopsis "CLI tool for sr.ht") + (description "This package provides a CLI tool for sr.ht.") + (license license:agpl3)))