[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: miniflux: Update to 2.0.46.
From: |
guix-commits |
Subject: |
11/11: gnu: miniflux: Update to 2.0.46. |
Date: |
Sun, 13 Aug 2023 04:02:29 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit e7b8edc74490ebd345ca3b518418a59d1d00abe2
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat Jul 22 12:33:00 2023 +0800
gnu: miniflux: Update to 2.0.46.
* gnu/packages/web.scm (miniflux): Update to 2.0.46.
[arguments]<#:build-flags>: Set version.
<#:phases>: Add 'disable-cgo, 'install-manpage.
[inputs]: Replace go-github-com-coreos-go-oidc with
go-github-com-coreos-go-oidc-v3.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/web.scm | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b56fad1876..46a60b8b15 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -326,7 +326,7 @@ and its related documentation.")
(define-public miniflux
(package
(name "miniflux")
- (version "2.0.44")
+ (version "2.0.46")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -335,21 +335,32 @@ and its related documentation.")
(file-name (git-file-name name version))
(sha256
(base32
- "18ggk71nk3zylgkwq32glggdcapgsj772qn2y4i9hbk374l6h61w"))))
+ "1qv95kipjlg374kiq6gssh5jsb5arahq4jsb7vkg3njnx0ldwvkb"))))
(build-system go-build-system)
(arguments
(list #:go go-1.19
#:install-source? #f
#:import-path "miniflux.app"
+ #:build-flags
+ #~(list (string-append
+ "-ldflags= -X miniflux.app/version.Version=" #$version))
#:phases
#~(modify-phases %standard-phases
- (add-after 'install 'rename-binary
+ (add-before 'build 'disable-cgo
+ (lambda _
+ (setenv "CGO_ENABLED" "0")))
+ (add-after 'install 'install-manpage
+ (lambda* (#:key import-path #:allow-other-keys)
+ (let ((man1 (string-append #$output "/share/man/man1/"))
+ (page (format #f "src/~a/miniflux.1" import-path)))
+ (install-file page man1))))
+ (add-after 'install-manpage 'rename-binary
(lambda _
(let ((bindir (string-append #$output "/bin/")))
(rename-file (string-append bindir "miniflux.app")
(string-append bindir "miniflux"))))))))
(inputs
- (list go-github-com-coreos-go-oidc
+ (list go-github-com-coreos-go-oidc-v3
go-github-com-go-telegram-bot-api-telegram-bot-api
go-github-com-gorilla-mux
go-github-com-lib-pq
- branch master updated (19c042ddf8 -> e7b8edc744), guix-commits, 2023/08/13
- 08/11: gnu: picard: Update to 2.9., guix-commits, 2023/08/13
- 10/11: gnu: Add go-github-com-coreos-go-oidc-v3., guix-commits, 2023/08/13
- 11/11: gnu: miniflux: Update to 2.0.46.,
guix-commits <=
- 09/11: gnu: Add go-github-com-go-jose-go-jose-v3., guix-commits, 2023/08/13
- 03/11: gnu: pipewire: Enable libcamera support., guix-commits, 2023/08/13
- 06/11: gnu: mympd: Update to 11.0.2., guix-commits, 2023/08/13
- 05/11: gnu: pipewire: Update to 0.3.77., guix-commits, 2023/08/13
- 04/11: gnu: libcamera: Rewrite package argument to G-expression., guix-commits, 2023/08/13
- 01/11: gnu: libcamera: Update to 0.1.0., guix-commits, 2023/08/13
- 02/11: gnu: libcamera: Split off gst and tools outputs., guix-commits, 2023/08/13
- 07/11: gnu: mympd: Enable tests., guix-commits, 2023/08/13