8 , stripJavaArchivesHook
15 stdenv.mkDerivation (finalAttrs: {
17 version = "5.1.1"; # There are newer versions, but they use gradle
26 src = fetchFromGitHub {
29 rev = "ili2c-${finalAttrs.version}";
30 hash = "sha256-FHhx+f253+UdbFjd2fOlUY1tpQ6pA2aVu9CBSwUVoKQ=";
34 # avoids modifying Version.properties file because that would insert the current timestamp into the file
35 ./dont-use-build-timestamp.patch
47 install -Dm644 build/jar/ili2c.jar -t $out/share/ili2c
48 makeWrapper ${jre}/bin/java $out/bin/ili2c \
49 --add-flags "-jar $out/share/ili2c/ili2c.jar"
55 description = "INTERLIS Compiler";
57 Checks the syntactical correctness of an INTERLIS data model.
59 homepage = "https://www.interlis.ch/downloads/ili2c";
60 sourceProvenance = with sourceTypes; [
62 binaryBytecode # source bundles dependencies as jars
64 license = licenses.lgpl21Plus;
65 maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
66 platforms = platforms.unix;
67 mainProgram = "ili2c";