From 5f0811a9aa652f51642ea69eb59dd4276624cb5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 10 Dec 2023 18:12:31 +0100 Subject: [PATCH] gnu: Add KeePassXC-Browser. * gnu/packages/browser-extensions.scm (keepassxc-browser) (keepassxc-browser-icecat): New variable. Change-Id: I6f85228e4e012f3e5f8c913fda38287255573604 --- gnu/packages/browser-extensions.scm | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm index 21c519eda3..0b42acc422 100644 --- a/gnu/packages/browser-extensions.scm +++ b/gnu/packages/browser-extensions.scm @@ -221,3 +221,33 @@ (define passff (define-public passff/icecat (make-icecat-extension passff)) + +(define keepassxc-browser + (package + (name "keepassxc-browser") + (version "1.8.10") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/keepassxreboot/keepassxc-browser") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1059kcb95ig18izbchwlb7pz41l4l3vjwzlmhz3w8zw2qxm6hrvx")))) + (build-system copy-build-system) + (properties + '((addon-id . "keepassxc-browser@keepassxc.org"))) + (arguments + `(#:install-plan + '(("keepassxc-browser" ,(assq-ref properties 'addon-id))))) + (synopsis "Browser extension for the KeePassXC password manager") + (description + "This package provides an extension allow the browser to work together +with the @uref{https://keepassxc.org, KeePassXC} password manager.") + (home-page "https://keepassxc.org") + (license license:gpl3+))) + +(define-public keepassxc-browser/icecat + (make-icecat-extension keepassxc-browser))