gnu: aqbanking: Do not embed build date.

* gnu/packages/gnucash.scm (aqbanking)[arguments]: Add
  'use-version-instead-of-date phase.
This commit is contained in:
Vagrant Cascadian 2022-06-05 22:39:37 -07:00 committed by Vagrant Cascadian
parent ae1d8d6a6f
commit 0c6123f8aa
No known key found for this signature in database
GPG Key ID: DC518FC87F9716AA

@ -303,7 +303,15 @@ applications and libraries. It is used by AqBanking.")
(arguments
`(;; Parallel building fails because aqhbci is required before it's
;; built.
#:parallel-build? #f))
#:parallel-build? #f
#:phases
(modify-phases %standard-phases
;; Embed the package version instead of the build date
(add-after 'unpack 'use-version-instead-of-date
(lambda _
(substitute*
"src/libs/plugins/backends/aqhbci/header.xml.in"
(("@DATETIME@") ,version)))))))
(propagated-inputs
(list gwenhywfar))
(inputs