diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-23 17:20:50 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-24 22:52:21 +0000 |
commit | 1977f576887985f3974bca573f20a58a54d1a6b5 (patch) | |
tree | e0679fc480d8633e8845360a11561f51a7eb71a4 | |
parent | 6d7bce39d5ae5e7179eea13c69a75a6ad1da0fd7 (diff) |
gnu: vale: Update to 3.9.4.
* gnu/packages/textutils.scm: Add (gnu packages golang).
(vale): Update to 3.9.4.
[source] <snippet>: Remove it.
[arguments] <go>: Use go-1.23.
<test-flags>: Skip just 3 tests.
<test-subdirs>: Test the whole code base by starting from import-path.
[native-inputs]: Remove go-github-com-karrick-godirwalk and
go-github-com-mholt-archiver-v3; add
go-github-com-jdkato-go-tree-sitter-julia,
go-github-com-pelletier-go-toml-v2,
go-github-com-smacker-go-tree-sitter, go-github-com-stretchr-testify,
and go-github-com-tomwright-dasel-v2.
Change-Id: Ic13b52caa92f6ba2fcd2f34f74b5a599773c5254
-rw-r--r-- | gnu/packages/textutils.scm | 44 |
1 files changed, 19 insertions, 25 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index f60a641230..229e69a2b3 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -69,6 +69,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) + #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) #:use-module (gnu packages golang-check) #:use-module (gnu packages golang-compression) @@ -1495,9 +1496,7 @@ of a Unix terminal to HTML code.") (define-public vale (package (name "vale") - ;; Newer versions requires <github.com/smacker/go-tree-sitter> which is - ;; quite a large project to pack. - (version "3.4.2") + (version "3.9.4") (source (origin (method git-fetch) @@ -1505,17 +1504,12 @@ of a Unix terminal to HTML code.") (url "https://github.com/errata-ai/vale") (commit (string-append "v" version)))) (sha256 - (base32 "15f8ggh7hpfmfpszl9qkdfz19kds6gg6x5dgcqy0v6jrcsdbgpgp")) - (file-name (git-file-name name version)) - (modules '((guix build utils))) - (snippet - #~(begin - ;; Module name has been changed upstream. - (substitute* (find-files "." "\\.go$") - (("github.com/antonmedv/expr") "github.com/expr-lang/expr")))))) + (base32 "009gyrn2mi7bg10v6mqrr6c6ii5l2vbhs7mvh7g4xxgqhaqzpbhp")) + (file-name (git-file-name name version)))) (build-system go-build-system) (arguments (list + #:go go-1.23 #:install-source? #f #:embed-files #~(list ".*\\.gob") #:import-path "github.com/errata-ai/vale/cmd/vale" @@ -1525,24 +1519,20 @@ of a Unix terminal to HTML code.") ;; dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp ;; [::1]:52621->[::1]:53: read: connection refused. #:test-flags - #~(list "-skip" - (string-join - (list "TestLibrary" - "TestLocalComplete" - "TestLocalDir" - "TestLocalOnlyStyles" - "TestLocalZip" - "TestNoPkgFound" - "TestV3Pkg") - "|")) + #~(list "-skip" (string-join + (list "TestLibrary" + "TestNoPkgFound" + "TestSymlinkFixture") + "|")) + #:test-subdirs + #~(list "../../...") ; test whole libary, starting from import-path #:phases #~(modify-phases %standard-phases (add-before 'check 'pre-check (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs - (list go-github-com-masterminds-sprig-v3 - go-github-com-adrg-strutil + (list go-github-com-adrg-strutil go-github-com-adrg-xdg go-github-com-bmatcuk-doublestar-v4 go-github-com-d5-tengo-v2 @@ -1550,16 +1540,20 @@ of a Unix terminal to HTML code.") go-github-com-errata-ai-regexp2 go-github-com-expr-lang-expr go-github-com-gobwas-glob + go-github-com-jdkato-go-tree-sitter-julia go-github-com-jdkato-twine - go-github-com-karrick-godirwalk - go-github-com-mholt-archiver-v3 + go-github-com-masterminds-sprig-v3 go-github-com-mitchellh-mapstructure go-github-com-niklasfasching-go-org go-github-com-olekukonko-tablewriter go-github-com-otiai10-copy + go-github-com-pelletier-go-toml-v2 go-github-com-pterm-pterm go-github-com-remeh-sizedwaitgroup + go-github-com-smacker-go-tree-sitter go-github-com-spf13-pflag + go-github-com-stretchr-testify + go-github-com-tomwright-dasel-v2 go-github-com-yuin-goldmark go-golang-org-x-exp go-golang-org-x-net |