diff options
Diffstat (limited to 'pkgs/by-name/mo/moneydance/package.nix')
-rw-r--r-- | pkgs/by-name/mo/moneydance/package.nix | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/pkgs/by-name/mo/moneydance/package.nix b/pkgs/by-name/mo/moneydance/package.nix index 5222684f706b5..b7929fe7383d8 100644 --- a/pkgs/by-name/mo/moneydance/package.nix +++ b/pkgs/by-name/mo/moneydance/package.nix @@ -1,16 +1,22 @@ -{ lib, stdenv, fetchzip, makeWrapper, openjdk21, openjfx21, jvmFlags ? [ ] }: -let jdk = openjdk21.override { enableJavaFX = true; }; -in stdenv.mkDerivation (finalAttrs: { +{ lib, stdenv, fetchzip, makeWrapper, openjdk22, openjfx22, jvmFlags ? [ ] }: +let + openjfx = openjfx22; + jdk = openjdk22.override { + enableJavaFX = true; + inherit openjfx; + }; +in +stdenv.mkDerivation (finalAttrs: { pname = "moneydance"; - version = "2023.3_5064"; + version = "2024.1_5118"; src = fetchzip { - url = "https://infinitekind.com/stabledl/${finalAttrs.version}/moneydance-linux.tar.gz"; - hash = "sha256-jHr1V/gV1seenw2Q0/G405lTiabEYEsOS8p/XyByrtM="; + url = "https://infinitekind.com/stabledl/2024_5118/moneydance-linux.tar.gz"; + hash = "sha256-wwSb3CuhuXB4I9jq+TpLPbd1k9UzqQbAaZkGKgi+nns="; }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ jdk openjfx21 ]; + buildInputs = [ jdk openjfx ]; # Note the double escaping in the call to makeWrapper. The escapeShellArgs # call quotes each element of the flags list as a word[1] and returns a @@ -43,10 +49,15 @@ in stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://infinitekind.com/moneydance"; + changelog = "https://infinitekind.com/stabledl/2024_5118/changelog.txt"; description = "An easy to use and full-featured personal finance app that doesn't compromise your privacy"; sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; license = lib.licenses.unfree; - platforms = jdk.meta.platforms; + # Darwin refers to Zulu Java, which breaks the evaluation of this derivation + # for some reason + # + # https://github.com/NixOS/nixpkgs/pull/306372#issuecomment-2111688236 + platforms = lib.platforms.linux; maintainers = [ lib.maintainers.lucasbergman ]; }; }) |