12 maven.buildMavenPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-E7wLhohOpWGzXe1zEO9a8aFIVT7/34Wr0dsRzpuf+eY=";
24 echo "${version}" > assets/assets/org/DarisaDesigns/version
26 zip -r ../assets/assets/org/DarisaDesigns/readme *
27 cd ../packaging_files/example_lexicons
28 zip -r ../../assets/assets/org/DarisaDesigns/exlex *
32 mvnHash = "sha256-T7es44oNI9EXnpJd/DvYTb4LaJvR3rIdlhD4s/+Bfks=";
33 mvnParameters = "-DskipTests";
46 mkdir -p $out/bin $out/share/PolyGlotLinA
47 install -Dm644 --target-directory=$out/share/PolyGlotLinA target/PolyGlotLinA-${version}-jar-with-dependencies.jar
49 makeWrapper ${jre}/bin/java $out/bin/PolyGlot \
50 --add-flags "-Djpackage.app-version=${version}" \
51 --add-flags "-jar $out/share/PolyGlotLinA/PolyGlotLinA-${version}-jar-with-dependencies.jar" \
52 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}"
58 description = "Conlang construction toolkit";
59 homepage = "https://draquet.github.io/PolyGlot/readme.html";
60 changelog = "https://github.com/DraqueT/PolyGlot/releases/tag/${version}";
61 license = lib.licenses.mit;
62 maintainers = with lib.maintainers; [ noodlez1232 ];
63 platforms = lib.platforms.linux;
64 mainProgram = "PolyGlot";