[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/63: gnu: go-github-com-client9-misspell: Fix build.
From: |
guix-commits |
Subject: |
38/63: gnu: go-github-com-client9-misspell: Fix build. |
Date: |
Sat, 28 Dec 2024 11:13:42 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 2403e6f96c2fa70bd0efb7d809a3e1762369aa2d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Dec 27 21:47:37 2024 +0000
gnu: go-github-com-client9-misspell: Fix build.
Simplify, final command inherits from the library, remove redundant
modifications.
* gnu/packages/golang.scm (go-github-com-client9-misspell)
[arguments] <phases>: Use default 'build.
<test-subdirs>: Do not run tests in "cmd" which are failing.
(misspell): Inherit.
Change-Id: Ia9cbe287918dce646ece2ba9e50da110659c2a8f
---
gnu/packages/golang.scm | 31 +++++++++++--------------------
1 file changed, 11 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e44c1398b7..9e5dcf26c7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3176,9 +3176,9 @@ Looks for an identical word on a list of words, if none
is found, look for a
similar word.")
(license license:expat))))
-(define-public misspell
+(define-public go-github-com-client9-misspell
(package
- (name "misspell")
+ (name "go-github-com-client9-misspell")
(version "0.3.4")
(source (origin
(method git-fetch)
@@ -3191,14 +3191,9 @@ similar word.")
"1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/client9/misspell"
- #:phases (modify-phases %standard-phases
- (replace 'build
- (lambda arguments
- (apply (assoc-ref %standard-phases
- 'build)
- `(,@arguments #:import-path
-
"github.com/client9/misspell/cmd/misspell")))))))
+ (list
+ #:import-path "github.com/client9/misspell"
+ #:test-subdirs #~(list "ignore" ".")))
(propagated-inputs (list go-github-com-gobwas-glob))
(home-page "https://github.com/client9/misspell")
(synopsis "Correct commonly misspelled English words in source files")
@@ -3230,19 +3225,15 @@ locale can be selected.")
alternative to @@code{exec.LookPath()}.")
(license license:bsd-2)))
-(define-public go-github-com-client9-misspell
+(define-public misspell
(package
- (inherit misspell)
- (name "go-github-com-client9-misspell")
+ (inherit go-github-com-client9-misspell)
+ (name "misspell")
(arguments
- `(#:import-path "github.com/client9/misspell"
+ `(#:import-path "github.com/client9/misspell/cmd/misspell"
+ #:unpack-path "github.com/client9/misspell"
#:tests? #f
- #:install-source? #t
- #:phases (modify-phases %standard-phases
- (delete 'build))))
- (propagated-inputs (package-inputs misspell))
- (native-inputs '())
- (inputs '())))
+ #:install-source? #t))))
(define-public go-github-com-stevedonovan-luar
(let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
- 01/63: gnu: Add go-github-com-hashicorp-go-envparse., (continued)
- 01/63: gnu: Add go-github-com-hashicorp-go-envparse., guix-commits, 2024/12/28
- 30/63: gnu: go-github-com-prometheus-community-pro-bing: Update to 0.5.0., guix-commits, 2024/12/28
- 34/63: gnu: go-github-com-pierrec-cmdflag: Remove examples., guix-commits, 2024/12/28
- 55/63: gnu: Add go-github-com-gosuri-uilive., guix-commits, 2024/12/28
- 14/63: gnu: Add go-github-com-mdlayher-genetlink., guix-commits, 2024/12/28
- 19/63: gnu: Add go-github-com-opencontainers-image-spec., guix-commits, 2024/12/28
- 21/63: gnu: go-github-com-godbus-dbus: Move to golang-xyz., guix-commits, 2024/12/28
- 17/63: gnu: Add go-github-com-opencontainers-selinux., guix-commits, 2024/12/28
- 25/63: gnu: Add go-github-com-mdlayher-vsock., guix-commits, 2024/12/28
- 26/63: gnu: go-github-com-prometheus-exporter-toolkit: Update to 0.13.2., guix-commits, 2024/12/28
- 38/63: gnu: go-github-com-client9-misspell: Fix build.,
guix-commits <=
- 44/63: gnu: go-github-com-matryer-try: Update to 0.0.0-20161228173917-9ac251b645a2., guix-commits, 2024/12/28
- 40/63: gnu: Add go-github-com-jmoiron-sqlx., guix-commits, 2024/12/28
- 53/63: gnu: go-github-com-gorhill-cronexpr: Update to 0.0.0-20180427100037-88b0669f7d75., guix-commits, 2024/12/28
- 63/63: gnu: go-github-com-masterminds-sprig-v3: Update to 3.3.0., guix-commits, 2024/12/28
- 46/63: gnu: go-github-com-tdewolff-hasher: Move to golang-xyz., guix-commits, 2024/12/28
- 06/63: gnu: Add go-github-com-safchain-ethtool., guix-commits, 2024/12/28
- 28/63: gnu: go-github-com-prometheus-common-assets: Update to 0.2.0., guix-commits, 2024/12/28
- 35/63: gnu: Add go-github-com-xo-dburl., guix-commits, 2024/12/28
- 36/63: gnu: go-github-com-pquerna-ffjson: Fix tests., guix-commits, 2024/12/28
- 41/63: gnu: Add go-github-com-tdewolff-argp., guix-commits, 2024/12/28