[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress. |
Date: |
Sun, 30 Jun 2024 10:05:47 +0100 |
* gnu/packages/golang-compression.scm (go-github-com-dsnet-compress): New
variable.
Change-Id: I232f2d8cc6bb5eb4c850f233b2e2788d0f2fb35b
---
gnu/packages/golang-compression.scm | 50 +++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/golang-compression.scm
b/gnu/packages/golang-compression.scm
index ddeb65a967..85b2e3505b 100644
--- a/gnu/packages/golang-compression.scm
+++ b/gnu/packages/golang-compression.scm
@@ -63,6 +63,56 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
+(define-public go-github-com-dsnet-compress
+ (package
+ (name "go-github-com-dsnet-compress")
+ (version "0.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dsnet/compress")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wwjaymzb1xxq3ybch3nwn72xhi2s40cvz0cl986yad3w1xwzj91"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/dsnet/compress"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Testdata directories contains some compressed files requiring
+ ;; for running tests but not required on run time.
+ (add-after 'check 'remove-testdata
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/bzip2/testdata"))
+ (delete-file-recursively
+ (string-append "src/" import-path "/brotli/testdata"))
+ (delete-file-recursively
+ (string-append "src/" import-path "/testdata")))))))
+ (propagated-inputs
+ (list go-github-com-dsnet-golib
+ go-github-com-klauspost-compress
+ go-github-com-ulikunitz-xz))
+ (home-page "https://github.com/dsnet/compress")
+ (synopsis "Collection of compression libraries for Golang")
+ (description
+ "Package compress is a collection of compression libraries implementing
+Golang moduels:
+@table @code
+@item brotli
+Implements the Brotli format, described in RFC 7932.
+@item bzip2
+Implements the BZip2 compressed data format.
+@item flate
+Implements the DEFLATE format, described in RFC 1951.
+@item xflate
+Implements the XFLATE format, an random-access extension to DEFLATE.
+@end table")
+ (license license:bsd-3)))
+
(define-public go-github-com-golang-snappy
(package
(name "go-github-com-golang-snappy")
--
2.41.0
- [bug#71843] [PATCH 00/26] Update and unbundle vale - part I, Sharlatan Hellseher, 2024/06/29
- [bug#71843] [PATCH 01/26] gnu: Add packages/golang-math module., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 06/26] gnu: Add go-github-com-dsnet-golib., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 02/26] gnu: Add go-github-com-montanaflynn-stats., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress.,
Sharlatan Hellseher <=
- [bug#71843] [PATCH 08/26] gnu: Add go-github-com-expr-lang-expr., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 04/26] gnu: Add go-github-com-adrg-strutil., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 10/26] gnu: Add go-tengo., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 14/26] gnu: Add go-github-com-otiai10-mint., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 22/26] gnu: Add go-atomicgo-dev-keyboard., Sharlatan Hellseher, 2024/06/30