gnu: go-github-com-mattn-go-shellwords: Fix indentation.

* gnu/packages/golang.scm (go-github-com-mattn-go-shellwords): Fix
indentation.

Change-Id: Ib8825a82f92096f17d50bbbc1645c212c2986aa7
This commit is contained in:
Sharlatan Hellseher 2024-02-15 20:54:29 +00:00
parent 008811aef6
commit 8c9bc0e710
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6057,45 +6057,45 @@ exploration and data entry.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-mattn-go-shellwords (define-public go-github-com-mattn-go-shellwords
(package (package
(name "go-github-com-mattn-go-shellwords") (name "go-github-com-mattn-go-shellwords")
(version "1.0.12") (version "1.0.12")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/mattn/go-shellwords") (url "https://github.com/mattn/go-shellwords")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0l0l5s4hlsrm4z6hygig2pp1qirk5ycrzn9z27ay3yvg9k7zafzx")))) "0l0l5s4hlsrm4z6hygig2pp1qirk5ycrzn9z27ay3yvg9k7zafzx"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:import-path "github.com/mattn/go-shellwords" `(#:import-path "github.com/mattn/go-shellwords"
;; TODO: can't make homeless-shelter: ;; TODO: can't make homeless-shelter:
;; go: disabling cache (/homeless-shelter/.cache/go-build) due to ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
;; initialization failure: mkdir /homeless-shelter: permission denied ;; initialization failure: mkdir /homeless-shelter: permission denied
;; This doesn't seem to work: ;; This doesn't seem to work:
;; #:phases ;; #:phases
;; (modify-phases %standard-phases ;; (modify-phases %standard-phases
;; (replace 'check ;; (replace 'check
;; (lambda* (#:key import-path #:allow-other-keys) ;; (lambda* (#:key import-path #:allow-other-keys)
;; (setenv "HOME" "/tmp") ;; (setenv "HOME" "/tmp")
;; (invoke "go" "test" import-path)))) ;; (invoke "go" "test" import-path))))
;; TODO: There are also a couple of tests that have stymied Debian in ;; TODO: There are also a couple of tests that have stymied Debian in
;; the past. They seem to work when run locally. ;; the past. They seem to work when run locally.
#:tests? #f #:tests? #f
)) ))
(home-page "https://github.com/mattn/go-shellwords") (home-page "https://github.com/mattn/go-shellwords")
(synopsis "Parse lines into shell words") (synopsis "Parse lines into shell words")
(description "This package parses text into shell arguments. Based on (description "This package parses text into shell arguments. Based on
the @code{cpan} module @code{Parse::CommandLine}.") the @code{cpan} module @code{Parse::CommandLine}.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-burntsushi-locker (define-public go-github-com-burntsushi-locker
(let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a") (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")