summaryrefslogtreecommitdiff
path: root/rodion
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-04-28 23:37:52 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-04-28 23:37:52 +0400
commitbd9c7dc46bc3fbe63dc2e5e848c42656415e2ce4 (patch)
treea26efba0a7a7cffc7a3eded5b842a4edc71d7560 /rodion
parent5ce7acb0ecbf9e0e3656161d94dfab97f7826d63 (diff)
gnu: miniflux: Update to 2.1.3.
* rodion/packages/go.scm (miniflux): Update to 2.1.3.
Diffstat (limited to 'rodion')
-rw-r--r--rodion/packages/go.scm39
1 files changed, 34 insertions, 5 deletions
diff --git a/rodion/packages/go.scm b/rodion/packages/go.scm
index b0af61e..dcb4e16 100644
--- a/rodion/packages/go.scm
+++ b/rodion/packages/go.scm
@@ -70,6 +70,33 @@
(list go-1.21)
(package-native-inputs go-1.21)))))
+(define-public go-github-com-andybalholm-brotli-new
+ (package
+ (name "go-github-com-andybalholm-brotli-new")
+ (version "1.1.0")
+ (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 "1zdvcwfzxnkljyh4p7izy0bfxrwidwwmp1p5h1fydyrgbs4xacly"))))
+ (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)))
+
+
(define-public go-std-1.22 (make-go-std go-1.22))
(define-public go-github-com-x448-float16
@@ -344,7 +371,7 @@ implementation procedures outlined by the document.")
(define-public miniflux
(package
(name "miniflux")
- (version "2.1.2")
+ (version "2.1.3")
(source
(origin
(method git-fetch)
@@ -353,7 +380,7 @@ implementation procedures outlined by the document.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0mi0bqnw3y9b2akil1rd52jq59nijsal0w2zp8ll6br0pr4sic82"))))
+ (base32 "0cb0fkjzbjrhgmx1s8jv1drdgfaddkyj9j9z451qswgvz6xyp3a3"))))
(build-system go-build-system)
(arguments
(list
@@ -364,9 +391,10 @@ implementation procedures outlined by the document.")
"-ldflags= -X miniflux.app/v2/internal/version.Version="
#$version))
#:phases #~(modify-phases %standard-phases
- (add-before 'build 'disable-cgo
- (lambda _
- (setenv "CGO_ENABLED" "0")))
+ ;; Scans for all tests recursively
+ (replace 'check
+ (lambda* (#:key import-path #:allow-other-keys)
+ (invoke "go" "test" (string-append import-path "/..."))))
(add-after 'install 'install-manpage
(lambda* (#:key import-path #:allow-other-keys)
(let ((man1 (string-append #$output "/share/man/man1/"))
@@ -380,6 +408,7 @@ implementation procedures outlined by the document.")
(inputs (list go-github-com-go-webauthn-webauthn-webauthn
go-github-com-go-webauthn-webauthn-protocol
go-github-com-go-webauthn-webauthn-metadata
+ go-github-com-andybalholm-brotli-new
go-github-com-abadojack-whatlanggo
go-github-com-coreos-go-oidc-v3
go-github-com-gorilla-mux