all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 52668@debbugs.gnu.org
Subject: [bug#52668]
Date: Sun, 19 Dec 2021 21:17:17 +0000	[thread overview]
Message-ID: <CAO+9K5r1pB_LQBait2E7b6kB7XUCUdcHa5DswRuA8pz6ADJihQ@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5qvp+11_ebH+=e+jdVvPpbXUFMQ49Nea8fH=hfLZpgSgw@mail.gmail.com>

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

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-Golang-module-brotli.patch --]
[-- Type: text/x-patch, Size: 2058 bytes --]

From 978585b0443db13ea6c7fb3b6e22701b1cb5b3b4 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Sun, 19 Dec 2021 20:50:23 +0000
Subject: [PATCH 1/4] gnu: Add Golang module - brotli

* gnu/packages/golang.scm: (go-github-com-andybalholm-brotli): New variable.
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c863388475..134bc8f16a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8832,3 +8832,33 @@ (define-public go-github-com-arceliar-ironwood
 @url{https://github.com/yggdrasil-network/yggdrasil-go,Yggdrasil}, but it may
 be useful for other network applications.")
     (license license:mpl2.0)))
+
+(define-public go-github-com-andybalholm-brotli
+  (package
+    (name "go-github-com-andybalholm-brotli")
+    ;; NOTE: (Sharlatan-20211218T165057+0000): v1.0.4 requires Go 1.16+ for
+    ;; io.ReadAll
+    ;; https://github.com/andybalholm/brotli/blob/v1.0.4/brotli_test.go#L122
+    ;; https://go.dev/doc/go1.16#ioutil
+    (version "1.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/andybalholm/brotli")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0l2z836kwdf3qbmajh97bzl476zh88pr209pn5kxhd0gw3jkdrib"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/andybalholm/brotli"))
+    (home-page "https://github.com/andybalholm/brotli")
+    (synopsis "Pure Go Brotli encoder and decoder")
+    (description
+     "This package is a brotli compressor and decompressor implemented in Go.  It was
+translated from the reference implementation
+(@url{https://github.com/google/brotli,https://github.com/google/brotli}) with
+the @code{c2go} tool at
+@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
+    (license license:expat)))
-- 
2.34.0


  reply	other threads:[~2021-12-19 21:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 21:14 [bug#52668] [PATCH 0/0]: gnu: Add Golang module - fasthttp Sharlatan Hellseher
2021-12-19 21:17 ` Sharlatan Hellseher [this message]
2022-01-28  9:48   ` bug#52668: Nicolas Goaziou
2021-12-19 21:17 ` [bug#52668] Sharlatan Hellseher
2021-12-19 21:17 ` [bug#52668] Sharlatan Hellseher
2021-12-19 21:18 ` [bug#52668] Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO+9K5r1pB_LQBait2E7b6kB7XUCUdcHa5DswRuA8pz6ADJihQ@mail.gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=52668@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.