mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
gnu: keepassxc: Improve package style.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Use G-expressions. [native-inputs]: Remove labels.
This commit is contained in:
parent
0f1f4bf8c5
commit
96777f44ff
1 changed files with 18 additions and 18 deletions
|
@ -141,15 +141,17 @@ (define-public keepassxc
|
|||
(base32 "19va0a9r5px7cbx1ixawaaxrkpfgigb9g81z6h1ngk84164pdgl3"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build cmake-build-system)
|
||||
(list
|
||||
#:modules '((guix build cmake-build-system)
|
||||
(guix build qt-utils)
|
||||
(guix build utils))
|
||||
#:imported-modules (,@%cmake-build-system-modules
|
||||
#:imported-modules `(,@%cmake-build-system-modules
|
||||
(guix build qt-utils))
|
||||
#:configure-flags '("-DWITH_XC_ALL=YES"
|
||||
#:configure-flags
|
||||
#~(list "-DWITH_XC_ALL=YES"
|
||||
"-DWITH_XC_UPDATECHECK=NO")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
|
@ -158,12 +160,10 @@ (define-public keepassxc
|
|||
;; "QT_QPA_PLATFORM" "offscreen") in order to work.
|
||||
(invoke "ctest" "--exclude-regex" "testcli"))))
|
||||
(add-after 'install 'wrap-qt
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(wrap-qt-program "keepassxc" #:output out #:inputs inputs)))))))
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
|
||||
(native-inputs
|
||||
`(("asciidoctor" ,ruby-asciidoctor)
|
||||
("qttools" ,qttools)))
|
||||
(list qttools ruby-asciidoctor))
|
||||
(inputs
|
||||
(list argon2
|
||||
botan
|
||||
|
|
Loading…
Reference in a new issue