* [bug#54123] [PATCH 1/5] gnu: Add go-github-com-xdg-go-stringprep.
2022-02-23 10:24 [bug#54123] [PATCH 0/5] some golang packages Efraim Flashner
@ 2022-02-23 10:29 ` Efraim Flashner
2022-03-06 10:26 ` bug#54123: " Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty Efraim Flashner
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2022-02-23 10:29 UTC (permalink / raw)
To: 54123; +Cc: Efraim Flashner
* gnu/packages/golang.scm (go-github-com-xdg-go-stringprep): 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 a093728805..e1d9d1fcde 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7867,6 +7867,31 @@ (define-public go-github-com-twpayne-go-xdg
@uref{freedesktop.org}.")
(license license:expat)))
+(define-public go-github-com-xdg-go-stringprep
+ (package
+ (name "go-github-com-xdg-go-stringprep")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xdg-go/stringprep")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1df0l5n3c520y9filzz83j42wa5c056jcygmfwhjyf1pq8f6jkv9"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/xdg-go/stringprep"))
+ (propagated-inputs
+ (list go-golang-org-x-text))
+ (home-page "https://github.com/xdg-go/stringprep")
+ (synopsis "Go implementation of RFC-3454 stringprep and RFC-4013 SASLprep")
+ (description
+ "Package stringprep provides data tables and algorithms for RFC-3454,
+including errata. It also provides a profile for SASLprep as defined in
+RFC-4013.")
+ (license license:asl2.0)))
+
(define-public go-github-com-godbus-dbus
(package
(name "go-github-com-godbus-dbus")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty.
2022-02-23 10:24 [bug#54123] [PATCH 0/5] some golang packages Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 1/5] gnu: Add go-github-com-xdg-go-stringprep Efraim Flashner
@ 2022-02-23 10:29 ` Efraim Flashner
2022-02-23 12:39 ` Maxime Devos
2022-02-23 10:29 ` [bug#54123] [PATCH 3/5] gnu: Add go-github-com-docker-go-units Efraim Flashner
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2022-02-23 10:29 UTC (permalink / raw)
To: 54123; +Cc: Efraim Flashner
* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e1d9d1fcde..95ef87385a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5511,6 +5511,36 @@ (define-public go-github-com-kr-pretty
(home-page "https://github.com/kr/pretty")
(license license:expat)))
+(define-public go-github-com-niemeyer-pretty
+ (package
+ (name "go-github-com-niemeyer-pretty")
+ (version "0.0.0-20200227124842-a10e7caefd8e")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/niemeyer/pretty")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jmazh4xzaa3v6g46hz60q2z7nmqs9l9cxdzmmscn3kbcs2znq4v"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/niemeyer/pretty"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ ;; https://github.com/kr/pretty/pull/66
+ (substitute* "src/github.com/niemeyer/pretty/formatter.go"
+ (("string\\(i\\)") "string(rune(i))")))))))
+ (propagated-inputs
+ (list go-github-com-kr-text))
+ (home-page "https://github.com/niemeyer/pretty")
+ (synopsis "Pretty printer for Go values")
+ (description "This package provides a pretty printer for Go values.")
+ (license license:expat)))
+
(define-public go-github-com-kylelemons-godebug
(package
(name "go-github-com-kylelemons-godebug")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#54123] [PATCH 3/5] gnu: Add go-github-com-docker-go-units.
2022-02-23 10:24 [bug#54123] [PATCH 0/5] some golang packages Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 1/5] gnu: Add go-github-com-xdg-go-stringprep Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty Efraim Flashner
@ 2022-02-23 10:29 ` Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 4/5] gnu: Add go-github-com-xdg-go-pbkdf2 Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 5/5] gnu: Add go-github-com-xdg-go-scram Efraim Flashner
4 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-02-23 10:29 UTC (permalink / raw)
To: 54123; +Cc: Efraim Flashner
* gnu/packages/golang.scm (go-github-com-docker-go-units): 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 95ef87385a..bce327a7c1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3892,6 +3892,28 @@ (define-public go-github-com-docker-go-connections
translation (NAT), proxies, sockets, and transport layer security (TLS).")
(license license:asl2.0))))
+(define-public go-github-com-docker-go-units
+ (package
+ (name "go-github-com-docker-go-units")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/docker/go-units")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0k8gja8ql4pqg5rzmqvka42vjfs6rzablak87whcnqba6qxpimvz"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/docker/go-units"))
+ (home-page "https://github.com/docker/go-units")
+ (synopsis "Parse and print size and time units in human-readable format")
+ (description
+ "@code{go-units} is a library to transform human friendly measurements into
+machine friendly values.")
+ (license license:asl2.0)))
+
(define-public go-github-com-docker-machine
(let ((commit "7b7a141da84480342357c51838be142bf183b095")
(revision "0"))
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#54123] [PATCH 4/5] gnu: Add go-github-com-xdg-go-pbkdf2.
2022-02-23 10:24 [bug#54123] [PATCH 0/5] some golang packages Efraim Flashner
` (2 preceding siblings ...)
2022-02-23 10:29 ` [bug#54123] [PATCH 3/5] gnu: Add go-github-com-docker-go-units Efraim Flashner
@ 2022-02-23 10:29 ` Efraim Flashner
2022-02-23 10:29 ` [bug#54123] [PATCH 5/5] gnu: Add go-github-com-xdg-go-scram Efraim Flashner
4 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-02-23 10:29 UTC (permalink / raw)
To: 54123; +Cc: Efraim Flashner
* gnu/packages/golang.scm (go-github-com-xdg-go-pbkdf2): 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 bce327a7c1..08bc1578e3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7944,6 +7944,29 @@ (define-public go-github-com-xdg-go-stringprep
RFC-4013.")
(license license:asl2.0)))
+(define-public go-github-com-xdg-go-pbkdf2
+ (package
+ (name "go-github-com-xdg-go-pbkdf2")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xdg-go/pbkdf2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nipijy5xkdnfyhkp5ryrjzm14si1i2v2xyfmblf84binwkbr8jh"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/xdg-go/pbkdf2"))
+ (home-page "https://github.com/xdg-go/pbkdf2")
+ (synopsis "Go implementation of PBKDF2")
+ (description
+ "Package pbkdf2 implements password-based key derivation using the PBKDF2
+algorithm described in @url{https://rfc-editor.org/rfc/rfc2898.html,RFC 2898}
+and @url{https://rfc-editor.org/rfc/rfc8018.html,RFC 8018}.")
+ (license license:asl2.0)))
+
(define-public go-github-com-godbus-dbus
(package
(name "go-github-com-godbus-dbus")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#54123] [PATCH 5/5] gnu: Add go-github-com-xdg-go-scram.
2022-02-23 10:24 [bug#54123] [PATCH 0/5] some golang packages Efraim Flashner
` (3 preceding siblings ...)
2022-02-23 10:29 ` [bug#54123] [PATCH 4/5] gnu: Add go-github-com-xdg-go-pbkdf2 Efraim Flashner
@ 2022-02-23 10:29 ` Efraim Flashner
4 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2022-02-23 10:29 UTC (permalink / raw)
To: 54123; +Cc: Efraim Flashner
* gnu/packages/golang.scm (go-github-com-xdg-go-scram): 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 08bc1578e3..9c7f8580ec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7967,6 +7967,32 @@ (define-public go-github-com-xdg-go-pbkdf2
and @url{https://rfc-editor.org/rfc/rfc8018.html,RFC 8018}.")
(license license:asl2.0)))
+(define-public go-github-com-xdg-go-scram
+ (package
+ (name "go-github-com-xdg-go-scram")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xdg-go/scram")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jyv4qgc1dgh3v96pazmgljpp9ij25k8hwn0v4fck18g16i0nccm"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "github.com/xdg-go/scram"))
+ (propagated-inputs
+ (list go-github-com-xdg-go-stringprep
+ go-github-com-xdg-go-pbkdf2))
+ (home-page "https://github.com/xdg-go/scram")
+ (synopsis "Go implementation of RFC-5802")
+ (description
+ "Package scram provides client and server implementations of the
+@acronym{Salted Challenge Response Authentication Mechanism, SCRAM} described in
+RFC-5802 and RFC-7677.")
+ (license license:asl2.0)))
+
(define-public go-github-com-godbus-dbus
(package
(name "go-github-com-godbus-dbus")
--
2.34.0
^ permalink raw reply related [flat|nested] 8+ messages in thread