rosenthal: Add miniflux-injector-icecat.

* rosenthal/packages/binaries.scm (miniflux-injector,miniflux-injector/icecat):
New variables.
trunk
Hilton Chain 2 weeks ago
parent f559aee629
commit 79f92602d6
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
  1. 1
      README.org
  2. 42
      rosenthal/packages/binaries.scm

@ -119,6 +119,7 @@ Binary Packages / 二進制包:
+ clash-bin + clash-bin
+ hugo-bin + hugo-bin
+ mihomo-bin + mihomo-bin
+ miniflux-injector-icecat
+ shadow-tls-bin + shadow-tls-bin
+ sing-box-bin + sing-box-bin
+ tailscale-bin + tailscale-bin

@ -8,6 +8,7 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (gnu build icecat-extension)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bootstrap) #:use-module (gnu packages bootstrap)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
@ -237,6 +238,47 @@ different needs.")
designed for flexibility.") designed for flexibility.")
(license license:asl2.0))) (license license:asl2.0)))
(define miniflux-injector
(package
(name "miniflux-injector")
(version "2.3.3")
(properties '((addon-id . "{528ec801-2e29-4cb9-ae71-5a90503138d1}")))
(source
(origin
(method url-fetch/zipbomb)
(uri (string-append
"https://github.com/Sevichecc/miniflux-injector/releases/download"
"/v" version "/miniflux_injector-" version ".zip"))
(sha256
(base32
"199z441ak6dwy7skgbwc9aa4gfd2r4i22hxfm27s5k3rv7barbvs"))
(modules '((guix build utils)))
(snippet
#~(substitute* "manifest.json"
(("homepage_url.*" line)
(string-append line "\
\"browser_specific_settings\": {
\"gecko\": {
\"id\": \"" #$(assq-ref properties 'addon-id) "\"
}
},
"))))))
(build-system copy-build-system)
(arguments
(list
#:install-plan
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
(home-page "https://github.com/Sevichecc/miniflux-injector")
(synopsis "Injects Miniflux search results into search page")
(description
"This package provides a browser extension to inject Miniflux search
results into search page. Search terms are sent to your Miniflux instance and
results are added in a sidebar next to search engine results.")
(license license:expat)))
(define-public miniflux-injector/icecat
(make-icecat-extension miniflux-injector))
(define-public shadow-tls-bin (define-public shadow-tls-bin
(package (package
(name "shadow-tls-bin") (name "shadow-tls-bin")

Loading…
Cancel
Save