me
/
guix
Archived
1
0
Fork 0

gnu: keepassxc: Update to 2.7.0.

* gnu/packages/password-utils.scm (keepassxc): Update to 2.7.0.
[arguments]<#:phases>: Skip failing test.
[inputs]: Add BOTAN, MINIZIP and PCSC-LITE.

test
master
Nicolas Goaziou 2022-03-22 09:48:50 +01:00
parent 614a7610da
commit 0f1f4bf8c5
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 15 additions and 3 deletions

View File

@ -12,7 +12,7 @@
;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org> ;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2017, 2019 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2017, 2019 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2017, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2017, 2020-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com> ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org>
@ -81,6 +81,7 @@
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module (gnu packages kerberos) #:use-module (gnu packages kerberos)
#:use-module (gnu packages libffi) #:use-module (gnu packages libffi)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages man) #:use-module (gnu packages man)
#:use-module (gnu packages multiprecision) #:use-module (gnu packages multiprecision)
@ -129,7 +130,7 @@ human.")
(define-public keepassxc (define-public keepassxc
(package (package
(name "keepassxc") (name "keepassxc")
(version "2.6.6") (version "2.7.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -137,7 +138,7 @@ human.")
"/releases/download/" version "/keepassxc-" "/releases/download/" version "/keepassxc-"
version "-src.tar.xz")) version "-src.tar.xz"))
(sha256 (sha256
(base32 "1qm4a1k11vy35mrzbzcc7lwlpmjzw18a2zy7z93rqa4vqcdb20rn")))) (base32 "19va0a9r5px7cbx1ixawaaxrkpfgigb9g81z6h1ngk84164pdgl3"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:modules ((guix build cmake-build-system) `(#:modules ((guix build cmake-build-system)
@ -149,6 +150,13 @@ human.")
"-DWITH_XC_UPDATECHECK=NO") "-DWITH_XC_UPDATECHECK=NO")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; Fails with "TestCli::testClip() Compared values are not the
;; same". That test also requires a phase with (setenv
;; "QT_QPA_PLATFORM" "offscreen") in order to work.
(invoke "ctest" "--exclude-regex" "testcli"))))
(add-after 'install 'wrap-qt (add-after 'install 'wrap-qt
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
@ -158,11 +166,15 @@ human.")
("qttools" ,qttools))) ("qttools" ,qttools)))
(inputs (inputs
(list argon2 (list argon2
botan
libgcrypt libgcrypt
libsodium ; XC_BROWSER libsodium ; XC_BROWSER
libusb
libyubikey ; XC_YUBIKEY libyubikey ; XC_YUBIKEY
libxi libxi
libxtst libxtst
minizip
pcsc-lite
qrencode qrencode
qtbase-5 qtbase-5
qtsvg qtsvg