[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi.
From: |
Pierre Neidhardt |
Subject: |
[bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi. |
Date: |
Fri, 22 Jun 2018 20:30:21 +0200 |
* gnu/packages/golang.scm (go-github-com-mgutz-ansi): New variable.
---
gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0f77b8d48..22eb4b335 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1845,3 +1845,34 @@ terminal.")
(description "This package provides @code{colorable}, a module that
makes it possible to handle ANSI color escapes on Windows.")
(license license:bsd-style))))
+
+(define-public go-github-com-mgutz-ansi
+ (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
+ (revision "0"))
+ (package
+ (name "go-github-com-mgutz-ansi")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/mgutz/ansi")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("go-github-com-mattn-go-isatty"
+ ,go-github-com-mattn-go-isatty)
+ ("go-github-com-mattn-go-colorable"
+ ,go-github-com-mattn-go-colorable)))
+ (arguments
+ '(#:import-path "github.com/mgutz/ansi"))
+ (home-page "https://github.com/mgutz/ansi")
+ (synopsis "Small, fast library to create ANSI colored strings and codes")
+ (description "This package provides @code{ansi}, a Go module that can
+generate ANSI colored strings.")
+ (license license:bsd-style))))
--
2.17.1
- [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi.,
Pierre Neidhardt <=
- [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 13/13] gnu: Add demlo., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz., Pierre Neidhardt, 2018/06/22
- [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib., Pierre Neidhardt, 2018/06/22