* [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.
@ 2020-11-10 22:37 Joseph LaFreniere
2020-11-10 22:45 ` [bug#44562] [PATCH 02/15] gnu: Add go-github-com-go-playground-locales Joseph LaFreniere
` (14 more replies)
0 siblings, 15 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:37 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 240 bytes --]
This is building toward github.com/x-motemen/ghq. I'm not a Go
developer and didn't find golang.scm to be entirely consistent in
its conventions, so I'm anticipating some cleanup of these patches
will be required.
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-go-github-com-leodido-go-urn.patch --]
[-- Type: text/x-patch, Size: 1785 bytes --]
From a806f9922aaccacb30c920bacde94edcc9a630af Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 26 Jul 2020 17:34:08 -0500
Subject: [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.
* gnu/packages/golang.scm (go-github-com-leodido-go-urn): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 82573bd099..43f9a5ed74 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -480,6 +480,31 @@ jar struct to manage the cookies added to the cookie jar.")
(home-page "https://github.com/aki237/nscjar")
(license license:expat))))
+(define-public go-github-com-leodido-go-urn
+ (package
+ (name "go-github-com-leodido-go-urn")
+ (version "1.2.0")
+ (home-page "https://github.com/leodido/go-urn")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/leodido/go-urn"))
+ (inputs
+ `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+ (synopsis "Parser for uniform resource names as seen on RFC 2141")
+ (description
+ "This package implements a parser for uniform resource names (URN) as
+specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
+ (license license:expat)))
+
(define-public go-github.com-jessevdk-go-flags
(package
(name "go-github.com-jessevdk-go-flags")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 02/15] gnu: Add go-github-com-go-playground-locales.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
@ 2020-11-10 22:45 ` Joseph LaFreniere
2020-11-10 22:46 ` [bug#44562] [PATCH 03/15] gnu: Add go-github-com-go-playground-universal-translator Joseph LaFreniere
` (13 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:45 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-go-github-com-go-playground-locales.patch --]
[-- Type: text/x-patch, Size: 2214 bytes --]
From 9020d201f85a0d20eeab7afcff3d71b7219ef4ef Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 26 Jul 2020 20:37:37 -0500
Subject: [PATCH 02/15] gnu: Add go-github-com-go-playground-locales.
* gnu/packages/golang.scm (go-github-com-go-playground-locales): 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 43f9a5ed74..118111ffb9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -530,6 +530,40 @@ way of specifying command line options.")
(home-page "https://github.com/jessevdk/go-flags")
(license license:bsd-3)))
+(define-public go-github-com-go-playground-locales
+ (package
+ (name "go-github-com-go-playground-locales")
+ (version "0.13.0")
+ (home-page "https://github.com/go-playground/locales")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qydcpkvss3mf8mk3xzg6a34n8i69aydrigcl2apifrkx72jw7pf"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/go-playground/locales"))
+ (synopsis "Set of locales generated from the CLDR Unicode Project")
+ (description
+ "This package provides a set of locales generated from the
+@uref{http://cldr.unicode.org/, Unicode CLDR Project} which can be used
+independently or within an internalization (i18n) package. Its currently
+implemented features include
+
+@itemize
+@item Rules generated from the CLDR data, v31.0.3
+@item Contains Cardinal, Ordinal and Range Plural Rules
+@item Contains Month, Weekday and Timezone translations built in
+@item Contains Date & Time formatting functions
+@item Contains Number, Currency, Accounting and Percent formatting functions
+@item Supports the \"Gregorian\" calendar only
+@end itemize")
+ (license license:expat)))
+
(define-public go-gopkg.in-tomb.v2
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
(revision "0"))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 03/15] gnu: Add go-github-com-go-playground-universal-translator.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
2020-11-10 22:45 ` [bug#44562] [PATCH 02/15] gnu: Add go-github-com-go-playground-locales Joseph LaFreniere
@ 2020-11-10 22:46 ` Joseph LaFreniere
2020-11-10 22:47 ` [bug#44562] [PATCH 04/15] gnu: Add go-gopkg-in-go-playground-assert-v1 Joseph LaFreniere
` (12 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:46 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-gnu-Add-go-github-com-go-playground-universal-transl.patch --]
[-- Type: text/x-patch, Size: 2445 bytes --]
From 1e205805461e2474a5d403de6820dbebc9e27d6d Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 26 Jul 2020 20:42:08 -0500
Subject: [PATCH 03/15] gnu: Add
go-github-com-go-playground-universal-translator.
* gnu/packages/golang.scm (go-github-com-go-playground-universal-translator): 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 118111ffb9..9a2b30b3ab 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -564,6 +564,44 @@ implemented features include
@end itemize")
(license license:expat)))
+(define-public go-github-com-go-playground-universal-translator
+ (package
+ (name "go-github-com-go-playground-universal-translator")
+ (version "0.17.0")
+ (home-page "https://github.com/go-playground/universal-translator")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zdiaisb32iv4x93cpbqrgx8ll7sxh4hcd2iibpswy4bwvjbjlz6"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/go-playground/universal-translator"))
+ (inputs
+ `(("go-github-com-go-playground-locales" ,go-github-com-go-playground-locales)))
+ (synopsis "Translator using Unicode CLDR data and pluralization rules")
+ (description
+ "This package offers an Internalization Translator for Go using
+@uref{http://cldr.unicode.org/, Unicode CLDR Project} data and pluralization
+rules. Its currently implemented features include
+
+@itemize
+@item Rules generated from the CLDR data, v30.0.3
+@item Contains Cardinal, Ordinal and Range Plural Rules
+@item Contains Month, Weekday and Timezone translations built in
+@item Contains Date & Time formatting functions
+@item Contains Number, Currency, Accounting and Percent formatting functions
+@item Supports the \"Gregorian\" calendar only
+@item Support loading translations from files
+@item Exporting translations to file(s), mainly for getting them
+professionally translated
+@end itemize")
+ (license license:expat)))
+
(define-public go-gopkg.in-tomb.v2
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
(revision "0"))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 04/15] gnu: Add go-gopkg-in-go-playground-assert-v1.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
2020-11-10 22:45 ` [bug#44562] [PATCH 02/15] gnu: Add go-github-com-go-playground-locales Joseph LaFreniere
2020-11-10 22:46 ` [bug#44562] [PATCH 03/15] gnu: Add go-github-com-go-playground-universal-translator Joseph LaFreniere
@ 2020-11-10 22:47 ` Joseph LaFreniere
2020-11-10 22:47 ` [bug#44562] [PATCH 05/15] gnu: Add go-gopkg-in-go-playground-validator-v9 Joseph LaFreniere
` (11 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:47 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-gnu-Add-go-gopkg-in-go-playground-assert-v1.patch --]
[-- Type: text/x-patch, Size: 1714 bytes --]
From 059ad30b0b29db66a7526d4704666cc32f415362 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 26 Jul 2020 23:21:41 -0500
Subject: [PATCH 04/15] gnu: Add go-gopkg-in-go-playground-assert-v1.
* gnu/packages/golang.scm (go-gopkg-in-go-playground-assert-v1): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9a2b30b3ab..6742404f3f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -530,6 +530,29 @@ way of specifying command line options.")
(home-page "https://github.com/jessevdk/go-flags")
(license license:bsd-3)))
+(define-public go-gopkg-in-go-playground-assert-v1
+ (package
+ (name "go-gopkg-in-go-playground-assert-v1")
+ (version "1.2.1")
+ (home-page "https://github.com/go-playground/assert")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "gopkg.in/go-playground/assert.v1"))
+ (synopsis "Basic assertion library used alongside native Go testing")
+ (description
+ "This package provides bassic assertions along with building blocks for
+custom assertions to be used alongside native Go testing.")
+ (license license:expat)))
+
(define-public go-github-com-go-playground-locales
(package
(name "go-github-com-go-playground-locales")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 05/15] gnu: Add go-gopkg-in-go-playground-validator-v9.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (2 preceding siblings ...)
2020-11-10 22:47 ` [bug#44562] [PATCH 04/15] gnu: Add go-gopkg-in-go-playground-assert-v1 Joseph LaFreniere
@ 2020-11-10 22:47 ` Joseph LaFreniere
2020-11-10 22:48 ` [bug#44562] [PATCH 06/15] gnu: Add go-github-com-goccy-yaml Joseph LaFreniere
` (10 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:47 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0005-gnu-Add-go-gopkg-in-go-playground-validator-v9.patch --]
[-- Type: text/x-patch, Size: 3096 bytes --]
From e4b414d320e2f77bbe07719484822cea855a57b6 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 26 Jul 2020 23:42:48 -0500
Subject: [PATCH 05/15] gnu: Add go-gopkg-in-go-playground-validator-v9.
* gnu/packages/golang.scm (go-gopkg-in-go-playground-validator-v9): New variable.
---
gnu/packages/golang.scm | 48 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6742404f3f..32605fbc65 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -625,6 +625,54 @@ professionally translated
@end itemize")
(license license:expat)))
+(define-public go-gopkg-in-go-playground-validator-v9
+ (package
+ (name "go-gopkg-in-go-playground-validator-v9")
+ (version "9.31.0")
+ (home-page "https://gopkg.in/go-playground/validator.v9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-playground/validator")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f8c77s8kx9rip2jarv27x5s4xkcmanh4ndyhbcwvrhncs5rq061"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "gopkg.in/go-playground/validator.v9"))
+ (inputs
+ `(("go-gopkg-in-go-playground-assert-v1"
+ ,go-gopkg-in-go-playground-assert-v1)
+ ("go-github-com-go-playground-locales"
+ ,go-github-com-go-playground-locales)
+ ("go-github-com-go-playground-universal-translator"
+ ,go-github-com-go-playground-universal-translator)
+ ("go-github-com-leodido-go-urn" ,go-github-com-leodido-go-urn)))
+ (synopsis "Validator for structs and individual fields based on tags")
+ (description
+ "This package implements value validations for structs and individual
+fields based on tags. It has the following unique features:
+
+@itemize
+@item Cross Field and Cross Struct validations by using validation tags or custom validators
+@item Slice, Array and Map diving, which allows any or all levels of a multidimensional field to be validated
+@item Ability to dive into both map keys and values for validation
+@item Handles type interface by determining it's underlying type prior to validation
+@item Handles custom field types such as sql driver
+@uref{https://golang.org/src/database/sql/driver/types.go?s=1210:1293#L29,
+Valuer}
+@item Alias validation tags, which allows for mapping of several validations
+to a single tag for easier defining of validations on structs
+@item Extraction of custom defined Field Name e.g. can specify to extract the
+JSON name while validating and have it available in the resulting FieldError
+@item Customizable i18n aware error messages.
+@item Default validator for the @uref{https://github.com/gin-gonic/gin, gin}
+web framework
+@end itemize")
+ (license license:expat)))
+
(define-public go-gopkg.in-tomb.v2
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
(revision "0"))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 06/15] gnu: Add go-github-com-goccy-yaml.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (3 preceding siblings ...)
2020-11-10 22:47 ` [bug#44562] [PATCH 05/15] gnu: Add go-gopkg-in-go-playground-validator-v9 Joseph LaFreniere
@ 2020-11-10 22:48 ` Joseph LaFreniere
2020-11-10 22:49 ` [bug#44562] [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig Joseph LaFreniere
` (9 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:48 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0006-gnu-Add-go-github-com-goccy-yaml.patch --]
[-- Type: text/x-patch, Size: 2387 bytes --]
From 922de851d989ec1ae910fd507d3de4e89969bd2c Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 26 Jul 2020 23:55:03 -0500
Subject: [PATCH 06/15] gnu: Add go-github-com-goccy-yaml.
* gnu/packages/golang.scm (go-github-com-goccy-yaml): 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 32605fbc65..a902f7cd5c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6203,3 +6203,44 @@ JSON data to the machine.")
systems can import this package to enable running programs as services without
modifying them.")
(license license:zlib)))
+
+(define-public go-github-com-goccy-yaml
+ (package
+ (name "go-github-com-goccy-yaml")
+ (version "1.8.0")
+ (home-page "https://github.com/goccy/go-yaml")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/goccy/go-yaml"))
+ (inputs
+ `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
+ ("go-github-com-go-playground-locales"
+ ,go-github-com-go-playground-locales)
+ ("go-github-com-go-playground-universal-translator"
+ ,go-github-com-go-playground-universal-translator)
+ ("go-github-com-leodido-go-urn" ,go-github-com-leodido-go-urn)
+ ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)
+ ("go-gopkg-in-go-playground-validator-v9"
+ ,go-gopkg-in-go-playground-validator-v9)))
+ (synopsis "YAML support for the Go language")
+ (description
+ "This package provides features beyond the
+@uref{https://github.com/go-yaml/yaml, defacto YAML library} including:
+
+@itemize
+@item Pretty format for error notifications
+@item Support Scanner or Lexer or Parser as public API
+@item Support Anchor and Alias to Marshaler
+@item Allow referencing elements declared in another file via anchors
+@item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
+@end itemize")
+ (license license:expat)))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (4 preceding siblings ...)
2020-11-10 22:48 ` [bug#44562] [PATCH 06/15] gnu: Add go-github-com-goccy-yaml Joseph LaFreniere
@ 2020-11-10 22:49 ` Joseph LaFreniere
2020-11-10 22:49 ` [bug#44562] [PATCH 08/15] gnu: Add go-github-com-golangplus-fmt Joseph LaFreniere
` (8 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:49 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0007-gnu-Add-go-github-com-Songmu-gitconfig.patch --]
[-- Type: text/x-patch, Size: 1814 bytes --]
From 19dd9897e0167e4bf2c73487ed4000a92a16a4f4 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Mon, 27 Jul 2020 00:12:06 -0500
Subject: [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig.
* gnu/packages/golang.scm (go-github-com-Songmu-gitconfig): 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 a902f7cd5c..03f9fc46af 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6244,3 +6244,30 @@ modifying them.")
@item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
@end itemize")
(license license:expat)))
+
+(define-public go-github-com-Songmu-gitconfig
+ (package
+ (name "go-github-com-Songmu-gitconfig")
+ (version "0.1.0")
+ (home-page "https://github.com/Songmu/gitconfig")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1y01h496a7pfj1g2bclls5b0nl3vnj7nz610jj1dzq9kxrwxk7fk"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/Songmu/gitconfig"
+ ;; Package's tests appear to be hardcoded to the author's gitconfig.
+ #:tests? #f))
+ (inputs
+ `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
+ ("go-github-com-goccy-yaml" ,go-github-com-goccy-yaml)
+ ("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors)))
+ (synopsis "Go library to get configuration values from gitconfig.")
+ (description "@{gitconfig} is a package to get configuration values from gitconfig.")
+ (license license:expat)))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 08/15] gnu: Add go-github-com-golangplus-fmt.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (5 preceding siblings ...)
2020-11-10 22:49 ` [bug#44562] [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig Joseph LaFreniere
@ 2020-11-10 22:49 ` Joseph LaFreniere
2020-11-10 22:50 ` [bug#44562] [PATCH 09/15] gnu: Add go-github-com-golangplus-testing Joseph LaFreniere
` (7 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:49 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0008-gnu-Add-go-github-com-golangplus-fmt.patch --]
[-- Type: text/x-patch, Size: 1629 bytes --]
From 6e9cdf04e9b93753c6620d63b7e13a4fb496a27c Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 21:35:04 -0600
Subject: [PATCH 08/15] gnu: Add go-github-com-golangplus-fmt.
* gnu/packages/golang.scm (go-github-com-golangplus-fmt): New variable.
---
gnu/packages/golang.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 03f9fc46af..3eb84d675e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -480,6 +480,26 @@ jar struct to manage the cookies added to the cookie jar.")
(home-page "https://github.com/aki237/nscjar")
(license license:expat))))
+(define-public go-github-com-golangplus-fmt
+ (package
+ (name "go-github-com-golangplus-fmt")
+ (version "1.0.0")
+ (home-page "https://github.com/golangplus/fmt")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07d5kxz0f8ss3v46y0c8jg02sagi0wlaaijhjzzp0r462jyzqii7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/golangplus/fmt"))
+ (synopsis "Additions to Go's standard @code{fmt} package")
+ (description "This package provides additions to Go's stdlib @code{fmt}.")
+ (license license:bsd-3)))
+
(define-public go-github-com-leodido-go-urn
(package
(name "go-github-com-leodido-go-urn")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 09/15] gnu: Add go-github-com-golangplus-testing.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (6 preceding siblings ...)
2020-11-10 22:49 ` [bug#44562] [PATCH 08/15] gnu: Add go-github-com-golangplus-fmt Joseph LaFreniere
@ 2020-11-10 22:50 ` Joseph LaFreniere
2020-11-10 22:50 ` [bug#44562] [PATCH 10/15] gnu: Add go-github-com-daviddengcn-go-colortext Joseph LaFreniere
` (6 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:50 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0009-gnu-Add-go-github-com-golangplus-testing.patch --]
[-- Type: text/x-patch, Size: 1758 bytes --]
From 67bd67fa71abe44a7ca629ddd53b839c23bdff6f Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 21:35:55 -0600
Subject: [PATCH 09/15] gnu: Add go-github-com-golangplus-testing.
* gnu/packages/golang.scm (go-github-com-golangplus-testing): New variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3eb84d675e..aa4edc85ec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -500,6 +500,28 @@ jar struct to manage the cookies added to the cookie jar.")
(description "This package provides additions to Go's stdlib @code{fmt}.")
(license license:bsd-3)))
+(define-public go-github-com-golangplus-testing
+ (package
+ (name "go-github-com-golangplus-testing")
+ (version "1.0.0")
+ (home-page "https://github.com/golangplus/testing")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a29m4zplf9m14k74lrb55dids2l17vx28sv0g3y3qcv1xygksiv"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/golangplus/testing"))
+ (inputs
+ `(("go-github-com-golangplus-fmt" ,go-github-com-golangplus-fmt)))
+ (synopsis "Additions to Go's standard testing package")
+ (description "This package provides additions to Go's stdlib testing.")
+ (license license:bsd-3)))
+
(define-public go-github-com-leodido-go-urn
(package
(name "go-github-com-leodido-go-urn")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 10/15] gnu: Add go-github-com-daviddengcn-go-colortext.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (7 preceding siblings ...)
2020-11-10 22:50 ` [bug#44562] [PATCH 09/15] gnu: Add go-github-com-golangplus-testing Joseph LaFreniere
@ 2020-11-10 22:50 ` Joseph LaFreniere
2020-11-10 22:52 ` [bug#44562] [PATCH 11/15] gnu: Add go-github-com-motemen-go-colorine Joseph LaFreniere
` (5 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:50 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0010-gnu-Add-go-github-com-daviddengcn-go-colortext.patch --]
[-- Type: text/x-patch, Size: 2027 bytes --]
From e37a23dae6340f162d474dde9b929b25d53f518f Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 21:36:52 -0600
Subject: [PATCH 10/15] gnu: Add go-github-com-daviddengcn-go-colortext.
* gnu/packages/golang.scm (go-github-com-daviddengcn-go-colortext): 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 aa4edc85ec..b903077ed4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -500,6 +500,33 @@ jar struct to manage the cookies added to the cookie jar.")
(description "This package provides additions to Go's stdlib @code{fmt}.")
(license license:bsd-3)))
+(define-public go-github-com-daviddengcn-go-colortext
+ (package
+ (name "go-github-com-daviddengcn-go-colortext")
+ (version "1.0.0")
+ (home-page "https://github.com/daviddengcn/go-colortext")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j5ldwg3a768d3nniiglghr9axj4p87k7f7asqxa1a688xvcms48"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("go-github-com-golangplus-testing" ,go-github-com-golangplus-testing)))
+ (arguments
+ '(#:import-path "github.com/daviddengcn/go-colortext"))
+ (synopsis "Change the color of console text and background")
+ (description
+ "This is a package to change the color of the text and background in the
+console, working both under Windows and other systems.
+
+Under Windows, the console APIs are used. Otherwise, ANSI texts are output.")
+ ;; dual-licensed
+ (license (list license:bsd-3 license:expat))))
+
(define-public go-github-com-golangplus-testing
(package
(name "go-github-com-golangplus-testing")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 11/15] gnu: Add go-github-com-motemen-go-colorine.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (8 preceding siblings ...)
2020-11-10 22:50 ` [bug#44562] [PATCH 10/15] gnu: Add go-github-com-daviddengcn-go-colortext Joseph LaFreniere
@ 2020-11-10 22:52 ` Joseph LaFreniere
2020-11-10 22:53 ` [bug#44562] [PATCH 12/15] gnu: Add go-golang.org-x-net-html Joseph LaFreniere
` (4 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:52 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0011-gnu-Add-go-github-com-motemen-go-colorine.patch --]
[-- Type: text/x-patch, Size: 1958 bytes --]
From 11f48711956f4d2804af0b442a22ddde785f00b4 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 21:38:18 -0600
Subject: [PATCH 11/15] gnu: Add go-github-com-motemen-go-colorine.
* gnu/packages/golang.scm (go-github-com-motemen-go-colorine): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b903077ed4..bdd312b48e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -500,6 +500,31 @@ jar struct to manage the cookies added to the cookie jar.")
(description "This package provides additions to Go's stdlib @code{fmt}.")
(license license:bsd-3)))
+(define-public go-github-com-motemen-go-colorine
+ (let ((commit "45d19169413a019e4e2be69629dde5c7d92f8706")
+ (revision "0"))
+ (package
+ (name "go-github-com-motemen-go-colorine")
+ (version (git-version "0.0.0" revision commit))
+ (home-page "https://github.com/motemen/go-colorine")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/motemen/go-colorine"))
+ (inputs
+ `(("github.com/daviddengcn/go-colortext" ,go-github-com-daviddengcn-go-colortext)))
+ (synopsis "Simple colorized console logger for golang")
+ (description
+ "This package provides simple colorized console logger for golang.")
+ (license license:expat))))
+
(define-public go-github-com-daviddengcn-go-colortext
(package
(name "go-github-com-daviddengcn-go-colortext")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 12/15] gnu: Add go-golang.org-x-net-html.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (9 preceding siblings ...)
2020-11-10 22:52 ` [bug#44562] [PATCH 11/15] gnu: Add go-github-com-motemen-go-colorine Joseph LaFreniere
@ 2020-11-10 22:53 ` Joseph LaFreniere
2020-11-10 22:53 ` [bug#44562] [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2 Joseph LaFreniere
` (3 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:53 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0012-gnu-Add-go-golang.org-x-net-html.patch --]
[-- Type: text/x-patch, Size: 1807 bytes --]
From 2ae9aa5edde3da1835e7601232b11482aab51362 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 21:52:02 -0600
Subject: [PATCH 12/15] gnu: Add go-golang.org-x-net-html.
* gnu/packages/golang.scm (go-golang.org-x-net-html): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bdd312b48e..789a8a946a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6365,3 +6365,28 @@ modifying them.")
(synopsis "Go library to get configuration values from gitconfig.")
(description "@{gitconfig} is a package to get configuration values from gitconfig.")
(license license:expat)))
+
+(define-public go-golang.org-x-net-html
+ (let ((commit "70d85028bad349e3b72df9fa3a5069e5e866d7e2")
+ (revision "0"))
+ (package
+ (name "go-golang.org-x-net-html")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://go.googlesource.com/net")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0zrzn9jg70kzphk4p2mwhn84wsppq51y9ilcmfyg6ga5n3wbqmhm"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "golang.org/x/net/html"
+ #:unpack-path "golang.org/x/net"))
+ (synopsis "HTML5-compliant tokenizer and parser.")
+ (description
+ "This package provides an HTML5-compliant tokenizer and parser.")
+ (home-page "https://godoc.org/golang.org/x/net/html")
+ (license license:bsd-3))))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (10 preceding siblings ...)
2020-11-10 22:53 ` [bug#44562] [PATCH 12/15] gnu: Add go-golang.org-x-net-html Joseph LaFreniere
@ 2020-11-10 22:53 ` Joseph LaFreniere
2020-11-10 22:54 ` [bug#44562] [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq Joseph LaFreniere
` (2 subsequent siblings)
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:53 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0013-gnu-Add-go-github-com-urfave-cli-v2.patch --]
[-- Type: text/x-patch, Size: 1832 bytes --]
From 71b88b1661d3b1832f7e64d6aa3c85609addcc9e Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 22:00:53 -0600
Subject: [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2.
* gnu/packages/golang.scm (go-github-com-urfave-cli-v2): New variable.
---
gnu/packages/golang.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 789a8a946a..4e741f4504 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3379,7 +3379,7 @@ as conversion to and from @command{net.Addr}.")
(build-system go-build-system)
(arguments
'(#:import-path "github.com/urfave/cli"))
- (propagated-inputs
+ (native-inputs
`(("go-github-com-go-md2man" ,go-github-com-go-md2man)))
(home-page "https://github.com/urfave/cli")
(synopsis "Simple, fast, and fun package for building command line apps in Go")
@@ -3388,6 +3388,23 @@ building command line apps in Go. The goal is to enable developers to write
fast and distributable command line applications in an expressive way.")
(license license:expat)))
+(define-public go-github-com-urfave-cli-v2
+ (package
+ (inherit go-github-com-urfave-cli)
+ (name "go-github-com-urfave-cli-v2")
+ (version "2.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/urfave/cli")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08pvn7gyfznni72xrxfh2x6xxa8ykr7l1ka278js8g8qkh71bj8l"))))
+ (arguments
+ '(#:import-path "github.com/urfave/cli/v2"))))
+
(define-public go-github-com-go-md2man
(package
(name "go-github-com-go-md2man")
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (11 preceding siblings ...)
2020-11-10 22:53 ` [bug#44562] [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2 Joseph LaFreniere
@ 2020-11-10 22:54 ` Joseph LaFreniere
2020-11-10 22:54 ` [bug#44562] [PATCH 15/15] gnu: Add ghq Joseph LaFreniere
2021-01-03 15:23 ` [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Efraim Flashner
14 siblings, 0 replies; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:54 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0014-gnu-Add-go-github-com-x-motemen-ghq.patch --]
[-- Type: text/x-patch, Size: 3082 bytes --]
From 77389b438ddacdfec2b8c46182297b7bd9326be8 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 13:11:51 -0600
Subject: [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq.
* gnu/packages/golang.scm (go-github-com-x-motemen-ghq): New variable.
---
gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4e741f4504..8a45e64efa 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -58,6 +58,7 @@
#:use-module (gnu packages mp3)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
@@ -6407,3 +6408,47 @@ modifying them.")
"This package provides an HTML5-compliant tokenizer and parser.")
(home-page "https://godoc.org/golang.org/x/net/html")
(license license:bsd-3))))
+
+(define-public go-github-com-x-motemen-ghq
+ (package
+ (name "go-github-com-x-motemen-ghq")
+ (version "1.1.5")
+ (home-page "https://github.com/x-motemen/ghq")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "098fik155viylq07az7crzbgswcvhpx0hr68xpvyx0rpri792jbq"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/x-motemen/ghq"))
+ (native-inputs
+ `(("github.com/go/md2man" ,go-github-com-go-md2man)))
+ (inputs
+ `(("github.com/Songmu/gitconfig" ,go-github-com-Songmu-gitconfig)
+ ("github.com/daviddengcn/go-colortext" ,go-github-com-daviddengcn-go-colortext)
+ ("github.com/fatih/color" ,go-github-com-fatih-color)
+ ("github.com/goccy/yaml" ,go-github-com-goccy-yaml)
+ ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
+ ("github.com/motemen/go-colorine" ,go-github-com-motemen-go-colorine)
+ ("github.com/saracen/walker" ,go-github-com-saracen-walker)
+ ("github.com/urfave/cli/v2" ,go-github-com-urfave-cli-v2)
+ ("golang.org/x/net/html" ,go-golang.org-x-net-html)
+ ("golang.org/x/sync/errgroup" ,go-golang.org-x-sync-errgroup)
+ ("golang.org/x/xerrors" ,go-golang-org-x-xerrors)
+ ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)
+ ("perl" ,perl)))
+ (propagated-inputs
+ `(("fossil" ,fossil)
+ ("git" ,git-minimal)))
+ (synopsis "Manage remote repository clones")
+ (description
+ "code{ghq} provides a way to organize remote repository clones, like
+@code{go get} does. When you clone a remote repository by @code{ghq get}, ghq
+makes a directory under a specific root directory (by default @file{~/ghq})
+using the remote repository URL's host and path.")
+ (license license:expat)))
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 15/15] gnu: Add ghq.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (12 preceding siblings ...)
2020-11-10 22:54 ` [bug#44562] [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq Joseph LaFreniere
@ 2020-11-10 22:54 ` Joseph LaFreniere
2021-01-03 15:24 ` bug#44562: " Efraim Flashner
2021-01-03 15:23 ` [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Efraim Flashner
14 siblings, 1 reply; 17+ messages in thread
From: Joseph LaFreniere @ 2020-11-10 22:54 UTC (permalink / raw)
To: 44562
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
--
Joseph LaFreniere
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0015-gnu-Add-ghq.patch --]
[-- Type: text/x-patch, Size: 733 bytes --]
From 0ca73a97f71901c714dd9144f32af2d6a01c3632 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Mon, 9 Nov 2020 23:19:54 -0600
Subject: [PATCH 15/15] gnu: Add ghq.
* gnu/packages/golang.scm (ghq): New variable.
---
gnu/packages/golang.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8a45e64efa..36d7d1386e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6452,3 +6452,5 @@ modifying them.")
makes a directory under a specific root directory (by default @file{~/ghq})
using the remote repository URL's host and path.")
(license license:expat)))
+
+(define-public ghq go-github-com-x-motemen-ghq)
--
2.29.2
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
` (13 preceding siblings ...)
2020-11-10 22:54 ` [bug#44562] [PATCH 15/15] gnu: Add ghq Joseph LaFreniere
@ 2021-01-03 15:23 ` Efraim Flashner
14 siblings, 0 replies; 17+ messages in thread
From: Efraim Flashner @ 2021-01-03 15:23 UTC (permalink / raw)
To: Joseph LaFreniere; +Cc: 44562
[-- Attachment #1: Type: text/plain, Size: 2547 bytes --]
On Tue, Nov 10, 2020 at 04:37:56PM -0600, Joseph LaFreniere wrote:
> This is building toward github.com/x-motemen/ghq. I'm not a Go developer
> and didn't find golang.scm to be entirely consistent in its conventions, so
> I'm anticipating some cleanup of these patches will be required.
>
> --
> Joseph LaFreniere
> From a806f9922aaccacb30c920bacde94edcc9a630af Mon Sep 17 00:00:00 2001
> From: Joseph LaFreniere <joseph@lafreniere.xyz>
> Date: Sun, 26 Jul 2020 17:34:08 -0500
> Subject: [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn.
>
> * gnu/packages/golang.scm (go-github-com-leodido-go-urn): New variable.
> ---
> gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
> index 82573bd099..43f9a5ed74 100644
> --- a/gnu/packages/golang.scm
> +++ b/gnu/packages/golang.scm
> @@ -480,6 +480,31 @@ jar struct to manage the cookies added to the cookie jar.")
> (home-page "https://github.com/aki237/nscjar")
> (license license:expat))))
>
> +(define-public go-github-com-leodido-go-urn
> + (package
> + (name "go-github-com-leodido-go-urn")
> + (version "1.2.0")
> + (home-page "https://github.com/leodido/go-urn")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url home-page)
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim"))))
> + (build-system go-build-system)
> + (arguments
> + '(#:import-path "github.com/leodido/go-urn"))
> + (inputs
> + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
This one was needed only for the tests so I moved it to native-inputs
> + (synopsis "Parser for uniform resource names as seen on RFC 2141")
> + (description
> + "This package implements a parser for uniform resource names (URN) as
> +specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.")
> + (license license:expat)))
> +
> (define-public go-github.com-jessevdk-go-flags
> (package
> (name "go-github.com-jessevdk-go-flags")
> --
> 2.29.2
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#44562: [PATCH 15/15] gnu: Add ghq.
2020-11-10 22:54 ` [bug#44562] [PATCH 15/15] gnu: Add ghq Joseph LaFreniere
@ 2021-01-03 15:24 ` Efraim Flashner
0 siblings, 0 replies; 17+ messages in thread
From: Efraim Flashner @ 2021-01-03 15:24 UTC (permalink / raw)
To: Joseph LaFreniere; +Cc: 44562-done
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
I ended up merging the previous two patches and moved the package to
version-control.scm
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2021-01-03 15:27 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-10 22:37 [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Joseph LaFreniere
2020-11-10 22:45 ` [bug#44562] [PATCH 02/15] gnu: Add go-github-com-go-playground-locales Joseph LaFreniere
2020-11-10 22:46 ` [bug#44562] [PATCH 03/15] gnu: Add go-github-com-go-playground-universal-translator Joseph LaFreniere
2020-11-10 22:47 ` [bug#44562] [PATCH 04/15] gnu: Add go-gopkg-in-go-playground-assert-v1 Joseph LaFreniere
2020-11-10 22:47 ` [bug#44562] [PATCH 05/15] gnu: Add go-gopkg-in-go-playground-validator-v9 Joseph LaFreniere
2020-11-10 22:48 ` [bug#44562] [PATCH 06/15] gnu: Add go-github-com-goccy-yaml Joseph LaFreniere
2020-11-10 22:49 ` [bug#44562] [PATCH 07/15] gnu: Add go-github-com-Songmu-gitconfig Joseph LaFreniere
2020-11-10 22:49 ` [bug#44562] [PATCH 08/15] gnu: Add go-github-com-golangplus-fmt Joseph LaFreniere
2020-11-10 22:50 ` [bug#44562] [PATCH 09/15] gnu: Add go-github-com-golangplus-testing Joseph LaFreniere
2020-11-10 22:50 ` [bug#44562] [PATCH 10/15] gnu: Add go-github-com-daviddengcn-go-colortext Joseph LaFreniere
2020-11-10 22:52 ` [bug#44562] [PATCH 11/15] gnu: Add go-github-com-motemen-go-colorine Joseph LaFreniere
2020-11-10 22:53 ` [bug#44562] [PATCH 12/15] gnu: Add go-golang.org-x-net-html Joseph LaFreniere
2020-11-10 22:53 ` [bug#44562] [PATCH 13/15] gnu: Add go-github-com-urfave-cli-v2 Joseph LaFreniere
2020-11-10 22:54 ` [bug#44562] [PATCH 14/15] gnu: Add go-github-com-x-motemen-ghq Joseph LaFreniere
2020-11-10 22:54 ` [bug#44562] [PATCH 15/15] gnu: Add ghq Joseph LaFreniere
2021-01-03 15:24 ` bug#44562: " Efraim Flashner
2021-01-03 15:23 ` [bug#44562] [PATCH 01/15] gnu: Add go-github-com-leodido-go-urn Efraim Flashner
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).