gnucash: 5.12 -> 5.13 (#447086)

authored by Yohann Boniface and committed by GitHub 6d1ceb6c cb946da0

Changed files
+15 -15
pkgs
by-name
gn
gnucash
+15 -15
pkgs/by-name/gn/gnucash/package.nix
··· 35 ] 36 ); 37 in 38 - stdenv.mkDerivation rec { 39 pname = "gnucash"; 40 - version = "5.12"; 41 42 # raw source code doesn't work out of box; fetchFromGitHub not usable 43 src = fetchurl { 44 - url = "https://github.com/Gnucash/gnucash/releases/download/${version}/gnucash-${version}.tar.bz2"; 45 - hash = "sha256-s1tHVr4SvP2+1URo8wRD+lPyOFIKnOrVveLmxHc/vzk="; 46 }; 47 48 nativeBuildInputs = [ ··· 100 postPatch = '' 101 substituteInPlace bindings/python/__init__.py \ 102 --subst-var-by gnc_dbd_dir "${libdbiDrivers}/lib/dbd" \ 103 - --subst-var-by gsettings_schema_dir ${glib.makeSchemaPath "$out" "gnucash-${version}"}; 104 ''; 105 106 # this needs to be an environment variable and not a cmake flag to suppress ··· 120 121 passthru.docs = stdenv.mkDerivation { 122 pname = "gnucash-docs"; 123 - inherit version; 124 125 src = fetchFromGitHub { 126 owner = "Gnucash"; 127 repo = "gnucash-docs"; 128 - rev = version; 129 - hash = "sha256-9hXOgHdNtTcPOf44L2RrfOTXAgJi2Xu6gWnjDU7gHjU="; 130 }; 131 132 nativeBuildInputs = [ cmake ]; ··· 139 preFixup = '' 140 gappsWrapperArgs+=( 141 # documentation 142 - --prefix XDG_DATA_DIRS : ${passthru.docs}/share 143 # db drivers location 144 --set GNC_DBD_DIR ${libdbiDrivers}/lib/dbd 145 # gsettings schema location on Nix 146 - --set GSETTINGS_SCHEMA_DIR ${glib.makeSchemaPath "$out" "gnucash-${version}"} 147 ) 148 ''; 149 ··· 177 178 passthru.updateScript = ./update.sh; 179 180 - meta = with lib; { 181 homepage = "https://www.gnucash.org/"; 182 description = "Free software for double entry accounting"; 183 longDescription = '' ··· 200 - Scheduled Transactions 201 - Financial Calculations 202 ''; 203 - license = licenses.gpl2Plus; 204 - maintainers = with maintainers; [ 205 nevivurn 206 ryand56 207 ]; 208 - platforms = platforms.unix; 209 mainProgram = "gnucash"; 210 }; 211 - } 212 # TODO: investigate Darwin support
··· 35 ] 36 ); 37 in 38 + stdenv.mkDerivation (finalAttrs: { 39 pname = "gnucash"; 40 + version = "5.13"; 41 42 # raw source code doesn't work out of box; fetchFromGitHub not usable 43 src = fetchurl { 44 + url = "https://github.com/Gnucash/gnucash/releases/download/${finalAttrs.version}/gnucash-${finalAttrs.version}.tar.bz2"; 45 + hash = "sha256-CC7swzK3IvIj0/JRJibr5e9j+UqvXECeh1JsZURkrvU="; 46 }; 47 48 nativeBuildInputs = [ ··· 100 postPatch = '' 101 substituteInPlace bindings/python/__init__.py \ 102 --subst-var-by gnc_dbd_dir "${libdbiDrivers}/lib/dbd" \ 103 + --subst-var-by gsettings_schema_dir ${glib.makeSchemaPath "$out" "gnucash-${finalAttrs.version}"}; 104 ''; 105 106 # this needs to be an environment variable and not a cmake flag to suppress ··· 120 121 passthru.docs = stdenv.mkDerivation { 122 pname = "gnucash-docs"; 123 + inherit (finalAttrs) version; 124 125 src = fetchFromGitHub { 126 owner = "Gnucash"; 127 repo = "gnucash-docs"; 128 + tag = finalAttrs.version; 129 + hash = "sha256-EVK36JzK8BPe6St4FhhZEqdc07oaiePJ/EH2NHm3r1U="; 130 }; 131 132 nativeBuildInputs = [ cmake ]; ··· 139 preFixup = '' 140 gappsWrapperArgs+=( 141 # documentation 142 + --prefix XDG_DATA_DIRS : ${finalAttrs.passthru.docs}/share 143 # db drivers location 144 --set GNC_DBD_DIR ${libdbiDrivers}/lib/dbd 145 # gsettings schema location on Nix 146 + --set GSETTINGS_SCHEMA_DIR ${glib.makeSchemaPath "$out" "gnucash-${finalAttrs.version}"} 147 ) 148 ''; 149 ··· 177 178 passthru.updateScript = ./update.sh; 179 180 + meta = { 181 homepage = "https://www.gnucash.org/"; 182 description = "Free software for double entry accounting"; 183 longDescription = '' ··· 200 - Scheduled Transactions 201 - Financial Calculations 202 ''; 203 + license = lib.licenses.gpl2Plus; 204 + maintainers = with lib.maintainers; [ 205 nevivurn 206 ryand56 207 ]; 208 + platforms = lib.platforms.unix; 209 mainProgram = "gnucash"; 210 }; 211 + }) 212 # TODO: investigate Darwin support