GNU bug report logs -
#54123
[PATCH 0/5] some golang packages
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Wed, 23 Feb 2022 10:27:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54123 in the body.
You can then email your comments to 54123 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 10:27:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 23 Feb 2022 10:27:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Just a couple of golang packages I have ready for upstreaming
Efraim Flashner (5):
gnu: Add go-github-com-xdg-go-stringprep.
gnu: Add go-github-com-niemeyer-pretty.
gnu: Add go-github-com-docker-go-units.
gnu: Add go-github-com-xdg-go-pbkdf2.
gnu: Add go-github-com-xdg-go-scram.
gnu/packages/golang.scm | 126 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 126 insertions(+)
base-commit: ec66f84824198f380d20126d3e4b2ea795fd205a
prerequisite-patch-id: 9d30bed3a784f3e68b0c243cfa605ef2c9dbfe23
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 10:30:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54123 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 10:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 54123 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 10:32:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 54123 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 10:32:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 54123 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 10:33:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 54123 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54123
; Package
guix-patches
.
(Wed, 23 Feb 2022 12:40:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 54123 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Efraim Flashner schreef op wo 23-02-2022 om 12:29 [+0200]:
> + (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))")))))))
The 'patches' and 'snippet' fields of 'origin' are for patching
source code. While patching in a phase works, an origin snippet
seems a more natural place to me.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Sun, 06 Mar 2022 10:29:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Sun, 06 Mar 2022 10:29:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 54123-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Patches pushed!
--
Efraim Flashner <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 03 Apr 2022 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.