gnucash: 4.4 → 4.5

Needed a patch to fix build with GLib 2.68 and it did not apply to 4.4 so I also bumped the version 🤷‍♀️

Changes look fine: https://github.com/Gnucash/gnucash/releases/tag/4.5
This commit is contained in:
Jan Tojnar 2021-04-28 06:29:54 +02:00
parent 4a5620c143
commit 8647ddb0d3
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, pkg-config, makeWrapper, cmake, gtest
{ fetchurl, fetchpatch, lib, stdenv, pkg-config, makeWrapper, cmake, gtest
, boost, icu, libxml2, libxslt, gettext, swig, isocodes, gtk3, glibcLocales
, webkitgtk, dconf, hicolor-icon-theme, libofx, aqbanking, gwenhywfar, libdbi
, libdbiDrivers, guile, perl, perlPackages
@ -25,13 +25,21 @@ in
stdenv.mkDerivation rec {
pname = "gnucash";
version = "4.4";
version = "4.5";
src = fetchurl {
url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
sha256 = "sha256-2R4NEmtGHXHeG8GyDZzxQnBDU97AfT5lmdE4QidZ5no=";
sha256 = "sha256-vB9IqEU0iKLp9rg7aGE6pVyuvk0pg0YL2sfghLRs/9w=";
};
patches = [
# Fix build with GLib 2.68.
(fetchpatch {
url = "https://github.com/Gnucash/gnucash/commit/bbb4113a5a996dcd7bb3494e0be900b275b49a4f.patch";
sha256 = "Pnvwoq5zutFw7ByduEEANiLM2J50WiXpm2aZ8B2MDMQ=";
})
];
nativeBuildInputs = [ pkg-config makeWrapper cmake gtest ];
buildInputs = [