[PATCH 00/11] gnu: Add miniflux.

  • Done
  • quality assurance status badge
Details
3 participants
  • Hilton Chain
  • Jack Hill
  • Ludovic Courtès
Owner
unassigned
Submitted by
Hilton Chain
Severity
normal
H
H
Hilton Chain wrote on 5 Jun 2023 12:02
(address . guix-patches@gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
cover.1685958854.git.hako@ultrarare.space
This patchset adds miniflux and its dependencies.

Hilton Chain (11):
gnu: Add go-github-com-pquerna-cachecontrol.
gnu: Add go-gopkg-in-square-go-jose-v2.
gnu: Add go-github-com-coreos-go-oidc.
gnu: Add go-github-com-tdewolff-test.
gnu: Add go-github-com-tdewolff-parse-v2.
gnu: Add go-github-com-tdewolff-minify-v2.
gnu: Add go-github-com-technoweenie-multipartstreamer.
gnu: Add go-github-com-go-telegram-bot-api-telegram-bot-api.
gnu: Add go-github-com-matrix-org-gomatrix.
gnu: Add go-github-com-rylans-getlang.
gnu: Add miniflux.

gnu/packages/golang.scm | 251 ++++++++++++++++++++++++++++++++++++++++
gnu/packages/web.scm | 55 +++++++++
2 files changed, 306 insertions(+)


base-commit: 940665301de4effd065d24c167f619286f2adf4c
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 01/11] gnu: Add go-github-com-pquerna-cachecontrol.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
ceffeda85fafb4b8d1daef94de0d1e9a3023ff65.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-pquerna-cachecontrol): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d51c023808..2015881ef9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3646,6 +3646,31 @@ (define-public gopls
editor.")
(license license:bsd-3)))
+(define-public go-github-com-pquerna-cachecontrol
+ (package
+ (name "go-github-com-pquerna-cachecontrol")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pquerna/cachecontrol")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0d5zgv2w0sinh9m41pw3n015zzyabk7awgwwga7nmhjz452c9r5n"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/pquerna/cachecontrol"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/pquerna/cachecontrol")
+ (synopsis "Golang HTTP Cache-Control Parser and Interpretation")
+ (description
+ "This package implements RFC 7234 Hypertext Transfer Protocol (HTTP/1.1):
+Caching.")
+ (license license:asl2.0)))
+
(define-public go-github-com-protonmail-go-crypto
(package
(name "go-github-com-protonmail-go-crypto")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 02/11] gnu: Add go-gopkg-in-square-go-jose-v2.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
18e36992e3f131d92133b82cdfa738655df6587b.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-gopkg-in-square-go-jose-v2): New variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2015881ef9..c015a5d33f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3213,6 +3213,35 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-gopkg-in-square-go-jose-v2
+ (package
+ (name "go-gopkg-in-square-go-jose-v2")
+ (version "2.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/square/go-jose")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "gopkg.in/square/go-jose.v2"))
+ (propagated-inputs
+ (list go-golang-org-x-crypto))
+ (native-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-stretchr-testify))
+ (home-page "https://gopkg.in/square/go-jose.v2")
+ (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
+ (description
+ "This package aims to provide an implementation of the Javascript Object
+Signing and Encryption set of standards. This includes support for JSON Web
+Encryption, JSON Web Signature, and JSON Web Token standards.")
+ (license license:asl2.0)))
+
(define-public go-gopkg.in-tomb.v2
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
(revision "0"))
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 03/11] gnu: Add go-github-com-coreos-go-oidc.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
597979655a8a5521f73803427eb180d5ffa2fae9.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc): New variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c015a5d33f..11fbeec5f0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9407,6 +9407,33 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
+(define-public go-github-com-coreos-go-oidc
+ (package
+ (name "go-github-com-coreos-go-oidc")
+ (version "2.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/coreos/go-oidc"))
+ (propagated-inputs
+ (list go-github-com-pquerna-cachecontrol
+ go-golang-org-x-oauth2
+ go-gopkg-in-square-go-jose-v2))
+ (home-page "https://github.com/coreos/go-oidc")
+ (synopsis "OpenID Connect support for Go")
+ (description
+ "This package enables OpenID Connect support for the
+@code{go-golang-org-x-oauth2} package.")
+ (license license:asl2.0)))
+
(define-public go-github-com-coreos-go-semver
(package
(name "go-github-com-coreos-go-semver")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 04/11] gnu: Add go-github-com-tdewolff-test.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
afe3bca4857572da018db2fbb8edbf26a863b29b.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-tdewolff-test): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 11fbeec5f0..4efc241e39 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3384,6 +3384,29 @@ (define-public go-github-com-saracen-walker
(description "The @code{walker} function is a faster, parallel version, of
@code{filepath.Walk}")))
+(define-public go-github-com-tdewolff-test
+ (package
+ (name "go-github-com-tdewolff-test")
+ (version "1.0.9")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/test")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10myz3zdkqmx37cvj507h7l2ncb0rq9shqvz9ggq1swijbsvazff"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/tdewolff/test"))
+ (home-page "https://github.com/tdewolff/test")
+ (synopsis "Go test helper functions")
+ (description
+ "This package implements a few functions that are useful for io testing,
+such as readers and writers that fail after N consecutive reads/writes.")
+ (license license:expat)))
+
(define-public go-github-com-tj-docopt
(package
(name "go-github-com-tj-docopt")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 05/11] gnu: Add go-github-com-tdewolff-parse-v2.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
9d94b9d86b790b913b669be2fd5ee3ba4577f85d.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4efc241e39..c2e832644a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3384,6 +3384,30 @@ (define-public go-github-com-saracen-walker
(description "The @code{walker} function is a faster, parallel version, of
@code{filepath.Walk}")))
+(define-public go-github-com-tdewolff-parse-v2
+ (package
+ (name "go-github-com-tdewolff-parse-v2")
+ (version "2.6.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/parse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/tdewolff/parse/v2"))
+ (native-inputs
+ (list go-github-com-tdewolff-test))
+ (home-page "https://github.com/tdewolff/parse")
+ (synopsis "Go parsers for web formats")
+ (description
+ "This package contains several lexers and parsers written in Go.")
+ (license license:expat)))
+
(define-public go-github-com-tdewolff-test
(package
(name "go-github-com-tdewolff-test")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 06/11] gnu: Add go-github-com-tdewolff-minify-v2.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
f1e916b4f49eadaf67b99232e0123ccc0bb846fa.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): New variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c2e832644a..c69a991290 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3384,6 +3384,33 @@ (define-public go-github-com-saracen-walker
(description "The @code{walker} function is a faster, parallel version, of
@code{filepath.Walk}")))
+(define-public go-github-com-tdewolff-minify-v2
+ (package
+ (name "go-github-com-tdewolff-minify-v2")
+ (version "2.12.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/minify")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0h006wpfkl0ls0skqxblwcanrhmphgq5q0ii26l2ayh7s99cgmy3"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/tdewolff/minify/v2"))
+ (propagated-inputs
+ (list go-github-com-tdewolff-parse-v2))
+ (native-inputs
+ (list go-github-com-tdewolff-test))
+ (home-page "https://go.tacodewolff.nl/minify")
+ (synopsis "Go minifiers for web formats")
+ (description
+ "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
+an interface to implement any other minifier.")
+ (license license:expat)))
+
(define-public go-github-com-tdewolff-parse-v2
(package
(name "go-github-com-tdewolff-parse-v2")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 07/11] gnu: Add go-github-com-technoweenie-multipartstreamer.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
23456827e2211f1f0b1dd09a8eaa490257729397.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-technoweenie-multipartstreamer): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c69a991290..4708d4395f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4323,6 +4323,30 @@ (define go-github-com-stretchr-testify-bootstrap
(propagated-inputs
(list go-gopkg-in-yaml-v3))))
+(define-public go-github-com-technoweenie-multipartstreamer
+ (package
+ (name "go-github-com-technoweenie-multipartstreamer")
+ (version "1.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/technoweenie/multipartstreamer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "159jhcabdkds8m5777zfs8p5z3snpjhzz7q9aq9wjpcvh6xlljqa"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/technoweenie/multipartstreamer"))
+ (home-page "https://github.com/technoweenie/multipartstreamer")
+ (synopsis "MIME multipart format streamer")
+ (description
+ "This package helps you encode large files in MIME multipart format
+without reading the entire content into memory.")
+ (license license:expat)))
+
(define-public go-github-com-tevino-abool
(let ((commit
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 08/11] gnu: Add go-github-com-go-telegram-bot-api-telegram-bot-api.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
b2c84659b4a1c871a8d521e497c34d16678da587.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-go-telegram-bot-api-telegram-bot-api): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4708d4395f..d8c20d2725 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10757,6 +10757,31 @@ (define-public go-github-com-tekwizely-go-parsing
parsers, and related tools.")
(license license:expat))))
+(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
+ (package
+ (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
+ (version "4.6.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
+ (build-system go-build-system)
+ (home-page "https://go-telegram-bot-api.dev/")
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
+ (propagated-inputs
+ (list go-github-com-technoweenie-multipartstreamer))
+ (synopsis "Golang bindings for the Telegram Bot API")
+ (description
+ "This package provides Golang bindings for the Telegram Bot API.")
+ (license license:expat)))
+
(define-public go-github.com-ulikunitz-xz
(package
(name "go-github.com-ulikunitz-xz")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 09/11] gnu: Add go-github-com-matrix-org-gomatrix.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
2f7ad72f39258c928c849409f4c502ffc14009ec.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-matrix-org-gomatrix): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d8c20d2725..10c2e46670 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5484,6 +5484,27 @@ (define-public go-gopkg-in-yaml-v3
1.1 for backwards compatibility.")
(license license:asl2.0)))
+(define-public go-github-com-matrix-org-gomatrix
+ (package
+ (name "go-github-com-matrix-org-gomatrix")
+ (version "0.0.0-20220926102614-ceba4d9f7530")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/matrix-org/gomatrix")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vq29bdswvffxsmwvi20wnk73xk92dva0fdr2k3zshr4z10ypm2x"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/matrix-org/gomatrix"))
+ (home-page "https://github.com/matrix-org/gomatrix")
+ (synopsis "Golang Matrix client")
+ (description "This package provides a Golang Matrix client.")
+ (license license:asl2.0)))
+
(define-public go-github-com-mattn-go-isatty
(package
(name "go-github-com-mattn-go-isatty")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 10/11] gnu: Add go-github-com-rylans-getlang.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
44d931d3e225566a12fd608d537e6f0ae85cfbde.1685958854.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-rylans-getlang): New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 10c2e46670..7dca1ebfbc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13038,6 +13038,32 @@ (define-public go-github-com-riywo-loginshell
of the current user.")
(license license:expat)))
+(define-public go-github-com-rylans-getlang
+ (package
+ (name "go-github-com-rylans-getlang")
+ (version "0.0.0-20201227074721-9e7f44ff8aa0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rylans/getlang")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yf698h21j88d7d9wkzq69cfd7vs1mfp96nhb83lx6hhh7rfvb92"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/rylans/getlang"))
+ (propagated-inputs
+ (list go-golang-org-x-text))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/rylans/getlang")
+ (synopsis "Natural language detection package in pure Go")
+ (description
+ "This package provides fast natural language detection in Go.")
+ (license license:expat)))
+
(define-public go-github-com-kyoh86-xdg
(package
(name "go-github-com-kyoh86-xdg")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 12:09
[PATCH 11/11] gnu: Add miniflux.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
47ff201ef89246ac17f4ebc32bb88075514739ed.1685958854.git.hako@ultrarare.space
* gnu/packages/web.scm (miniflux): New variable.
---
gnu/packages/web.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)

Toggle diff (75 lines)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3af4aa0b8d..ae7bfcfc27 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -186,6 +186,7 @@ (define-module (gnu packages web)
#:use-module (gnu packages serialization)
#:use-module (gnu packages skribilo)
#:use-module (gnu packages sphinx)
+ #:use-module (gnu packages syncthing)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
@@ -320,6 +321,60 @@ (define-public httpd/pinned
(base32
"1jgmfbazc2n9dnl7axhahwppyq25bvbvwx0lqplq76by97fgf9q1")))))))
+(define-public miniflux
+ (package
+ (name "miniflux")
+ (version "2.0.44")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/miniflux/v2")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18ggk71nk3zylgkwq32glggdcapgsj772qn2y4i9hbk374l6h61w"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:go go-1.19
+ #:install-source? #f
+ #:import-path "miniflux.app"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'rename-binary
+ (lambda _
+ (let ((bindir (string-append #$output "/bin/")))
+ (rename-file (string-append bindir "miniflux.app")
+ (string-append bindir "miniflux"))))))))
+ (propagated-inputs
+ (list go-github-com-coreos-go-oidc
+ go-github-com-go-telegram-bot-api-telegram-bot-api
+ go-github-com-gorilla-mux
+ go-github-com-lib-pq
+ go-github-com-matrix-org-gomatrix
+ go-github-com-prometheus-client-golang
+ go-github-com-puerkitobio-goquery
+ go-github-com-rylans-getlang
+ go-github-com-tdewolff-minify-v2
+ go-github-com-yuin-goldmark
+ go-golang-org-x-term
+ go-mvdan-cc-xurls))
+ (home-page "https://miniflux.app/")
+ (synopsis "Minimalist and opinionated feed reader")
+ (description
+ "Miniflux is a minimalist and opinionated feed reader:
+
+@itemize
+@item Written in Go (Golang)
+@item Works only with Postgresql
+@item Doesn't use any ORM
+@item Doesn't use any complicated framework
+@item Use only modern vanilla Javascript (ES6 and Fetch API)
+@item Single binary compiled statically without dependency
+@item The number of features is voluntarily limited
+@end itemize\n")
+ (license license:asl2.0)))
+
(define-public mod-wsgi
(package
(name "mod-wsgi")
--
2.40.1
J
J
Jack Hill wrote on 5 Jun 2023 14:38
(name . Hilton Chain)(address . hako@ultrarare.space)(address . 63903@debbugs.gnu.org)
a4404ac9-0bff-cd26-a237-b54a90fdd1ad@jackhill.us
On Mon, 5 Jun 2023, Hilton Chain via Guix-patches via wrote:

Toggle quote (2 lines)
> * gnu/packages/web.scm (miniflux): New variable.

Cool!

Toggle quote (14 lines)
> + (propagated-inputs
> + (list go-github-com-coreos-go-oidc
> + go-github-com-go-telegram-bot-api-telegram-bot-api
> + go-github-com-gorilla-mux
> + go-github-com-lib-pq
> + go-github-com-matrix-org-gomatrix
> + go-github-com-prometheus-client-golang
> + go-github-com-puerkitobio-goquery
> + go-github-com-rylans-getlang
> + go-github-com-tdewolff-minify-v2
> + go-github-com-yuin-goldmark
> + go-golang-org-x-term
> + go-mvdan-cc-xurls))

I'm wondering if these really need to be propagated since I assume
miniflux is primarily used as an app and not as a library. What do you
think?

Best,
Jack
H
H
Hilton Chain wrote on 5 Jun 2023 15:45
(name . Jack Hill)(address . jackhill@jackhill.us)(address . 63903@debbugs.gnu.org)
873536vx8e.wl-hako@ultrarare.space
On Mon, 05 Jun 2023 20:38:20 +0800,
Jack Hill wrote:
Toggle quote (4 lines)
>
> I'm wondering if these really need to be propagated since I assume miniflux is primarily used as an
> app and not as a library. What do you think?

Thank you! I didn't realized that...
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 00/11] gnu: Add miniflux.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
cover.1685973062.git.hako@ultrarare.space
v1->v2: Change propagated-inputs of miniflux into inputs.

Hilton Chain (11):
gnu: Add go-github-com-pquerna-cachecontrol.
gnu: Add go-gopkg-in-square-go-jose-v2.
gnu: Add go-github-com-coreos-go-oidc.
gnu: Add go-github-com-tdewolff-test.
gnu: Add go-github-com-tdewolff-parse-v2.
gnu: Add go-github-com-tdewolff-minify-v2.
gnu: Add go-github-com-technoweenie-multipartstreamer.
gnu: Add go-github-com-go-telegram-bot-api-telegram-bot-api.
gnu: Add go-github-com-matrix-org-gomatrix.
gnu: Add go-github-com-rylans-getlang.
gnu: Add miniflux.

gnu/packages/golang.scm | 251 ++++++++++++++++++++++++++++++++++++++++
gnu/packages/web.scm | 55 +++++++++
2 files changed, 306 insertions(+)


base-commit: 940665301de4effd065d24c167f619286f2adf4c
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 01/11] gnu: Add go-github-com-pquerna-cachecontrol.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
ceffeda85fafb4b8d1daef94de0d1e9a3023ff65.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-pquerna-cachecontrol): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d51c023808..2015881ef9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3646,6 +3646,31 @@ (define-public gopls
editor.")
(license license:bsd-3)))
+(define-public go-github-com-pquerna-cachecontrol
+ (package
+ (name "go-github-com-pquerna-cachecontrol")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pquerna/cachecontrol")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0d5zgv2w0sinh9m41pw3n015zzyabk7awgwwga7nmhjz452c9r5n"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/pquerna/cachecontrol"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/pquerna/cachecontrol")
+ (synopsis "Golang HTTP Cache-Control Parser and Interpretation")
+ (description
+ "This package implements RFC 7234 Hypertext Transfer Protocol (HTTP/1.1):
+Caching.")
+ (license license:asl2.0)))
+
(define-public go-github-com-protonmail-go-crypto
(package
(name "go-github-com-protonmail-go-crypto")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 02/11] gnu: Add go-gopkg-in-square-go-jose-v2.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
18e36992e3f131d92133b82cdfa738655df6587b.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-gopkg-in-square-go-jose-v2): New variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2015881ef9..c015a5d33f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3213,6 +3213,35 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-gopkg-in-square-go-jose-v2
+ (package
+ (name "go-gopkg-in-square-go-jose-v2")
+ (version "2.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/square/go-jose")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "gopkg.in/square/go-jose.v2"))
+ (propagated-inputs
+ (list go-golang-org-x-crypto))
+ (native-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-stretchr-testify))
+ (home-page "https://gopkg.in/square/go-jose.v2")
+ (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
+ (description
+ "This package aims to provide an implementation of the Javascript Object
+Signing and Encryption set of standards. This includes support for JSON Web
+Encryption, JSON Web Signature, and JSON Web Token standards.")
+ (license license:asl2.0)))
+
(define-public go-gopkg.in-tomb.v2
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
(revision "0"))
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 03/11] gnu: Add go-github-com-coreos-go-oidc.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
597979655a8a5521f73803427eb180d5ffa2fae9.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc): New variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c015a5d33f..11fbeec5f0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9407,6 +9407,33 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
+(define-public go-github-com-coreos-go-oidc
+ (package
+ (name "go-github-com-coreos-go-oidc")
+ (version "2.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/coreos/go-oidc"))
+ (propagated-inputs
+ (list go-github-com-pquerna-cachecontrol
+ go-golang-org-x-oauth2
+ go-gopkg-in-square-go-jose-v2))
+ (home-page "https://github.com/coreos/go-oidc")
+ (synopsis "OpenID Connect support for Go")
+ (description
+ "This package enables OpenID Connect support for the
+@code{go-golang-org-x-oauth2} package.")
+ (license license:asl2.0)))
+
(define-public go-github-com-coreos-go-semver
(package
(name "go-github-com-coreos-go-semver")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 04/11] gnu: Add go-github-com-tdewolff-test.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
afe3bca4857572da018db2fbb8edbf26a863b29b.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-tdewolff-test): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 11fbeec5f0..4efc241e39 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3384,6 +3384,29 @@ (define-public go-github-com-saracen-walker
(description "The @code{walker} function is a faster, parallel version, of
@code{filepath.Walk}")))
+(define-public go-github-com-tdewolff-test
+ (package
+ (name "go-github-com-tdewolff-test")
+ (version "1.0.9")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/test")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10myz3zdkqmx37cvj507h7l2ncb0rq9shqvz9ggq1swijbsvazff"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/tdewolff/test"))
+ (home-page "https://github.com/tdewolff/test")
+ (synopsis "Go test helper functions")
+ (description
+ "This package implements a few functions that are useful for io testing,
+such as readers and writers that fail after N consecutive reads/writes.")
+ (license license:expat)))
+
(define-public go-github-com-tj-docopt
(package
(name "go-github-com-tj-docopt")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 05/11] gnu: Add go-github-com-tdewolff-parse-v2.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
9d94b9d86b790b913b669be2fd5ee3ba4577f85d.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4efc241e39..c2e832644a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3384,6 +3384,30 @@ (define-public go-github-com-saracen-walker
(description "The @code{walker} function is a faster, parallel version, of
@code{filepath.Walk}")))
+(define-public go-github-com-tdewolff-parse-v2
+ (package
+ (name "go-github-com-tdewolff-parse-v2")
+ (version "2.6.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/parse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/tdewolff/parse/v2"))
+ (native-inputs
+ (list go-github-com-tdewolff-test))
+ (home-page "https://github.com/tdewolff/parse")
+ (synopsis "Go parsers for web formats")
+ (description
+ "This package contains several lexers and parsers written in Go.")
+ (license license:expat)))
+
(define-public go-github-com-tdewolff-test
(package
(name "go-github-com-tdewolff-test")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 06/11] gnu: Add go-github-com-tdewolff-minify-v2.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
f1e916b4f49eadaf67b99232e0123ccc0bb846fa.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): New variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c2e832644a..c69a991290 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3384,6 +3384,33 @@ (define-public go-github-com-saracen-walker
(description "The @code{walker} function is a faster, parallel version, of
@code{filepath.Walk}")))
+(define-public go-github-com-tdewolff-minify-v2
+ (package
+ (name "go-github-com-tdewolff-minify-v2")
+ (version "2.12.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/minify")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0h006wpfkl0ls0skqxblwcanrhmphgq5q0ii26l2ayh7s99cgmy3"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/tdewolff/minify/v2"))
+ (propagated-inputs
+ (list go-github-com-tdewolff-parse-v2))
+ (native-inputs
+ (list go-github-com-tdewolff-test))
+ (home-page "https://go.tacodewolff.nl/minify")
+ (synopsis "Go minifiers for web formats")
+ (description
+ "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
+an interface to implement any other minifier.")
+ (license license:expat)))
+
(define-public go-github-com-tdewolff-parse-v2
(package
(name "go-github-com-tdewolff-parse-v2")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 07/11] gnu: Add go-github-com-technoweenie-multipartstreamer.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
23456827e2211f1f0b1dd09a8eaa490257729397.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-technoweenie-multipartstreamer): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c69a991290..4708d4395f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4323,6 +4323,30 @@ (define go-github-com-stretchr-testify-bootstrap
(propagated-inputs
(list go-gopkg-in-yaml-v3))))
+(define-public go-github-com-technoweenie-multipartstreamer
+ (package
+ (name "go-github-com-technoweenie-multipartstreamer")
+ (version "1.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/technoweenie/multipartstreamer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "159jhcabdkds8m5777zfs8p5z3snpjhzz7q9aq9wjpcvh6xlljqa"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/technoweenie/multipartstreamer"))
+ (home-page "https://github.com/technoweenie/multipartstreamer")
+ (synopsis "MIME multipart format streamer")
+ (description
+ "This package helps you encode large files in MIME multipart format
+without reading the entire content into memory.")
+ (license license:expat)))
+
(define-public go-github-com-tevino-abool
(let ((commit
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 08/11] gnu: Add go-github-com-go-telegram-bot-api-telegram-bot-api.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
b2c84659b4a1c871a8d521e497c34d16678da587.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-go-telegram-bot-api-telegram-bot-api): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4708d4395f..d8c20d2725 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10757,6 +10757,31 @@ (define-public go-github-com-tekwizely-go-parsing
parsers, and related tools.")
(license license:expat))))
+(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
+ (package
+ (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
+ (version "4.6.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
+ (build-system go-build-system)
+ (home-page "https://go-telegram-bot-api.dev/")
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
+ (propagated-inputs
+ (list go-github-com-technoweenie-multipartstreamer))
+ (synopsis "Golang bindings for the Telegram Bot API")
+ (description
+ "This package provides Golang bindings for the Telegram Bot API.")
+ (license license:expat)))
+
(define-public go-github.com-ulikunitz-xz
(package
(name "go-github.com-ulikunitz-xz")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 09/11] gnu: Add go-github-com-matrix-org-gomatrix.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
2f7ad72f39258c928c849409f4c502ffc14009ec.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-matrix-org-gomatrix): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d8c20d2725..10c2e46670 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5484,6 +5484,27 @@ (define-public go-gopkg-in-yaml-v3
1.1 for backwards compatibility.")
(license license:asl2.0)))
+(define-public go-github-com-matrix-org-gomatrix
+ (package
+ (name "go-github-com-matrix-org-gomatrix")
+ (version "0.0.0-20220926102614-ceba4d9f7530")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/matrix-org/gomatrix")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vq29bdswvffxsmwvi20wnk73xk92dva0fdr2k3zshr4z10ypm2x"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/matrix-org/gomatrix"))
+ (home-page "https://github.com/matrix-org/gomatrix")
+ (synopsis "Golang Matrix client")
+ (description "This package provides a Golang Matrix client.")
+ (license license:asl2.0)))
+
(define-public go-github-com-mattn-go-isatty
(package
(name "go-github-com-mattn-go-isatty")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 10/11] gnu: Add go-github-com-rylans-getlang.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
44d931d3e225566a12fd608d537e6f0ae85cfbde.1685973062.git.hako@ultrarare.space
* gnu/packages/golang.scm (go-github-com-rylans-getlang): New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 10c2e46670..7dca1ebfbc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13038,6 +13038,32 @@ (define-public go-github-com-riywo-loginshell
of the current user.")
(license license:expat)))
+(define-public go-github-com-rylans-getlang
+ (package
+ (name "go-github-com-rylans-getlang")
+ (version "0.0.0-20201227074721-9e7f44ff8aa0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rylans/getlang")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yf698h21j88d7d9wkzq69cfd7vs1mfp96nhb83lx6hhh7rfvb92"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/rylans/getlang"))
+ (propagated-inputs
+ (list go-golang-org-x-text))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/rylans/getlang")
+ (synopsis "Natural language detection package in pure Go")
+ (description
+ "This package provides fast natural language detection in Go.")
+ (license license:expat)))
+
(define-public go-github-com-kyoh86-xdg
(package
(name "go-github-com-kyoh86-xdg")
--
2.40.1
H
H
Hilton Chain wrote on 5 Jun 2023 15:52
[PATCH v2 11/11] gnu: Add miniflux.
(address . 63903@debbugs.gnu.org)(name . Hilton Chain)(address . hako@ultrarare.space)
913305419326626eb1ae0495095f110e1211b7ca.1685973062.git.hako@ultrarare.space
* gnu/packages/web.scm (miniflux): New variable.
---
gnu/packages/web.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)

Toggle diff (75 lines)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3af4aa0b8d..bd7f0b3f5e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -186,6 +186,7 @@ (define-module (gnu packages web)
#:use-module (gnu packages serialization)
#:use-module (gnu packages skribilo)
#:use-module (gnu packages sphinx)
+ #:use-module (gnu packages syncthing)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
@@ -320,6 +321,60 @@ (define-public httpd/pinned
(base32
"1jgmfbazc2n9dnl7axhahwppyq25bvbvwx0lqplq76by97fgf9q1")))))))
+(define-public miniflux
+ (package
+ (name "miniflux")
+ (version "2.0.44")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/miniflux/v2")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18ggk71nk3zylgkwq32glggdcapgsj772qn2y4i9hbk374l6h61w"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:go go-1.19
+ #:install-source? #f
+ #:import-path "miniflux.app"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install '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
+ go-github-com-go-telegram-bot-api-telegram-bot-api
+ go-github-com-gorilla-mux
+ go-github-com-lib-pq
+ go-github-com-matrix-org-gomatrix
+ go-github-com-prometheus-client-golang
+ go-github-com-puerkitobio-goquery
+ go-github-com-rylans-getlang
+ go-github-com-tdewolff-minify-v2
+ go-github-com-yuin-goldmark
+ go-golang-org-x-term
+ go-mvdan-cc-xurls))
+ (home-page "https://miniflux.app/")
+ (synopsis "Minimalist and opinionated feed reader")
+ (description
+ "Miniflux is a minimalist and opinionated feed reader:
+
+@itemize
+@item Written in Go (Golang)
+@item Works only with Postgresql
+@item Doesn't use any ORM
+@item Doesn't use any complicated framework
+@item Use only modern vanilla Javascript (ES6 and Fetch API)
+@item Single binary compiled statically without dependency
+@item The number of features is voluntarily limited
+@end itemize\n")
+ (license license:asl2.0)))
+
(define-public mod-wsgi
(package
(name "mod-wsgi")
--
2.40.1
L
L
Ludovic Courtès wrote on 1 Jul 2023 23:29
Re: bug#63903: [PATCH 00/11] gnu: Add miniflux.
(name . Hilton Chain)(address . hako@ultrarare.space)(address . 63903-done@debbugs.gnu.org)
871qhrwcbe.fsf_-_@gnu.org
Hi,

Hilton Chain <hako@ultrarare.space> skribis:

Toggle quote (12 lines)
> gnu: Add go-github-com-pquerna-cachecontrol.
> gnu: Add go-gopkg-in-square-go-jose-v2.
> gnu: Add go-github-com-coreos-go-oidc.
> gnu: Add go-github-com-tdewolff-test.
> gnu: Add go-github-com-tdewolff-parse-v2.
> gnu: Add go-github-com-tdewolff-minify-v2.
> gnu: Add go-github-com-technoweenie-multipartstreamer.
> gnu: Add go-github-com-go-telegram-bot-api-telegram-bot-api.
> gnu: Add go-github-com-matrix-org-gomatrix.
> gnu: Add go-github-com-rylans-getlang.
> gnu: Add miniflux.

Applied, thanks!

Ludo’.
Closed
?