unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty.
@ 2018-06-22 18:27 Pierre Neidhardt
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:27 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-mattn-go-isatty): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ea6ca2286..266c3c029 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1791,3 +1791,29 @@ finding resources located relative to the executable file.")
 run programs as a service using a variety of supervisors, including systemd,
 SysVinit, and more.")
       (license license:zlib))))
+
+(define-public go-github-com-mattn-go-isatty
+  (let ((commit "6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c")
+        (revision "0"))
+    (package
+      (name "go-github-com-mattn-go-isatty")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mattn/go-isatty")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/mattn/go-isatty"))
+      (home-page "https://github.com/mattn/go-isatty")
+      (synopsis "@code{isatty} for Golang")
+      (description "This package provides @code{isatty}, a Go module that can
+tell you whether a file descriptor points to a terminal and the type of the
+terminal.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable.
  2018-06-22 18:27 [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
@ 2018-06-22 18:30 ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi Pierre Neidhardt
                     ` (10 more replies)
  2018-06-23  9:08 ` [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
  2018-07-13 12:31 ` Ludovic Courtès
  2 siblings, 11 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-mattn-go-colorable): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 266c3c029..0f77b8d48 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1817,3 +1817,31 @@ SysVinit, and more.")
 tell you whether a file descriptor points to a terminal and the type of the
 terminal.")
       (license license:bsd-style))))
+
+(define-public go-github-com-mattn-go-colorable
+  (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
+        (revision "0"))
+    (package
+      (name "go-github-com-mattn-go-colorable")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mattn/go-colorable")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-github-com-mattn-go-isatty"
+          ,go-github-com-mattn-go-isatty)))
+      (arguments
+       '(#:import-path "github.com/mattn/go-colorable"))
+      (home-page "https://github.com/mattn/go-colorable")
+      (synopsis "Handle ANSI color escapes on Windows")
+      (description "This package provides @code{colorable}, a module that
+makes it possible to handle ANSI color escapes on Windows.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua Pierre Neidhardt
                     ` (9 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* 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

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode Pierre Neidhardt
                     ` (8 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-aarzilli-golua): New variable.
---
 gnu/packages/golang.scm | 46 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 22eb4b335..0373bca34 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -41,6 +41,7 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pcre)
+  #:use-module (gnu packages lua)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
@@ -1876,3 +1877,48 @@ makes it possible to handle ANSI color escapes on Windows.")
       (description "This package provides @code{ansi}, a Go module that can
 generate ANSI colored strings.")
       (license license:bsd-style))))
+
+(define-public go-github-com-aarzilli-golua
+  (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
+        (revision "0"))
+    (package
+      (name "go-github-com-aarzilli-golua")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/aarzilli/golua")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("lua" ,lua)))
+      (arguments
+       `(#:unpack-path "github.com/aarzilli/golua"
+         #:import-path "github.com/aarzilli/golua/lua"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'build
+             (lambda* (#:key import-path #:allow-other-keys)
+               (invoke "go" "install"
+                       "-v"  ; print the name of packages as they are compiled
+                       "-x"  ; print each command as it is invoked
+                       "-ldflags=-s -w" ; strip the symbol table and debug
+                       "-tags" "llua" ; Latest Lua on Guix does not have a version number.
+                       import-path)))
+           (replace 'check
+             (lambda* (#:key import-path #:allow-other-keys)
+               (invoke "go" "test"
+                       "-tags" "llua" ; Latest Lua on Guix does not have a version number.
+                       import-path)))
+           )))
+      (home-page "https://github.com/aarzilli/golua")
+      (synopsis "Go Bindings for the Lua C API")
+      (description "This package provides @code{lua}, a Go module that can
+run a Lua virtual machine.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath Pierre Neidhardt
                     ` (7 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-gitlab-com-ambrevar-golua-unicode): New variable.
---
 gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0373bca34..80faf9675 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1922,3 +1922,41 @@ generate ANSI colored strings.")
       (description "This package provides @code{lua}, a Go module that can
 run a Lua virtual machine.")
       (license license:bsd-style))))
+
+(define-public go-gitlab-com-ambrevar-golua-unicode
+  (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
+        (revision "0"))
+    (package
+      (name "go-gitlab-com-ambrevar-golua-unicode")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://gitlab.com/ambrevar/golua")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("lua" ,lua)
+         ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
+      (arguments
+       `(#:unpack-path "gitlab.com/ambrevar/golua"
+         #:import-path "gitlab.com/ambrevar/golua/unicode"
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'check
+             (lambda* (#:key import-path #:allow-other-keys)
+               (setenv "USER" "homeless-dude")
+               (invoke "go" "test" import-path))))))
+      (home-page "https://gitlab.com/ambrevar/golua")
+      (synopsis "Add Unicode support to Golua.")
+      (description "This extension to Arzilli's Golua adds Unicode support to
+all functions from the Lua string library.  Lua patterns are replaced by Go
+regexps. This breaks compatibility with Lua, but Unicode support breaks it
+anyways and Go regexps are more powerful.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (2 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau Pierre Neidhardt
                     ` (6 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-yookoala-realpath): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 80faf9675..f5c9214e5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1960,3 +1960,30 @@ all functions from the Lua string library.  Lua patterns are replaced by Go
 regexps. This breaks compatibility with Lua, but Unicode support breaks it
 anyways and Go regexps are more powerful.")
       (license license:bsd-style))))
+
+(define-public go-github-com-yookoala-realpath
+  (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8")
+        (revision "0"))
+    (package
+      (name "go-github-com-yookoala-realpath")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/yookoala/realpath")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/yookoala/realpath"))
+      (home-page "https://github.com/yookoala/realpath")
+      (synopsis "@code{realpath} for Golang")
+      (description "This package provides @code{realpath}, a Go module that
+when provided with a valid relative path / alias path, it will return you with
+a string of its real absolute path in the system.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (3 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar Pierre Neidhardt
                     ` (5 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-gitlab-com-ambrevar-damerau): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f5c9214e5..1ae59fee1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1987,3 +1987,31 @@ anyways and Go regexps are more powerful.")
 when provided with a valid relative path / alias path, it will return you with
 a string of its real absolute path in the system.")
       (license license:bsd-style))))
+
+(define-public go-gitlab-com-ambrevar-damerau
+  (let ((commit "883829e1f25fad54015772ea663e69017cf22352")
+        (revision "0"))
+    (package
+      (name "go-gitlab-com-ambrevar-damerau")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://gitlab.com/ambrevar/damerau")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "gitlab.com/ambrevar/damerau"))
+      (home-page "https://gitlab.com/ambrevar/damerau")
+      (synopsis "Damerau-Levenshtein distance for Golang")
+      (description "This is a spelling corrector implementing the
+Damerau-Levenshtein distance.  Takes a string value input from the user.
+Looks for an identical word on a list of words, if none is found, look for a
+similar word.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (4 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-07-13 12:25     ` Ludovic Courtès
  2018-06-22 18:30   ` [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text Pierre Neidhardt
                     ` (4 subsequent siblings)
  10 siblings, 1 reply; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-stevedonovan-luar): New variable.
---
 gnu/packages/golang.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ae59fee1..18e54cf8b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2015,3 +2015,44 @@ Damerau-Levenshtein distance.  Takes a string value input from the user.
 Looks for an identical word on a list of words, if none is found, look for a
 similar word.")
       (license license:bsd-style))))
+
+(define-public go-github-com-stevedonovan-luar
+  (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
+        (revision "0"))
+    (package
+      (name "go-github-com-stevedonovan-luar")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/stevedonovan/luar")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
+      (arguments
+       `(#:tests? #f                    ; Upstream tests are broken.
+         #:import-path "github.com/stevedonovan/luar"))
+      (home-page "https://github.com/stevedonovan/luar")
+      (synopsis "Lua reflection bindings for Go")
+      (description "Luar is designed to make using Lua from Go more
+convenient.  Go structs, slices and maps can be automatically converted to Lua
+tables and vice-versa.  The resulting conversion can either be a copy or a
+proxy.  In the latter case, any change made to the result will reflect on the
+source.
+
+Any Go function can be made available to Lua scripts, without having to write
+C-style wrappers.
+
+Luar support cyclic structures (map[string]interface{}, lists, etc.).
+
+User-defined types can be made available to Lua as well: their exported
+methods can be called and usual operations such as indexing or arithmetic can
+be performed.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (5 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty Pierre Neidhardt
                     ` (3 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-kr-text): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 18e54cf8b..c0973e838 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2056,3 +2056,29 @@ User-defined types can be made available to Lua as well: their exported
 methods can be called and usual operations such as indexing or arithmetic can
 be performed.")
       (license license:bsd-style))))
+
+(define-public go-github-com-kr-text
+  (let ((commit "e2ffdb16a802fe2bb95e2e35ff34f0e53aeef34f")
+        (revision "0"))
+    (package
+      (name "go-github-com-kr-text")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/kr/text")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/kr/text"))
+      (home-page "https://github.com/kr/text")
+      (synopsis "Go package for manipulating paragraphs of text")
+      (description "Package @code{text} provides manipulation Go functions for
+paragraphs of text.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (6 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz Pierre Neidhardt
                     ` (2 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-michiwend-golang-pretty): New variable.
---
 gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c0973e838..d0f3ab9df 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2082,3 +2082,37 @@ be performed.")
       (description "Package @code{text} provides manipulation Go functions for
 paragraphs of text.")
       (license license:bsd-style))))
+
+(define-public go-github-com-michiwend-golang-pretty
+  (let ((commit "8ac61812ea3fa540f3f141a444fcb0dd713cdca4")
+        (revision "0"))
+    (package
+      (name "go-github-com-michiwend-golang-pretty")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/michiwend/golang-pretty")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0rjfms0csjqi91xnddzx3rcrcaikc7xc027617px3kdwdap80ir4"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-github-com-kr-text" ,go-github-com-kr-text)))
+      (arguments
+       `(#:tests? #f                    ; Upstream tests seem to be broken.
+         #:import-path "github.com/michiwend/golang-pretty"))
+      (home-page "https://github.com/michiwend/golang-pretty")
+      (synopsis "Pretty printing for Go values")
+      (description "Package @code{pretty} provides pretty-printing for Go
+values.  This is useful during debugging, to avoid wrapping long output lines
+in the terminal.
+
+It provides a function, Formatter, that can be used with any function that
+accepts a format string.  It also provides convenience wrappers for functions
+in packages fmt and log.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (7 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 13/13] gnu: Add demlo Pierre Neidhardt
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-michiwend-gomusicbrainz): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d0f3ab9df..f703815c7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2116,3 +2116,32 @@ It provides a function, Formatter, that can be used with any function that
 accepts a format string.  It also provides convenience wrappers for functions
 in packages fmt and log.")
       (license license:bsd-style))))
+
+(define-public go-github-com-michiwend-gomusicbrainz
+  (let ((commit "0cdeb13f9b24d2c714feb7e3c63d595cf7121d7d")
+        (revision "0"))
+    (package
+      (name "go-github-com-michiwend-gomusicbrainz")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/michiwend/gomusicbrainz")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1li9daw0kghb80rdmxbh7g72qhxcvx3rvhwq5gs0jrr9hb8pjvcn"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-github-com-michiwend-golang-pretty" ,go-github-com-michiwend-golang-pretty)
+         ("go-github-com-kr-text" ,go-github-com-kr-text)))
+      (arguments
+       `(#:import-path "github.com/michiwend/gomusicbrainz"))
+      (home-page "https://github.com/michiwend/gomusicbrainz")
+      (synopsis "MusicBrainz WS2 client library for Golang")
+      (description "Currently GoMusicBrainz provides methods to perform search
+and lookup requests.  Browse requests are not supported yet.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (8 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-22 18:30   ` [bug#31939] [PATCH 13/13] gnu: Add demlo Pierre Neidhardt
  10 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-wtolson-go-taglib): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f703815c7..d718d8414 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -42,6 +42,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages mp3)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
@@ -2145,3 +2146,31 @@ in packages fmt and log.")
       (description "Currently GoMusicBrainz provides methods to perform search
 and lookup requests.  Browse requests are not supported yet.")
       (license license:bsd-style))))
+
+(define-public go-github-com-wtolson-go-taglib
+  (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777")
+        (revision "0"))
+    (package
+      (name "go-github-com-wtolson-go-taglib")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/wtolson/go-taglib")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("pkg-config" ,pkg-config)
+         ("taglib" ,taglib)))
+      (arguments
+       `(#:import-path "github.com/wtolson/go-taglib"))
+      (home-page "https://github.com/wtolson/go-taglib")
+      (synopsis "Go wrapper for taglib")
+      (description "Go wrapper for taglib")
+      (license license:unlicense))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 13/13] gnu: Add demlo.
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
                     ` (9 preceding siblings ...)
  2018-06-22 18:30   ` [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib Pierre Neidhardt
@ 2018-06-22 18:30   ` Pierre Neidhardt
  2018-06-23  9:08     ` Pierre Neidhardt
  2018-07-13 12:27     ` Ludovic Courtès
  10 siblings, 2 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-22 18:30 UTC (permalink / raw)
  To: 31939

* gnu/packages/music.scm (demlo): New variable.
---
 gnu/packages/music.scm | 86 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 86 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index daefbc57f..521bd5d67 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -45,6 +45,7 @@
   #:use-module (guix build-system scons)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system waf)
+  #:use-module (guix build-system go)
   #:use-module (gnu packages)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages apr)
@@ -122,6 +123,8 @@
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xiph)
+  #:use-module (gnu packages golang)
+  #:use-module (gnu packages lua)
   #:use-module ((srfi srfi-1) #:select (last)))
 
 (define-public aria-maestosa
@@ -4004,3 +4007,86 @@ ISRCs and the MCN (=UPC/EAN) from disc.")
 mb_client, is a development library geared towards developers who wish to add
 MusicBrainz lookup capabilities to their applications.")
     (license license:lgpl2.1+)))
+
+(define-public demlo
+  (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
+        (revision "0"))
+    (package
+      (name "demlo")
+      (version (git-version "3.8" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://gitlab.com/ambrevar/demlo")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("lua" ,lua)
+         ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
+         ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
+         ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
+         ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
+         ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
+         ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
+         ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
+         ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
+         ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
+         ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
+      (inputs
+       `(("chromaprint" ,chromaprint)
+         ("ffmpeg" ,ffmpeg)))
+      (arguments
+       `(#:import-path "gitlab.com/ambrevar/demlo"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'install 'wrap-program
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let ((out (assoc-ref outputs "out"))
+                     (ffmpeg (assoc-ref inputs "ffmpeg"))
+                     (chromaprint (assoc-ref inputs "chromaprint")))
+                 (wrap-program (string-append out "/bin/demlo")
+                   `("XDG_DATA_DIRS" ":" prefix (,out))
+                   `("PATH" ":" prefix
+                     ,(map (lambda (dir)
+                             (string-append dir "/bin:"
+                                            dir "/sbin"))
+                           (list ffmpeg chromaprint))))
+                 #t)))
+           (add-after 'install-source 'install-scripts
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out"))
+                      (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
+                      (xdg-data-dirs (string-append out "/demlo")))
+                 (copy-recursively (string-append root "/actions") (string-append xdg-data-dirs "/actions"))
+                 (copy-recursively (string-append root "/scripts") (string-append xdg-data-dirs "/scripts"))
+                 (install-file (string-append root "/config.lua") xdg-data-dirs)
+                 ;; TODO: Test fish completion.
+                 (install-file (string-append root "/completion/demlo.fish") (string-append out "/share/fish/vendor_completions.d"))
+                 #t))))))
+      (home-page "https://gitlab.com/ambrevar/demlo")
+      (synopsis "Dynamic and extensible music library organizer")
+      (description "Demlo is a music library organizer.  It can encode, fix
+case, change folder hierarchy according to tags or file properties, tag from
+an online database, copy covers while ignoring duplicates or those below a
+quality threshold, and much more.  It makes it possible to manage your
+libraries uniformly and dynamically.  You can write your own rules to fit your
+needs best.
+
+Demlo can address any of these recurring music library issues (and much more):
+
+@itemize
+@item Fix the lack of folder structure.
+@item Normalize tags, fix their case, chose which tags to keep and which to
+discard.
+@item Handle lossy and lossless audio differently.
+@item Handle mp3 id3tags hell…
+@item Handle multiple covers, whether embedded and/or external, resize covers,
+discard bad quality ones.
+@end itemize\n")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 13/13] gnu: Add demlo.
  2018-06-22 18:30   ` [bug#31939] [PATCH 13/13] gnu: Add demlo Pierre Neidhardt
@ 2018-06-23  9:08     ` Pierre Neidhardt
  2018-07-13 12:27     ` Ludovic Courtès
  1 sibling, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-23  9:08 UTC (permalink / raw)
  To: 31939

* gnu/packages/music.scm (demlo): New variable.
---
 gnu/packages/music.scm | 87 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index daefbc57f..c1ec12cd5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 nee <nee.git@hidamari.blue>
 ;;; Copyright © 2018 Stefan Reichör <stefan@xsteve.at>
+;;; Copyright © 2018 Pierre Neidhardt <ambrevar@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,7 @@
   #:use-module (guix build-system scons)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system waf)
+  #:use-module (guix build-system go)
   #:use-module (gnu packages)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages apr)
@@ -122,6 +124,8 @@
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xiph)
+  #:use-module (gnu packages golang)
+  #:use-module (gnu packages lua)
   #:use-module ((srfi srfi-1) #:select (last)))
 
 (define-public aria-maestosa
@@ -4004,3 +4008,86 @@ ISRCs and the MCN (=UPC/EAN) from disc.")
 mb_client, is a development library geared towards developers who wish to add
 MusicBrainz lookup capabilities to their applications.")
     (license license:lgpl2.1+)))
+
+(define-public demlo
+  (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
+        (revision "0"))
+    (package
+      (name "demlo")
+      (version (git-version "3.8" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://gitlab.com/ambrevar/demlo")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("lua" ,lua)
+         ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
+         ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
+         ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
+         ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
+         ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
+         ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
+         ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
+         ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
+         ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
+         ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
+      (inputs
+       `(("chromaprint" ,chromaprint)
+         ("ffmpeg" ,ffmpeg)))
+      (arguments
+       `(#:import-path "gitlab.com/ambrevar/demlo"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'install 'wrap-program
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let ((out (assoc-ref outputs "out"))
+                     (ffmpeg (assoc-ref inputs "ffmpeg"))
+                     (chromaprint (assoc-ref inputs "chromaprint")))
+                 (wrap-program (string-append out "/bin/demlo")
+                   `("XDG_DATA_DIRS" ":" prefix (,out))
+                   `("PATH" ":" prefix
+                     ,(map (lambda (dir)
+                             (string-append dir "/bin:"
+                                            dir "/sbin"))
+                           (list ffmpeg chromaprint))))
+                 #t)))
+           (add-after 'install-source 'install-scripts
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out"))
+                      (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
+                      (xdg-data-dirs (string-append out "/demlo")))
+                 (copy-recursively (string-append root "/actions") (string-append xdg-data-dirs "/actions"))
+                 (copy-recursively (string-append root "/scripts") (string-append xdg-data-dirs "/scripts"))
+                 (install-file (string-append root "/config.lua") xdg-data-dirs)
+                 ;; TODO: Test fish completion.
+                 (install-file (string-append root "/completion/demlo.fish") (string-append out "/share/fish/vendor_completions.d"))
+                 #t))))))
+      (home-page "https://gitlab.com/ambrevar/demlo")
+      (synopsis "Dynamic and extensible music library organizer")
+      (description "Demlo is a music library organizer.  It can encode, fix
+case, change folder hierarchy according to tags or file properties, tag from
+an online database, copy covers while ignoring duplicates or those below a
+quality threshold, and much more.  It makes it possible to manage your
+libraries uniformly and dynamically.  You can write your own rules to fit your
+needs best.
+
+Demlo can address any of these recurring music library issues (and much more):
+
+@itemize
+@item Fix the lack of folder structure.
+@item Normalize tags, fix their case, chose which tags to keep and which to
+discard.
+@item Handle lossy and lossless audio differently.
+@item Handle mp3 id3tags hell…
+@item Handle multiple covers, whether embedded and/or external, resize covers,
+discard bad quality ones.
+@end itemize\n")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty.
  2018-06-22 18:27 [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
@ 2018-06-23  9:08 ` Pierre Neidhardt
  2018-07-13 12:31 ` Ludovic Courtès
  2 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-06-23  9:08 UTC (permalink / raw)
  To: 31939

* gnu/packages/golang.scm (go-github-com-mattn-go-isatty): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ea6ca2286..3991deb5d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
 ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2018 Pierre Neidhardt <ambrevar@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1791,3 +1792,29 @@ finding resources located relative to the executable file.")
 run programs as a service using a variety of supervisors, including systemd,
 SysVinit, and more.")
       (license license:zlib))))
+
+(define-public go-github-com-mattn-go-isatty
+  (let ((commit "6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c")
+        (revision "0"))
+    (package
+      (name "go-github-com-mattn-go-isatty")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mattn/go-isatty")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/mattn/go-isatty"))
+      (home-page "https://github.com/mattn/go-isatty")
+      (synopsis "@code{isatty} for Golang")
+      (description "This package provides @code{isatty}, a Go module that can
+tell you whether a file descriptor points to a terminal and the type of the
+terminal.")
+      (license license:bsd-style))))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar.
  2018-06-22 18:30   ` [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar Pierre Neidhardt
@ 2018-07-13 12:25     ` Ludovic Courtès
  0 siblings, 0 replies; 21+ messages in thread
From: Ludovic Courtès @ 2018-07-13 12:25 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 31939

Pierre Neidhardt <ambrevar@gmail.com> skribis:

> * gnu/packages/golang.scm (go-github-com-stevedonovan-luar): New variable.

[...]

> +      (description "Luar is designed to make using Lua from Go more
> +convenient.  Go structs, slices and maps can be automatically converted to Lua
> +tables and vice-versa.  The resulting conversion can either be a copy or a
> +proxy.  In the latter case, any change made to the result will reflect on the
> +source.
> +
> +Any Go function can be made available to Lua scripts, without having to write
> +C-style wrappers.
> +
> +Luar support cyclic structures (map[string]interface{}, lists, etc.).

I believe this last line is not valid Texinfo.  Since the description is
already a big verbose, I’d suggest removing it.

Ludo’.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 13/13] gnu: Add demlo.
  2018-06-22 18:30   ` [bug#31939] [PATCH 13/13] gnu: Add demlo Pierre Neidhardt
  2018-06-23  9:08     ` Pierre Neidhardt
@ 2018-07-13 12:27     ` Ludovic Courtès
  1 sibling, 0 replies; 21+ messages in thread
From: Ludovic Courtès @ 2018-07-13 12:27 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 31939

Pierre Neidhardt <ambrevar@gmail.com> skribis:

> +@itemize
> +@item Fix the lack of folder structure.
> +@item Normalize tags, fix their case, chose which tags to keep and which to
> +discard.
> +@item Handle lossy and lossless audio differently.
> +@item Handle mp3 id3tags hell…

Please use three dots and rendering will replace it with HORIZONTAL
ELLIPSIS if the current locale encoding supports it (well, it doesn’t do
it yet, but someday.)

Ludo’.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty.
  2018-06-22 18:27 [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
  2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
  2018-06-23  9:08 ` [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
@ 2018-07-13 12:31 ` Ludovic Courtès
  2018-07-16 21:22   ` Pierre Neidhardt
  2 siblings, 1 reply; 21+ messages in thread
From: Ludovic Courtès @ 2018-07-13 12:31 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: Ricardo Wurmus, 31939

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

Hi Pierre,

Sorry for the delay getting back to you!

I had a cursory look and it all LGTM, modulo minor issues I reported
(please make sure to run ‘guix lint’ on all of them and fix any issues
it reports—I’ve seen a couple of minor things that it should notice.)

I figured the easiest way to apply it would be to give you commit
access.  :-)

Could you create an account on Savannah, add the OpenPGP public key that
you’ll use to sign commits there, and reply with a message signed with
that public key?

Once you’re done, please read the commit access rules in the ‘HACKING’
file.

Thank you!

Ludo’.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty.
  2018-07-13 12:31 ` Ludovic Courtès
@ 2018-07-16 21:22   ` Pierre Neidhardt
  2018-07-17  8:11     ` Ludovic Courtès
  0 siblings, 1 reply; 21+ messages in thread
From: Pierre Neidhardt @ 2018-07-16 21:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Ricardo Wurmus, 31939

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

Hi Ludo!

Thanks for this fantastic show of trust, I'm very grateful!
You've made my day! :)

I already have an account on Savannah: "ambrevar".
This e-mail should be signed with the same key.

I'll study this HACKING file carefully.

Let me know if there is anything else.

Cheers!
Pierre

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty.
  2018-07-16 21:22   ` Pierre Neidhardt
@ 2018-07-17  8:11     ` Ludovic Courtès
  2018-07-22 21:02       ` Pierre Neidhardt
  0 siblings, 1 reply; 21+ messages in thread
From: Ludovic Courtès @ 2018-07-17  8:11 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: Ricardo Wurmus, 31939

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

Hello Pierre,

Pierre Neidhardt <ambrevar@gmail.com> skribis:

> Thanks for this fantastic show of trust, I'm very grateful!
> You've made my day! :)
>
> I already have an account on Savannah: "ambrevar".
> This e-mail should be signed with the same key.
>
> I'll study this HACKING file carefully.

I’ve added you to the Savannah group, so I think we’re all set!

Please let us know if you have any questions or if you’re in doubt with
Git, or with what goes to which branch, etc.

Welcome aboard!  :-)

Ludo’.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty.
  2018-07-17  8:11     ` Ludovic Courtès
@ 2018-07-22 21:02       ` Pierre Neidhardt
  0 siblings, 0 replies; 21+ messages in thread
From: Pierre Neidhardt @ 2018-07-22 21:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Ricardo Wurmus, 31939, 31939-done

[-- Attachment #1: Type: text/plain, Size: 62 bytes --]


I've just merged Demlo.  Closing.

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-07-22 21:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 18:27 [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar Pierre Neidhardt
2018-07-13 12:25     ` Ludovic Courtès
2018-06-22 18:30   ` [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib Pierre Neidhardt
2018-06-22 18:30   ` [bug#31939] [PATCH 13/13] gnu: Add demlo Pierre Neidhardt
2018-06-23  9:08     ` Pierre Neidhardt
2018-07-13 12:27     ` Ludovic Courtès
2018-06-23  9:08 ` [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
2018-07-13 12:31 ` Ludovic Courtès
2018-07-16 21:22   ` Pierre Neidhardt
2018-07-17  8:11     ` Ludovic Courtès
2018-07-22 21:02       ` Pierre Neidhardt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).