From 2d941782ffc2a477bda4f30a3dab6712a77c87b3 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 10 Feb 2025 00:22:09 +0800 Subject: [PATCH] rosenthal: Add bitwarden-icecat. * rosenthal/packages/binaries.scm (bitwarden,bitwarden/icecat): New variables. * README.org (Packages): Add it. * etc/manifest: Add it. --- README.org | 1 + etc/manifest | 1 + rosenthal/packages/binaries.scm | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/README.org b/README.org index 01a48ff..4a490f1 100644 --- a/README.org +++ b/README.org @@ -95,6 +95,7 @@ Rosenthal 頻道定義如下,將其加入 =~/.config/guix/channels.scm= 以由 Binary Packages / 二進制包: + atuin-bin ++ bitwarden-icecat + clash-bin + hugo-bin + komga-bin diff --git a/etc/manifest b/etc/manifest index 6b216f3..965016b 100644 --- a/etc/manifest +++ b/etc/manifest @@ -20,6 +20,7 @@ "wakatime-cli-bin" ;; TODO: Updater unavailable. + ;; "bitwarden-icecat" ;; "clash-bin" ;; "dnsmasq-china-list" ;; "emacs-pcmpl-tailscale" diff --git a/rosenthal/packages/binaries.scm b/rosenthal/packages/binaries.scm index 7aa886d..260272d 100644 --- a/rosenthal/packages/binaries.scm +++ b/rosenthal/packages/binaries.scm @@ -73,6 +73,32 @@ encrypted synchronisation of history between machines, via an Atuin server.") (license license:gpl3) (properties '((upstream-name . "atuin"))))) +(define bitwarden + (package + (name "bitwarden") + (version "2025.1.3") + (source (origin + (method url-fetch/zipbomb) + (uri (string-append "https://github.com/bitwarden/clients" + "/releases/download/browser-v" version + "/dist-firefox-" version ".zip")) + (sha256 + (base32 + "0y1vlwvbjmkcspazs7wz4cswjby9i5qi0zj7c02dl06n6kprl7l6")))) + (build-system copy-build-system) + (arguments + (list #:install-plan + #~'(("." #$(assq-ref (package-properties this-package) 'addon-id))))) + (home-page "https://bitwarden.com/") + (synopsis "Bitwarden client browser extension") + (description + "This package provides browser extension for Bitwarden client.") + (license license:gpl3) + (properties '((addon-id . "{446900e4-71c2-419f-a6a7-df9c091e268b}"))))) + +(define-public bitwarden/icecat + (make-icecat-extension bitwarden)) + (define-public clash-bin (package (name "clash-bin")