me
/
guix
Archived
1
0
Fork 0

gnu: GnuCash: Update to 4.2.

* gnu/packages/gnucash.scm (gnucash): Update to 4.2.
[inputs]: Replace guile-2.0 with guile-3.0. Remove libgnomecanvas. Add swig.
[arguments]: Adjust the 'fix-finance-quote-check' substitution.
(gnucash-docs)[source]: Update hash.

Signed-off-by: Leo Famulari <leo@famulari.name>
master
Christopher Lam 2020-12-11 13:23:38 +00:00 committed by Leo Famulari
parent 1592491c39
commit 6760578c89
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 10 additions and 8 deletions

View File

@ -7,6 +7,7 @@
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
;;; Copyright © 2020 Christopher Lam <christopher.lck@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -51,6 +52,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages swig)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages webkit)
@ -61,28 +63,28 @@
;; directory.
(package
(name "gnucash")
(version "3.8")
(version "4.2")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
version "/gnucash-" version "b" ".tar.bz2"))
version "/gnucash-" version ".tar.bz2"))
(sha256
(base32
"0dvzm3bib7jcj685sklpzyy9mrak9mxyvih2k9fk4sl3v21wlphg"))))
"020k1mm909dcgs52ls4v7xx3yn8gqazi9awyr81l6y7pkq1spn2n"))))
(build-system cmake-build-system)
(inputs
`(("guile" ,guile-2.2)
`(("guile" ,guile-3.0)
("boost" ,boost)
("icu4c" ,icu4c)
("glib" ,glib)
("gtk" ,gtk+)
("libdbi" ,libdbi)
("libdbi-drivers" ,libdbi-drivers)
("libgnomecanvas" ,libgnomecanvas)
("libofx" ,libofx)
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("swig" ,swig)
("webkitgtk" ,webkitgtk)
("aqbanking" ,aqbanking)
("python" ,python)
@ -134,7 +136,7 @@
;; execute them with perl, so execute them directly instead.
(add-after 'unpack 'fix-finance-quote-check
(lambda _
(substitute* "libgnucash/scm/price-quotes.scm"
(substitute* "gnucash/price-quotes.scm"
(("\"perl\" \"-w\" ") ""))
#t))
;; The qof test requires the en_US, en_GB, and fr_FR locales.
@ -230,7 +232,7 @@ installed as well as Yelp, the Gnome help browser.")
version "/gnucash-docs-" version revision ".tar.gz"))
(sha256
(base32
"19v6kchda724xkkgwlw5rg21jcpirhch12j9sr6ibnv61sd4ql52"))))
"1p1rbv0gyi07nh5pzhk3xm46w66kjyaipb6rpaq9yb9gil1nl7q5"))))
(build-system gnu-build-system)
;; These are native-inputs because they are only required for building the
;; documentation.