14 aeronAll_1_40_0 = fetchMavenArtifact {
17 artifactId = "aeron-all";
18 hash = "sha512-NyhYaQqOWcSBwzwpje6DMAp36CEgGSNXBSdaRrDyP+Fn2Z0nvh5o2czog6GKKtbjH9inYfyyF/21gehfgLF6qA==";
21 aeronSamples_1_40_0 = fetchMavenArtifact {
24 artifactId = "aeron-samples";
25 hash = "sha512-vyAq4mfLDDyaVk7wcIpPvPcxSt92Ek8mxfuuZwaX+0Wu9oJCpwbnjvS9+bvzcE4qSGxzY6eJIIX6nMdw0LkACg==";
28 aeronAll_1_42_1 = fetchMavenArtifact {
30 artifactId = "aeron-all";
32 hash = "sha512-pjX+JopK6onDwElMIroj+ZXrKwdPj5H2uPg08XgNlrK1rAkHo9MUT8weBGbuFVFDLeqOZrHj0bt1wJ9XgYY5aA==";
35 aeronSamples_1_42_1 = fetchMavenArtifact {
38 artifactId = "aeron-samples";
39 hash = "sha512-4JnHn22vJf2lmOg6ev5PD+/YiaL3KgfuyWAK92djX3KBVXO7ERMY2kH79dveVCJG1rbekvE1j1pnjaAIxwJcqg==";
42 aeronAll_1_43_0 = fetchMavenArtifact {
44 artifactId = "aeron-all";
46 hash = "sha512-ZKjUA1Kp++RLnCNUOi2K/iGc4zIIR4pC4j8qPfO+rcgp7ghZfgsXO8sB+JD307kzeikUXnPFX7ef28DlzI8s8Q==";
49 aeronSamples_1_43_0 = fetchMavenArtifact {
52 artifactId = "aeron-samples";
53 hash = "sha512-a/ti4Kd8WwzOzDGMgdYk0pxsu8vRA4kRD9cm4D3S+r6xc/rL8ECHVoogOMDeabDd1EYSIbx/sKE01BJOW7BVsg==";
56 aeronAll_1_44_1 = fetchMavenArtifact {
58 artifactId = "aeron-all";
60 hash = "sha256-O80bWp7F6mRh3me1znzpfFfFEpvvMVjL4PrAt7+3Fq0=";
63 aeronSamples_1_44_1 = fetchMavenArtifact {
66 artifactId = "aeron-samples";
67 hash = "sha256-ZSuTed45BRzr4JJuGeXghUgEifv/FpnCzTNJWa+nwjo=";
70 aeronAll = aeronAll_1_44_1;
71 aeronSamples = aeronSamples_1_44_1;
73 in stdenv.mkDerivation {
75 inherit pname version;
93 mkdir --parents "$out/share/java"
94 ln --symbolic "${aeronAll.jar}" "$out/share/java/${pname}-all.jar"
95 ln --symbolic "${aeronSamples.jar}" "$out/share/java/${pname}-samples.jar"
102 makeWrapper "${jdk11}/bin/java" "$out/bin/$1" \
103 --add-flags "--add-opens java.base/sun.nio.ch=ALL-UNNAMED" \
104 --add-flags "--class-path ${aeronAll.jar}" \
108 wrap "${pname}-media-driver" io.aeron.driver.MediaDriver
109 wrap "${pname}-stat" io.aeron.samples.AeronStat
110 wrap "${pname}-archiving-media-driver" io.aeron.archive.ArchivingMediaDriver
111 wrap "${pname}-archive-tool" io.aeron.archive.ArchiveTool
112 wrap "${pname}-logging-agent" io.aeron.agent.DynamicLoggingAgent
113 wrap "${pname}-clustered-media-driver" io.aeron.cluster.ClusteredMediaDriver
114 wrap "${pname}-cluster-tool" io.aeron.cluster.ClusterTool
122 description = "Low-latency messaging library";
123 homepage = "https://aeron.io/";
124 license = licenses.asl20;
125 mainProgram = "${pname}-media-driver";
126 maintainers = [ maintainers.vaci ];
128 sourceTypes.binaryBytecode