sharlatan pushed a commit to branch go-team
in repository guix.
commit b37bdf9a2e34b78caf680e688d6e469a466c0edf
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Feb 18 10:52:34 2025 +0000
gnu: Add go-github-com-restic-chunker.
* gnu/packages/golang-web.scm (go-github-com-restic-chunker): New variable.
Change-Id: I4bc77d8519360c81e852bd05ebe4b6c86f1f9798
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index dc77db823b..c9f943258e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7512,6 +7512,31 @@ library.")
client IP from HTTP requests.")
(license license:bsd-0)))
+(define-public go-github-com-restic-chunker
+ (package
+ (name "go-github-com-restic-chunker")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/restic/chunker")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bp6471lsjzjg17r3q359sz7cybjxpf5xrpndf9xhqc0v9vfx7f5"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/restic/chunker"))
+ (home-page "https://github.com/restic/chunker")
+ (synopsis "Implementation of Content Defined Chunking Golang")
+ (description
+ "Package chunker implements @acronym{Content Defined Chunking,
+@url{https://restic.net/blog/2015-09-12/restic-foundation1-cdc/, CDC}} based
+on a rolling Rabin Checksum.")
+ (license license:bsd-2)))
+
(define-public go-github-com-rs-cors
(package
(name "go-github-com-rs-cors")