diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 36 | ||||
-rw-r--r-- | gnu/packages/golang.scm | 36 |
2 files changed, 36 insertions, 36 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7fcbb27485..e511f6745d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4482,6 +4482,42 @@ Authentication Modules, PAM} application API.") "This package provides a cancelable reader for Go.") (license license:expat))) +(define-public go-github-com-muesli-reflow + (package + (name "go-github-com-muesli-reflow") + (version "0.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/reflow") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/muesli/reflow" + #:phases + #~(modify-phases %standard-phases + ;; XXX: Workaround for go-build-system's lack of Go modules + ;; support. + (delete 'build) + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" "./...")))))))) + (propagated-inputs + (list go-github-com-mattn-go-runewidth)) + (home-page "https://github.com/muesli/reflow/") + (synopsis "Collection of methods helping to transform blocks of text") + (description + "This package provides a collection of ANSI-aware methods and io.Writers +helping you to transform blocks of text.") + (license license:expat))) + (define-public go-github-com-muesli-termenv (package (name "go-github-com-muesli-termenv") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8476bb43fb..34f867377f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6053,42 +6053,6 @@ matching and globbing with support for \"doublestar\" patterns.") (list #:import-path "github.com/bmatcuk/doublestar/v4")))) -(define-public go-github-com-muesli-reflow - (package - (name "go-github-com-muesli-reflow") - (version "0.3.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/muesli/reflow") - (commit (string-append "v" version)))) - (file-name (git-file-name "go-github-com-muesli-reflow" version)) - (sha256 - (base32 "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/muesli/reflow" - #:phases - #~(modify-phases %standard-phases - ;; XXX: Workaround for go-build-system's lack of Go modules - ;; support. - (delete 'build) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) - (propagated-inputs - (list go-github-com-mattn-go-runewidth)) - (home-page "https://github.com/muesli/reflow/") - (synopsis "Collection of methods helping to transform blocks of text") - (description - "This package provides a collection of ANSI-aware methods and io.Writers -helping you to transform blocks of text.") - (license license:expat))) - (define-public go-github-com-olekukonko-tablewriter (package (name "go-github-com-olekukonko-tablewriter") |