unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69531] [PATCH] gnu: Add go-github-com-nwaples-rardecode.
@ 2024-03-03 21:48 Troy Figiel
  2024-03-05  7:44 ` [bug#69531] [PATCH v2] gnu: Add go-github-com-nwaples-rardecode-v2 Troy Figiel
  2024-03-06 23:59 ` bug#69531: [PATCH] gnu: Add go-github-com-nwaples-rardecode Sharlatan Hellseher
  0 siblings, 2 replies; 4+ messages in thread
From: Troy Figiel @ 2024-03-03 21:48 UTC (permalink / raw)
  To: 69531

* gnu/packages/golang-compression.scm (go-github-com-nwaples-rardecode): New variable.
---
 gnu/packages/golang-compression.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm
index 568fdd12b9..9511bb40f6 100644
--- a/gnu/packages/golang-compression.scm
+++ b/gnu/packages/golang-compression.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -115,6 +116,29 @@ (define-public go-github-com-klauspost-compress
     (description "@code{compress} provides various compression algorithms.")
     (license license:bsd-3)))
 
+(define-public go-github-com-nwaples-rardecode
+  (package
+    (name "go-github-com-nwaples-rardecode")
+    (version "1.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nwaples/rardecode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s00b8a9gppka3yxkxh7z5wy0ahygl8wbb0fbyx2r0rj879a1c2z"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/nwaples/rardecode"))
+    (home-page "https://github.com/nwaples/rardecode")
+    (synopsis "Reading RAR archives with Go")
+    (description
+     "This package provides a library for reading RAR archives with Golang.")
+    (license license:bsd-2)))
+
 (define-public go-github.com-ulikunitz-xz
   (package
     (name "go-github.com-ulikunitz-xz")

base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#69531] [PATCH v2] gnu: Add go-github-com-nwaples-rardecode-v2.
  2024-03-03 21:48 [bug#69531] [PATCH] gnu: Add go-github-com-nwaples-rardecode Troy Figiel
@ 2024-03-05  7:44 ` Troy Figiel
  2024-03-05 18:23   ` Troy Figiel
  2024-03-06 23:59 ` bug#69531: [PATCH] gnu: Add go-github-com-nwaples-rardecode Sharlatan Hellseher
  1 sibling, 1 reply; 4+ messages in thread
From: Troy Figiel @ 2024-03-05  7:44 UTC (permalink / raw)
  To: 69531

* gnu/packages/golang-compression.scm (go-github-com-nwaples-rardecode-v2): New variable.
---
 gnu/packages/golang-compression.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm
index 568fdd12b9..755cc3313c 100644
--- a/gnu/packages/golang-compression.scm
+++ b/gnu/packages/golang-compression.scm
@@ -115,6 +115,29 @@ (define-public go-github-com-klauspost-compress
     (description "@code{compress} provides various compression algorithms.")
     (license license:bsd-3)))
 
+(define-public go-github-com-nwaples-rardecode-v2
+  (package
+    (name "go-github-com-nwaples-rardecode-v2")
+    (version "2.0.0-beta.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nwaples/rardecode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1344mxfdgs5fps6mqxk6352arrfszi33kmq394rgmqpf4394f1y7"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/nwaples/rardecode"))
+    (home-page "https://github.com/nwaples/rardecode")
+    (synopsis "Reading RAR archives in Go")
+    (description
+     "This package provides a library for reading RAR archives with Golang.")
+    (license license:bsd-2)))
+
 (define-public go-github.com-ulikunitz-xz
   (package
     (name "go-github.com-ulikunitz-xz")

base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#69531] [PATCH v2] gnu: Add go-github-com-nwaples-rardecode-v2.
  2024-03-05  7:44 ` [bug#69531] [PATCH v2] gnu: Add go-github-com-nwaples-rardecode-v2 Troy Figiel
@ 2024-03-05 18:23   ` Troy Figiel
  0 siblings, 0 replies; 4+ messages in thread
From: Troy Figiel @ 2024-03-05 18:23 UTC (permalink / raw)
  To: 69531


[-- Attachment #1.1.1: Type: text/plain, Size: 182 bytes --]

The go importer did not pull in the latest version. As I am packaging
github.com/mholt/archiver/v3, I noticed I actually need v2.0.0-beta.2
instead, so I manually set this version.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6367 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#69531: [PATCH] gnu: Add go-github-com-nwaples-rardecode.
  2024-03-03 21:48 [bug#69531] [PATCH] gnu: Add go-github-com-nwaples-rardecode Troy Figiel
  2024-03-05  7:44 ` [bug#69531] [PATCH v2] gnu: Add go-github-com-nwaples-rardecode-v2 Troy Figiel
@ 2024-03-06 23:59 ` Sharlatan Hellseher
  1 sibling, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-03-06 23:59 UTC (permalink / raw)
  To: 69531-done

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]


Pushed as dda217f25ac3358b19542deb616756859df7225a to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-07  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-03 21:48 [bug#69531] [PATCH] gnu: Add go-github-com-nwaples-rardecode Troy Figiel
2024-03-05  7:44 ` [bug#69531] [PATCH v2] gnu: Add go-github-com-nwaples-rardecode-v2 Troy Figiel
2024-03-05 18:23   ` Troy Figiel
2024-03-06 23:59 ` bug#69531: [PATCH] gnu: Add go-github-com-nwaples-rardecode Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).