[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
80/88: gnu: go-github-com-charmbracelet-x-exp-golden: Sort.
From: |
guix-commits |
Subject: |
80/88: gnu: go-github-com-charmbracelet-x-exp-golden: Sort. |
Date: |
Fri, 6 Dec 2024 16:17:32 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 07e7c4011eb0cc86ca294315bfe8e40c9db8f5cd
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Dec 5 22:21:43 2024 +0000
gnu: go-github-com-charmbracelet-x-exp-golden: Sort.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-exp-golden):
Sort variable alphabetically.
Change-Id: I5ebe17342f458589f3a1d490203d3a0bf84ac9e4
---
gnu/packages/golang-xyz.scm | 84 ++++++++++++++++++++++-----------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3d7cc2902c..a549a72be1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1844,6 +1844,48 @@ ECMA-48} specs.")
(sha256
(base32 "10ivngjp9ifm8b50pkxrwdzan6hn4s3l9fxi6wiqiwy6m2v41a0a"))))))
+(define-public go-github-com-charmbracelet-x-exp-golden
+ (package
+ (name "go-github-com-charmbracelet-x-exp-golden")
+ (version "0.0.0-20241121171228-5bc00623ea2f")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/x";)
+ (commit (go-version->git-ref version
+ #:subdir "exp/golden"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "016s67690dr3w3an6m24q6f4vrmwpk0qd4akvvh1dzpfyf4khxd4"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/charmbracelet/x/exp/golden"
+ #:unpack-path "github.com/charmbracelet/x/"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key import-path #:allow-other-keys)
+ ;; Tests need to write to that files.
+ (with-directory-excursion (string-append "src/" import-path)
+ (make-file-writable "testdata/TestRequireEqualUpdate.golden")
+ (make-file-writable
"testdata/TestRequireEqualNoUpdate.golden"))))
+ (add-after 'check 'post-check
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ ;; Remove modified testdata just in case.
+ (delete-file-recursively "testdata")))))))
+ (propagated-inputs
+ (list go-github-com-aymanbagabas-go-udiff))
+ (home-page "https://github.com/charmbracelet/x";)
+ (synopsis "Verify @code{.golden} file equality")
+ (description
+ "Golden files (@code{.golden}) contain the raw expected output of
+tests,which can contain control codes and escape sequences. @code{golden}
+package provides an API for comparing Golden files.")
+ (license license:expat)))
+
(define-public go-github-com-charmbracelet-x-input
(package
(name "go-github-com-charmbracelet-x-input")
@@ -1937,48 +1979,6 @@ ECMA-48} specs.")
"This package provides the Windows API used at Charmbracelet.")
(license license:expat)))
-(define-public go-github-com-charmbracelet-x-exp-golden
- (package
- (name "go-github-com-charmbracelet-x-exp-golden")
- (version "0.0.0-20241121171228-5bc00623ea2f")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/charmbracelet/x";)
- (commit (go-version->git-ref version
- #:subdir "exp/golden"))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "016s67690dr3w3an6m24q6f4vrmwpk0qd4akvvh1dzpfyf4khxd4"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/charmbracelet/x/exp/golden"
- #:unpack-path "github.com/charmbracelet/x/"
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'check 'pre-check
- (lambda* (#:key import-path #:allow-other-keys)
- ;; Tests need to write to that files.
- (with-directory-excursion (string-append "src/" import-path)
- (make-file-writable "testdata/TestRequireEqualUpdate.golden")
- (make-file-writable
"testdata/TestRequireEqualNoUpdate.golden"))))
- (add-after 'check 'post-check
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- ;; Remove modified testdata just in case.
- (delete-file-recursively "testdata")))))))
- (propagated-inputs
- (list go-github-com-aymanbagabas-go-udiff))
- (home-page "https://github.com/charmbracelet/x";)
- (synopsis "Verify @code{.golden} file equality")
- (description
- "Golden files (@code{.golden}) contain the raw expected output of
-tests,which can contain control codes and escape sequences. @code{golden}
-package provides an API for comparing Golden files.")
- (license license:expat)))
-
(define-public go-github-com-chzyer-logex
(package
(name "go-github-com-chzyer-logex")
- 04/88: gnu: go-github-com-go-md2man: Update to 2.0.5., (continued)
- 04/88: gnu: go-github-com-go-md2man: Update to 2.0.5., guix-commits, 2024/12/06
- 13/88: gnu: go-github-com-spf13-afero: Run all tests., guix-commits, 2024/12/06
- 50/88: gnu: go-github-com-gdamore-tcell-v2: Simplify package., guix-commits, 2024/12/06
- 63/88: gnu: packages/linux: Remove golang-build module., guix-commits, 2024/12/06
- 37/88: gnu: go-github-com-xdg-go-scram: Update to 1.1.2., guix-commits, 2024/12/06
- 43/88: gnu: go-github-com-alsm-ioprogress: Update to 0.0.0-20170412085706-063c3725f436., guix-commits, 2024/12/06
- 59/88: gnu: go-github-com-vishvananda-netlink: Move to golang-web., guix-commits, 2024/12/06
- 65/88: gnu: go-gopkg-in-check-v1: Disable tests., guix-commits, 2024/12/06
- 69/88: gnu: Add go-go-abhg-dev-requiredfield., guix-commits, 2024/12/06
- 75/88: gnu: Add go-github-com-sebdah-goldie-v2., guix-commits, 2024/12/06
- 80/88: gnu: go-github-com-charmbracelet-x-exp-golden: Sort.,
guix-commits <=
- 16/88: gnu: go-github-com-spf13-jwalterweatherman: Improve description., guix-commits, 2024/12/06
- 17/88: gnu: go-github-com-spf13-pflag: Move to golang-xyz., guix-commits, 2024/12/06
- 23/88: gnu: go-github-com-bmatcuk-doublestar: Simplify package., guix-commits, 2024/12/06
- 24/88: gnu: go-github-com-bmatcuk-doublestar-v2: Enable tests., guix-commits, 2024/12/06
- 15/88: gnu: go-github-com-spf13-jwalterweatherman: Move to golang-xyz., guix-commits, 2024/12/06
- 26/88: gnu: go-github-com-bmatcuk-doublestar-v4: Update to 4.7.1., guix-commits, 2024/12/06
- 27/88: gnu: go-github-com-bmatcuk-doublestar: Move to golang-xyz., guix-commits, 2024/12/06
- 36/88: gnu: go-github-com-urfave-cli: Move to golang-xyz., guix-commits, 2024/12/06
- 29/88: gnu: go-github-com-olekukonko-tablewriter: Update to 0.0.5., guix-commits, 2024/12/06
- 34/88: gnu: go-github-com-urfave-cli: Update to 1.22.16., guix-commits, 2024/12/06