[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/22: gnu: Add go-github-com-whyrusleeping-cbor.
From: |
guix-commits |
Subject: |
21/22: gnu: Add go-github-com-whyrusleeping-cbor. |
Date: |
Sun, 7 Jul 2024 11:10:42 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit db03903c8f64f135aedbfbd1aaaed93433a9e0b8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jul 7 16:00:30 2024 +0100
gnu: Add go-github-com-whyrusleeping-cbor.
* gnu/packages/golang-web.scm (go-github-com-whyrusleeping-cbor): New
variable.
Change-Id: I6f411f6766178a754490864e5dc3a5fc826607dd
---
gnu/packages/golang-web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index a8eee0c214..051fa75b92 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2848,6 +2848,43 @@ encoding library for the MessagePack, CBOR, JSON and the
Binc formats.")
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-whyrusleeping-cbor
+ (package
+ (name "go-github-com-whyrusleeping-cbor")
+ (version "0.0.0-20171005072247-63513f603b11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whyrusleeping/cbor")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v3kgzk8grz17my2vhv12qi9dgpx3z86hy9ff1c4qw83mg8hm67s"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/whyrusleeping/cbor"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: Replace when go-build-system supports nested path.
+ (delete 'build)
+ (replace 'check
+ (lambda* (#:key import-path tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion (string-append "src/" import-path)
+ ;; No test vectors were provided with git checkout:
+ ;; var errpath string = "../test-vectors/appendix_a.json"
+ (substitute* "go/cbor_test.go"
+ (("TestDecodeVectors") "offTestDecodeVectors"))
+ (invoke "go" "test" "-v" "./..."))))))))
+ (home-page "https://github.com/whyrusleeping/cbor")
+ (synopsis "Concise Binary Object Representation in Golang")
+ (description
+ "@acronym{Concise Binary Object Representation,CBOR} is a superset of
+JSON's schema that's faster and more compact.")
+ (license license:asl2.0)))
+
(define-public go-github-com-whyrusleeping-chunker
(package
(name "go-github-com-whyrusleeping-chunker")
- branch master updated (c86a07bacc -> 5217ea6d45), guix-commits, 2024/07/07
- 03/22: gnu: go-github-com-alecthomas-assert-v2: Update to 2.10.0., guix-commits, 2024/07/07
- 01/22: gnu: go-github-com-alecthomas-chroma-v2: Update to 2.14.0., guix-commits, 2024/07/07
- 04/22: gnu: go-github-com-alecthomas-repr: Update to 0.4.0., guix-commits, 2024/07/07
- 02/22: gnu: go-github-com-alecthomas-chroma-v2: Enable all tests., guix-commits, 2024/07/07
- 05/22: gnu: go-github-com-alecthomas-repr: Move to golang-xyz., guix-commits, 2024/07/07
- 08/22: gnu: Add go-chroma., guix-commits, 2024/07/07
- 07/22: gnu: Add go-github-com-alecthomas-kong., guix-commits, 2024/07/07
- 06/22: gnu: go-github-com-alecthomas-colour: Move to golang-xyz., guix-commits, 2024/07/07
- 10/22: gnu: go-github-com-goccy-go-yaml: Move to golang-xyz., guix-commits, 2024/07/07
- 21/22: gnu: Add go-github-com-whyrusleeping-cbor.,
guix-commits <=
- 14/22: gnu: Add go-github-com-ipfs-go-ipld-cbor., guix-commits, 2024/07/07
- 19/22: gnu: Add go-github-com-whyrusleeping-go-keyspace., guix-commits, 2024/07/07
- 09/22: gnu: go-github-com-goccy-yaml: Rename variable., guix-commits, 2024/07/07
- 15/22: gnu: Add go-github-com-facebookgo-atomicfile., guix-commits, 2024/07/07
- 17/22: gnu: Add go-github-com-whyrusleeping-multiaddr-filter., guix-commits, 2024/07/07
- 18/22: gnu: Add go-github-com-whyrusleeping-chunker., guix-commits, 2024/07/07
- 20/22: gnu: Add go-github-com-whyrusleeping-base32., guix-commits, 2024/07/07
- 22/22: gnu: kubo: Unbundle more packaes., guix-commits, 2024/07/07
- 13/22: gnu: Add go-github-com-whyrusleeping-cbor-gen., guix-commits, 2024/07/07
- 16/22: gnu: Add go-github-com-ipfs-go-ipld-git., guix-commits, 2024/07/07