Unverified Commit 0d5dc32b authored by Ryan Omasta's avatar Ryan Omasta Committed by GitHub
Browse files

gnucash: 5.10 -> 5.11 (#394973)

parent c1bfefc3
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  stdenv,
  fetchFromGitHub,
  fetchurl,
  fetchpatch,
  aqbanking,
  boost,
  cmake,
@@ -30,12 +29,12 @@

stdenv.mkDerivation rec {
  pname = "gnucash";
  version = "5.10";
  version = "5.11";

  # raw source code doesn't work out of box; fetchFromGitHub not usable
  src = fetchurl {
    url = "https://github.com/Gnucash/gnucash/releases/download/${version}/gnucash-${version}.tar.bz2";
    hash = "sha256-eJ2fNpjuW4ZyAnmjo+EOd0QhDhLFJa5/A9MvpwQHrZM=";
    hash = "sha256-a6QjE6qqmbXwf/bk28WLM/v19L5ukRN2cB1lwm/U3r4=";
  };

  nativeBuildInputs = [
@@ -80,18 +79,6 @@ stdenv.mkDerivation rec {
    ./0003-remove-valgrind.patch
    # this patch makes gnucash exec the Finance::Quote wrapper directly
    ./0004-exec-fq-wrapper.patch
    # this patch fixes the build against icu 76
    (fetchpatch {
      name = "icu-76.patch";
      url = "https://github.com/Gnucash/gnucash/commit/579eed1facc0f7834ea70b1a342ebca0f125d788.patch";
      hash = "sha256-XzRPHDPxt2TfeqO48vaNEcfF58neVDMxVqkPKrG5xoM=";
    })
    # fixes QIF imports: https://bugs.gnucash.org/show_bug.cgi?id=799492
    (fetchpatch {
      name = "qif-import.patch";
      url = "https://github.com/Gnucash/gnucash/commit/6531d3e46b7bee1add61aa6c6aaf8fb1f889a586.patch";
      hash = "sha256-Lque2w9X9yencNVzI/DfuE3H2dN46yVNnbBdiEQE6/4=";
    })
  ];

  # this needs to be an environment variable and not a cmake flag to suppress