From patchwork Sun Feb 11 10:52:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 60028 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 797F327BBEA; Sun, 11 Feb 2024 11:00:09 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham 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 63C2E27BBE2 for ; Sun, 11 Feb 2024 11:00:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ7Yr-0005G3-6t; Sun, 11 Feb 2024 05:59:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZ7Yp-0005FV-Me for guix-patches@gnu.org; Sun, 11 Feb 2024 05:59:47 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZ7Yp-0006YP-Ei for guix-patches@gnu.org; Sun, 11 Feb 2024 05:59:47 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZ7Z5-0005ez-GL; Sun, 11 Feb 2024 06:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69042] [PATCH 10/30] gnu: go-github-com-davecgh-go-spew: Move to (gnu packages golang-check). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 11:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69042 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69042@debbugs.gnu.org Cc: Sharlatan Hellseher , Katherine Cox-Buday , Sharlatan Hellseher X-Debbugs-Original-Xcc: Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by 69042-submit@debbugs.gnu.org id=B69042.170764915521568 (code B ref 69042); Sun, 11 Feb 2024 11:00:03 +0000 Received: (at 69042) by debbugs.gnu.org; 11 Feb 2024 10:59:15 +0000 Received: from localhost ([127.0.0.1]:38668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ7YI-0005bi-EU for submit@debbugs.gnu.org; Sun, 11 Feb 2024 05:59:15 -0500 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:59604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ7YF-0005bL-E0 for 69042@debbugs.gnu.org; Sun, 11 Feb 2024 05:59:12 -0500 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2d0e521de4eso11647181fa.2 for <69042@debbugs.gnu.org>; Sun, 11 Feb 2024 02:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707649129; x=1708253929; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P/vqXHGVUGvWbv0VFBCSxLMSN62354ECNUAfcxsEdOY=; b=YmWOU0vDTQULggXvaJxl5MHrtv5xjo4ZCoWwUyo9YXf0GHZyNz267YPnPiPMkF1GrA M+sBh4GUDdkgQxi6I7aDwOHBeAfdgq/dVJb/U7OEvMCCg4N3clJ+FrDHfquhOuJ9+FLt EPwV3+bO14U1MGv3qwo6g14dgnVFJD+92VzX2GgOfAgzeHNEZA6pli6Gqo7qiQ6NwpeE e155NDU+2AEmNz6J3C1wY4zPg/cjvRuXUDuIf+gByw1bYGFYNmWxFBu0PIRpvOzr983+ lekv0l0484gTuV3R/PUGgCrOy9D/1AFzhe4iV1oci0kbp/ZXpvvgVlNdQ7RHmDjMhSX9 jZlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707649129; x=1708253929; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P/vqXHGVUGvWbv0VFBCSxLMSN62354ECNUAfcxsEdOY=; b=Jq5+WPZV+bgNCUF/sq1WZKT5ddWQlRfSJDQrzEAN44KKRF6y+BdpLo35nPrJKPxGSh QSs2P2b3a06BzBDWcsZNAup1eO1BcUe5XFlhq+R2RXI/hZHPNSKNG0p/JRXeukmLmpzN r5zSEMiHFVLlMu9jHe+pJowEf4t70C0eVPNIehIBCgQXdFjkr7tSP8dsKPV4Ijouowdp 2514d2BNchulOsNcuq/2uRbHPMOVjePaJBE7trtWeW8FqCx4WeTpzuyZlQWJowwYsGv7 Hfxe4lLKXuVKH5hkrPJWqA/zTg5d3KDcsy/Vo8lyGAHKXpICGGdbGy3eYhIugQt3sRAb EZjQ== X-Gm-Message-State: AOJu0YynHwwApTxHfj1BuPxdzdIBm9fd8/ZYJEgb+yrhxQ2dxxzLIzsK zlEHUdnDGU0kYgz30WTF1wYrrdrqDvb/69nEaVr5pnxa/HB8YHEIWqI3iMrPEwg= X-Google-Smtp-Source: AGHT+IGQe6QMkIVDlDvQSY2e6EAyBT1hRy/DmDlZCars/gFQ1FrLI78TzhJsoea1Q1MAgJcxKTeoFQ== X-Received: by 2002:a05:600c:5248:b0:40e:f2d6:9dc with SMTP id fc8-20020a05600c524800b0040ef2d609dcmr3624236wmb.33.1707648816169; Sun, 11 Feb 2024 02:53:36 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id i19-20020a05600c355300b0040ff2933959sm5562615wmq.7.2024.02.11.02.53.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 02:53:35 -0800 (PST) From: Sharlatan Hellseher Date: Sun, 11 Feb 2024 10:52:59 +0000 Message-ID: <178825daa3ef225c9dc1c8b7cf2a86b7786db0ed.1707646257.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-davecgh-go-spew): Move from here ... * gnu/packages/golang-check.scm: ... to here. * gnu/packages/high-availability.scm: Add (gnu packages golang-check) module. Change-Id: I935006c3656b7bf18b91e529296778672338f094 --- gnu/packages/golang-check.scm | 38 ++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 38 ------------------------------ gnu/packages/high-availability.scm | 1 + 3 files changed, 39 insertions(+), 38 deletions(-) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 2decd1f664..c5e30f7fe1 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -124,6 +124,44 @@ (define-public go-github-com-cheekybits-is @end itemize\n") (license license:expat)))) +(define-public go-github-com-davecgh-go-spew + (package + (name "go-github-com-davecgh-go-spew") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/davecgh/go-spew") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/davecgh/go-spew" + #:import-path "github.com/davecgh/go-spew/spew")) + (home-page "https://github.com/davecgh/go-spew") + (synopsis "Deep pretty printer for Go data structures to aid in debugging") + (description "Package @command{spew} implements a deep pretty printer +for Go data structures to aid in debugging. + +A quick overview of the additional features spew provides over the built-in +printing facilities for Go data types are as follows: + +@itemize +@item Pointers are dereferenced and followed. +@item Circular data structures are detected and handled properly. +@item Custom Stringer/error interfaces are optionally invoked, including on +unexported types. +@item Custom types which only implement the Stringer/error interfaces via a +pointer receiver are optionally invoked when passing non-pointer variables. +@item Byte arrays and slices are dumped like the hexdump -C command which +includes offsets, byte values in hex, and ASCII output (only when using Dump +style). +@end itemize") + (license license:isc))) + (define-public go-github-com-frankban-quicktest (package (name "go-github-com-frankban-quicktest") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 599fdf9f2d..903f2126c4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5344,44 +5344,6 @@ (define-public go-github-com-libp2p-go-flow-metrics that's a lot faster (and only does simple bandwidth metrics).") (license license:expat)))) -(define-public go-github-com-davecgh-go-spew - (package - (name "go-github-com-davecgh-go-spew") - (version "1.1.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/davecgh/go-spew") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y")))) - (build-system go-build-system) - (arguments - '(#:unpack-path "github.com/davecgh/go-spew" - #:import-path "github.com/davecgh/go-spew/spew")) - (home-page "https://github.com/davecgh/go-spew") - (synopsis "Deep pretty printer for Go data structures to aid in debugging") - (description "Package @command{spew} implements a deep pretty printer -for Go data structures to aid in debugging. - -A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows: - -@itemize -@item Pointers are dereferenced and followed. -@item Circular data structures are detected and handled properly. -@item Custom Stringer/error interfaces are optionally invoked, including on -unexported types. -@item Custom types which only implement the Stringer/error interfaces via a -pointer receiver are optionally invoked when passing non-pointer variables. -@item Byte arrays and slices are dumped like the hexdump -C command which -includes offsets, byte values in hex, and ASCII output (only when using Dump -style). -@end itemize\n") - (license license:isc))) - (define-public go-github-com-btcsuite-btclog (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a") (revision "0")) diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index ad18a39738..0678edaf4e 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -36,6 +36,7 @@ (define-module (gnu packages high-availability) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages golang) + #:use-module (gnu packages golang-check) #:use-module (gnu packages golang-compression) #:use-module (gnu packages golang-crypto) #:use-module (gnu packages golang-web)