gnucash: 5.11 -> 5.12 (#429305)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
fetchpatch2,
|
||||
aqbanking,
|
||||
boost,
|
||||
cmake,
|
||||
@@ -38,12 +37,12 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnucash";
|
||||
version = "5.11";
|
||||
version = "5.12";
|
||||
|
||||
# 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-a6QjE6qqmbXwf/bk28WLM/v19L5ukRN2cB1lwm/U3r4=";
|
||||
hash = "sha256-s1tHVr4SvP2+1URo8wRD+lPyOFIKnOrVveLmxHc/vzk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -96,12 +95,6 @@ stdenv.mkDerivation rec {
|
||||
./0004-exec-fq-wrapper.patch
|
||||
# this patch adds in env vars to the Python lib that makes it able to find required resource files
|
||||
./0005-python-env.patch
|
||||
# this patch backports a fix to remove unused includes causing build failures
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/Gnucash/gnucash/commit/940085a0172216240232551022686cea4da86096.patch?full_index=1";
|
||||
name = "0006-remove-unused-includes.patch";
|
||||
hash = "sha256-4CpBtKDkcT1HlOAHsbASxPiHKVpZ9ETWS3fXEupOl0Q=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@@ -133,7 +126,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "Gnucash";
|
||||
repo = "gnucash-docs";
|
||||
rev = version;
|
||||
hash = "sha256-uXpIAsucVUaAlqYTKfrfBg04Kb5Mza67l0ZU6fxkSUY=";
|
||||
hash = "sha256-9hXOgHdNtTcPOf44L2RrfOTXAgJi2Xu6gWnjDU7gHjU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@@ -210,6 +203,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [
|
||||
nevivurn
|
||||
ryand56
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "gnucash";
|
||||
|
||||
Reference in New Issue
Block a user