From patchwork Mon Feb 12 18:48:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 60237 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 A7D7027BBEA; Mon, 12 Feb 2024 18:54:59 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,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 9099427BBE9 for ; Mon, 12 Feb 2024 18:54:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZbS2-0001IK-19; Mon, 12 Feb 2024 13:54:46 -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 1rZbS0-0001IC-VI for guix-patches@gnu.org; Mon, 12 Feb 2024 13:54:44 -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 1rZbS0-0007Va-NB for guix-patches@gnu.org; Mon, 12 Feb 2024 13:54:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZbSH-0001zW-In; Mon, 12 Feb 2024 13:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69042] [PATCH v2 10/30] gnu: go-github-com-davecgh-go-spew: Move to 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: Mon, 12 Feb 2024 18:55:01 +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.17077641007642 (code B ref 69042); Mon, 12 Feb 2024 18:55:01 +0000 Received: (at 69042) by debbugs.gnu.org; 12 Feb 2024 18:55:00 +0000 Received: from localhost ([127.0.0.1]:49691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZbSF-0001zA-HE for submit@debbugs.gnu.org; Mon, 12 Feb 2024 13:54:59 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:53628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZbSD-0001ye-TR for 69042@debbugs.gnu.org; Mon, 12 Feb 2024 13:54:58 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-410ca9e851bso9919575e9.3 for <69042@debbugs.gnu.org>; Mon, 12 Feb 2024 10:54:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707764075; x=1708368875; 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=Ec3ljTLPTIEnlXB0uhhAMwegohh8k2ZVjIpDkOAvXcU23h82CXtu2TkCwCGKkcNhTF BxHsh6dbDupTqqcq2Gk8HHc8F9sCRWeCCpNODPerqU7QQX3irEhMn4nJ5g3AswMnOCpA 4S/Sum8KFgA9l8mRYQUaEXaaw5lvZqfc4x2s/rmUbORoMzCdeOjnWFGnA7+5nkuE3qLT DQWmTHQ2pQ4gSMZut7eo6OhKPYoLe4Hpz2eGDtUw6skcspz4hCzJQb4MyiBCGj5TQSnO exq4nx19ROm3NJyz/xWHjx6SmWjNEbsJ5Qljx0qYav5Z4/q73NZ2xpEJSzhP+Lk4Ds3e cxog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707764075; x=1708368875; 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=vbYQtnBGfl+zfgMtcapDdjDh2LEoMj+mEA/GuwsnIVg6IbqsClD54vaH0HMfUj4QbU iBvNmuIofkGUEORUD4aVDrxnsS+e8RRHBNEDObwPAiobFzHpzIwjfDbOVDEg+iOLfCjv 6V1DgZgh5cS0YlyrvMtK4XNPuuPy7SM5L94hWq/CX5sEPUrED+O/HDsa7oYJU1Cn4sBC EEQ6GvkAGLUR0Fdv4kxxJky0JS1I4WgPnpXY7PzNfYxf/Cz7kwRlyL93GIWCm2b1uP3v h9D5PRtDoHkFDPxwD1LYkFx79w78hKcCQKrdc7KmYMXvBK7yaY4kXUBfcOAQu2GMqGt5 4Ejw== X-Gm-Message-State: AOJu0YwlsfMA4LIRkb8vDf3yocOzUtaAbSW6dmEJwZScgqNA2a+0UmFN 1cUtbofQpZ5pMKaMby0DEgSkQBI1jdVJevCB27NuvVrecBVCVMKpI/NJb98RSz0= X-Google-Smtp-Source: AGHT+IGJms44wHU3OIUDY7oQ+x5Myn8kUuF0vNT7/cWKuozLDV33pNuKZpjxW/5kXO/vv0/7qx3kOw== X-Received: by 2002:a05:600c:3ca0:b0:40f:ccf7:e28a with SMTP id bg32-20020a05600c3ca000b0040fccf7e28amr6104251wmb.16.1707763744543; Mon, 12 Feb 2024 10:49:04 -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 v5-20020a5d59c5000000b0033b74a3dcf9sm6423510wry.27.2024.02.12.10.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 10:49:04 -0800 (PST) From: Sharlatan Hellseher Date: Mon, 12 Feb 2024 18:48:27 +0000 Message-ID: <73fbe29e8db759772125ea219a81154b336b8888.1707763691.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)