unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69238@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#69238] [PATCH 05/10] gnu: go-github-com-alecthomas-assert: Depricate package.
Date: Sun, 18 Feb 2024 18:39:56 +0000	[thread overview]
Message-ID: <662195cd762bd4c108da297964a6f428b55e58fb.1708155311.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1708155311.git.sharlatanus@gmail.com>

The package go-github-com-alecthomas-assert is succeeded by
go-github-com-alecthomas-assert-v2 not in use by any others and
failed to build, see <https://ci.guix.gnu.org/build/3490314/log/raw>.

* gnu/packages/golang-check.scm (go-github-com-alecthomas-assert):
Remove variable.

Change-Id: Ia3f7b039c4de9b1b2956f0bfc2629d791aa9cf5a
---
 gnu/packages/golang-check.scm | 46 ++++++++---------------------------
 1 file changed, 10 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 4874e0c9ae..64d0c68081 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -60,43 +60,8 @@ (define-module (gnu packages golang-check)
 ;;; Libraries:
 ;;;
 
-(define-public go-github-com-alecthomas-assert
-  (let ((commit "405dbfeb8e38effee6e723317226e93fff912d06")
-        (revision "1"))
-    (package
-      (name "go-github-com-alecthomas-assert")
-      (version (git-version "0.0.1" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/alecthomas/assert")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l"))))
-      (build-system go-build-system)
-      (arguments
-       `(#:import-path "github.com/alecthomas/assert"))
-      (native-inputs
-       (list go-github-com-alecthomas-colour
-             go-github-com-mattn-go-isatty
-             go-github-com-alecthomas-repr
-             go-github-com-sergi-go-diff))
-      (home-page "https://github.com/alecthomas/assert/")
-      (synopsis "Go assertion library")
-      (description "Assertion library that:
-@itemize
-@item makes spotting differences in equality much easier
-@item uses repr and diffmatchpatch to display structural differences in colour
-@item aborts tests on first assertion failure
-@end itemize\n")
-      (license license:expat))))
-
 (define-public go-github-com-alecthomas-assert-v2
   (package
-    (inherit go-github-com-alecthomas-assert)
     (name "go-github-com-alecthomas-assert-v2")
     (version "2.2.2")
     (source
@@ -108,13 +73,22 @@ (define-public go-github-com-alecthomas-assert-v2
        (file-name (git-file-name name version))
        (sha256
         (base32 "055w46gr47rrn5g2hh7z6hj3x2b8advbcph8gs8szrpzlympyyz0"))))
+    (build-system go-build-system)
     (arguments
      (list #:go go-1.18
            #:import-path "github.com/alecthomas/assert/v2"))
     (propagated-inputs
      (list go-github-com-alecthomas-repr
            go-github-com-hexops-gotextdiff))
-    (native-inputs '())))
+    (home-page "https://github.com/alecthomas/assert/")
+    (synopsis "Go assertion library")
+    (description "Assertion library that:
+@itemize
+@item makes spotting differences in equality much easier
+@item uses repr and diffmatchpatch to display structural differences in colour
+@item aborts tests on first assertion failure
+@end itemize")
+    (license license:expat)))
 
 (define-public go-github-com-cheekybits-is
   (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9")
-- 
2.41.0





  parent reply	other threads:[~2024-02-18 18:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-17 19:04 [bug#69183] [PATCH 00/10] Fix failed builds from evaluation 1123386 Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 01/10] gnu: go-github-com-alecthomas-chroma: Move to golang-xyz Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 02/10] gnu: go-github-com-alecthomas-chroma: Update to 0.10.0 Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 03/10] gnu: go-github-com-alecthomas-chroma: Remove bundled files Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 04/10] gnu: Add go-github-com-alecthomas-chroma-v2 Sharlatan Hellseher
2024-02-18 18:39 ` Sharlatan Hellseher [this message]
2024-02-18 20:34   ` [bug#69238] [PATCH 05/10] gnu: go-github-com-alecthomas-assert: Depricate package Troy Figiel
2024-02-18 20:58     ` Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 06/10] gnu: go-github-com-alecthomas-assert-v2: Update to 2.5.0 Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 07/10] gnu: go-github-com-songmu-gitconfig: Move to golang-xyz Sharlatan Hellseher
2024-02-18 18:39 ` [bug#69238] [PATCH 08/10] gnu: go-github-com-songmu-gitconfig: Fix build Sharlatan Hellseher
2024-02-18 18:40 ` [bug#69238] [PATCH 09/10] gnu: ghq: Remove package labels Sharlatan Hellseher
2024-02-18 18:40 ` [bug#69238] [PATCH 10/10] gnu: ghq: Fix build Sharlatan Hellseher
2024-02-18 20:39 ` bug#69252: [PATCH 00/10] Fix failed builds from evaluation 1123386 Sharlatan Hellseher
2024-02-18 20:42 ` bug#69183: " Sharlatan Hellseher
2024-02-18 20:44 ` bug#69218: " Sharlatan Hellseher
2024-02-18 20:45 ` bug#69196: [PATCH 00/10] Fix failed builds from evaluation #1123386 Sharlatan Hellseher
2024-02-18 20:47 ` bug#69203: [PATCH 00/10] Fix failed builds from evaluation 1123386 Sharlatan Hellseher
2024-02-18 20:48 ` bug#69210: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=662195cd762bd4c108da297964a6f428b55e58fb.1708155311.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=69238@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).