* [bug#71953] [PATCH 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen.
2024-07-05 18:26 [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
@ 2024-07-05 18:28 ` Artyom V. Poptsov
2024-07-05 18:28 ` [bug#71953] [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Artyom V. Poptsov @ 2024-07-05 18:28 UTC (permalink / raw)
To: 71953; +Cc: Artyom V. Poptsov
* gnu/packages/ipfs.scm (go-github-com-whyrusleeping-cbor-gen): New variable.
Change-Id: I7fc01ba570492a145bcea00f08e0ccb7cc0479af
---
gnu/packages/ipfs.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index d75a99c4e1..373e73f4d2 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -449,6 +449,36 @@ (define-public go-github-com-ipfs-go-log
#:go go-1.21
#:import-path "github.com/ipfs/go-log"))))
+(define-public go-github-com-whyrusleeping-cbor-gen
+ (package
+ (name "go-github-com-whyrusleeping-cbor-gen")
+ (version "v0.0.0-20230818171029-f91ae536ca25")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whyrusleeping/cbor-gen")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08by7pqh4fcwf2va01iif75yqkfssi6d48334404mmv9jmhzim60"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/whyrusleeping/cbor-gen"))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-cid
+ go-github-com-google-go-cmp-cmp
+ go-golang-org-x-xerrors))
+ (home-page "https://github.com/whyrusleeping/cbor-gen")
+ (synopsis "Codegen for cbor codecs on your types")
+ ;; There is not much information provided by the project, see
+ ;; <https://github.com/whyrusleeping/go-sysinfo/issues>.
+ (description
+ "Some basic utilities to generate fast path @url{https://cbor.io/, CBOR} codecs
+for your types.")
+ (license license:expat)))
+
(define-public gx
(package
(name "gx")
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#71953] [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor.
2024-07-05 18:26 [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
2024-07-05 18:28 ` [bug#71953] [PATCH 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen Artyom V. Poptsov
@ 2024-07-05 18:28 ` Artyom V. Poptsov
2024-07-05 18:28 ` [bug#71953] [PATCH 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Artyom V. Poptsov @ 2024-07-05 18:28 UTC (permalink / raw)
To: 71953; +Cc: Artyom V. Poptsov
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipld-cbor): New variable.
Change-Id: I1a85366eb558fe3043fe39d8aabd4bf14f98a32a
---
gnu/packages/ipfs.scm | 40 +++++++++++++++++++++++++++++++++++-----
1 file changed, 35 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 373e73f4d2..3c137818ae 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -270,6 +270,38 @@ (define-public go-github-com-ipfs-go-ipfs-util
"Common utilities used by @code{go-ipfs} and other related Go packages.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-ipld-cbor
+ (package
+ (name "go-github-com-ipfs-go-ipld-cbor")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ipld-cbor")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0yxk4sbf1fk9aaizzpz3h30049wqvaz0s3jnbdd5akhj7wg89h21"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "github.com/ipfs/go-ipld-cbor"))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-block-format
+ go-github-com-ipfs-go-cid
+ go-github-com-ipfs-go-ipfs-util
+ go-github-com-ipfs-go-ipld-format
+ go-github-com-multiformats-go-multihash
+ go-github-com-polydawn-refmt
+ go-github-com-whyrusleeping-cbor-gen))
+ (home-page "https://github.com/ipfs/go-ipld-cbor")
+ (synopsis "A cbor implementation of the @code{go-ipld-format}")
+ (description
+ "An implementation of a @url{https://cbor.io/, CBOR} encoded merkledag object.")
+ (license license:expat)))
+
(define-public go-github-com-ipfs-go-ipld-format
(package
(name "go-github-com-ipfs-go-ipld-format")
@@ -471,12 +503,10 @@ (define-public go-github-com-whyrusleeping-cbor-gen
go-github-com-google-go-cmp-cmp
go-golang-org-x-xerrors))
(home-page "https://github.com/whyrusleeping/cbor-gen")
- (synopsis "Codegen for cbor codecs on your types")
- ;; There is not much information provided by the project, see
- ;; <https://github.com/whyrusleeping/go-sysinfo/issues>.
+ (synopsis "Codegen for CBOR codecs on the specified types")
(description
- "Some basic utilities to generate fast path @url{https://cbor.io/, CBOR} codecs
-for your types.")
+ "Basic utilities to generate fast path @url{https://cbor.io/, CBOR} codecs for
+types.")
(license license:expat)))
(define-public gx
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#71953] [PATCH 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor.
2024-07-05 18:26 [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
2024-07-05 18:28 ` [bug#71953] [PATCH 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen Artyom V. Poptsov
2024-07-05 18:28 ` [bug#71953] [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
@ 2024-07-05 18:28 ` Artyom V. Poptsov
2024-07-06 17:14 ` [bug#71953] [PATCH 0/3] " Sharlatan Hellseher
2024-07-07 15:11 ` bug#71953: " Sharlatan Hellseher
4 siblings, 0 replies; 7+ messages in thread
From: Artyom V. Poptsov @ 2024-07-05 18:28 UTC (permalink / raw)
To: 71953; +Cc: Artyom V. Poptsov
* gnu/packages/ipfs.scm (kubo): Unbundle go-github-com-ipfs-go-ipld-cbor.
[inputs]: Add go-github-com-ipfs-go-ipld-cbor.
Change-Id: I8edd09e134dee725f1ecaf8f4296c74c4cc5f37c
---
gnu/packages/ipfs.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 3c137818ae..6a6bd81caf 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -669,6 +669,7 @@ (define-public kubo
"vendor/github.com/ipfs/go-detect-race"
"vendor/github.com/ipfs/go-ipfs-delay"
"vendor/github.com/ipfs/go-ipfs-util"
+ "vendor/github.com/ipfs/go-ipld-cbor"
"vendor/github.com/ipfs/go-ipld-format"
"vendor/github.com/ipfs/go-log"
"vendor/github.com/ipld/go-ipld-prime"
@@ -754,7 +755,7 @@ (define-public kubo
;;go-github-com-ipfs-go-ds-measure
;;go-github-com-ipfs-go-fs-lock
;;go-github-com-ipfs-go-ipfs-cmds
- ;;go-github-com-ipfs-go-ipld-cbor
+ go-github-com-ipfs-go-ipld-cbor
go-github-com-ipfs-go-ipld-format
;;go-github-com-ipfs-go-ipld-git
;;go-github-com-ipfs-go-ipld-legacy
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor.
2024-07-05 18:26 [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
` (2 preceding siblings ...)
2024-07-05 18:28 ` [bug#71953] [PATCH 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
@ 2024-07-06 17:14 ` Sharlatan Hellseher
2024-07-07 7:22 ` Artyom V. Poptsov
2024-07-07 15:11 ` bug#71953: " Sharlatan Hellseher
4 siblings, 1 reply; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-07-06 17:14 UTC (permalink / raw)
To: 71953; +Cc: Artyom V. Poptsov
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
Hi,
Thank you for the patches.
May you check [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor, not to
include other modifications please?
--
Oleg
[-- Attachment #2: Type: text/html, Size: 1655 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#71953: [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor.
2024-07-05 18:26 [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
` (3 preceding siblings ...)
2024-07-06 17:14 ` [bug#71953] [PATCH 0/3] " Sharlatan Hellseher
@ 2024-07-07 15:11 ` Sharlatan Hellseher
4 siblings, 0 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-07-07 15:11 UTC (permalink / raw)
To: 71953-done
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
Hi,
Pushed as c6fae8a300..ff1bb647b5 to master.
I've unbundled some more packages which were quite simple are combing as
dependencies for others.
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread