ed-odyssey-materials-helper: 3.1.12 -> 3.6.6

Co-authored-by: ToasterUwU <Aki@ToasterUwU.com>
This commit is contained in:
Marcell Tóth
2026-04-13 16:03:58 +02:00
co-authored by ToasterUwU
parent b28a8f0bc6
commit c97ab5613e
2 changed files with 553 additions and 312 deletions
File diff suppressed because it is too large Load Diff
@@ -15,19 +15,20 @@
copyDesktopItems,
makeDesktopItem,
writeScript,
writeText,
}:
let
gradle = gradle_9;
in
stdenv.mkDerivation rec {
pname = "ed-odyssey-materials-helper";
version = "3.1.12";
version = "3.6.6";
src = fetchFromGitHub {
owner = "jixxed";
repo = "ed-odyssey-materials-helper";
tag = version;
hash = "sha256-QqwLM2fiPmtFehB83M3yvLp8M1DKywlCxQcG4mclBkk=";
hash = "sha256-ljCN2tW7iH+kTiSXwUt+OsAhjYKlAy0W5x/JDmQeR6M=";
};
nativeBuildInputs = [
@@ -54,10 +55,8 @@ stdenv.mkDerivation rec {
substituteInPlace application/src/main/java/nl/jixxed/eliteodysseymaterials/FXApplication.java \
--replace-fail 'versionPopup();' ""
for f in build.gradle */build.gradle; do
substituteInPlace $f \
--replace-fail 'vendor = JvmVendorSpec.AZUL' ""
done
substituteInPlace build.gradle bootstrap/build.gradle application/build.gradle \
--replace-fail 'vendor = JvmVendorSpec.AZUL' ""
'';
mitmCache = gradle.fetchDeps {
@@ -70,6 +69,8 @@ stdenv.mkDerivation rec {
"--stacktrace"
];
gradleInitScript = writeText "empty-init-script.gradle" ""; # fixes build by making it possibly not reproducible, though it still seems to be
gradleBuildTask = "application:jpackage";
env = {