[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: Add go-github-com-mattn-go-shellwords.
From: |
guix-commits |
Subject: |
09/10: gnu: Add go-github-com-mattn-go-shellwords. |
Date: |
Mon, 29 Jul 2019 10:59:03 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit f81573500edd777dc3d6a35aef8b874297e19670
Author: Brian Leung <address@hidden>
Date: Tue Jun 25 20:46:42 2019 +0200
gnu: Add go-github-com-mattn-go-shellwords.
* gnu/packages/golang.scm (go-github-com-mattn-go-shellwords): New variable.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/golang.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fc911fc..2fd2154 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3356,6 +3356,50 @@ formatting. It also favors portability, and includes
support for all POSIX
systems.")
(license license:expat))))
+(define-public go-github-com-mattn-go-shellwords
+ (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
+ (version "1.0.5")
+ (revision "1"))
+ (package
+ (name "go-github-com-mattn-go-shellwords")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mattn/go-shellwords")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/mattn/go-shellwords"
+ ;; TODO: can't make homeless-shelter:
+ ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to
+ ;; initialization failure: mkdir /homeless-shelter: permission denied
+
+ ;; This doesn't seem to work:
+
+ ;; #:phases
+ ;; (modify-phases %standard-phases
+ ;; (replace 'check
+ ;; (lambda* (#:key import-path #:allow-other-keys)
+ ;; (setenv "HOME" "/tmp")
+ ;; (invoke "go" "test" import-path))))
+
+ ;; TODO: There are also a couple of tests that have stymied Debian in
+ ;; the past. They seem to work when run locally.
+
+ #:tests? #f
+ ))
+ (home-page "https://github.com/mattn/go-shellwords")
+ (synopsis "Parse lines into shell words")
+ (description "This package parses text into shell arguments. Based on
+the @code{cpan} module @code{Parse::CommandLine}.")
+ (license license:expat))))
+
(define-public go-github-com-burntsushi-locker
(let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
(revision "0"))
- branch master updated (767a0a1 -> cb3625b), guix-commits, 2019/07/29
- 01/10: gnu: Add go-golang-org-x-text-encoding., guix-commits, 2019/07/29
- 06/10: gnu: Add go-github-com-gdamore-encoding., guix-commits, 2019/07/29
- 08/10: gnu: Add go-github-com-gdamore-tcell., guix-commits, 2019/07/29
- 03/10: gnu: go-golang-org-x-text-unicode-norm: Inherit from related package., guix-commits, 2019/07/29
- 02/10: gnu: go-golang-org-x-text-transform: Inherit from related package., guix-commits, 2019/07/29
- 05/10: gnu: Add go-golang-org-colorful., guix-commits, 2019/07/29
- 10/10: gnu: Add go-github-com-junegunn-fzf., guix-commits, 2019/07/29
- 04/10: gnu: Add go-golang-org-sql-mock., guix-commits, 2019/07/29
- 07/10: gnu: go-github.com-mattn-go-runewidth: Update to 0.0.4-1.703b5e6., guix-commits, 2019/07/29
- 09/10: gnu: Add go-github-com-mattn-go-shellwords.,
guix-commits <=