more dependencies
more/packages/binary.scm
33 | 33 | #:use-module (gnu packages multiprecision) | |
34 | 34 | #:use-module (gnu packages pkg-config) | |
35 | 35 | #:use-module (gnu packages python) | |
36 | + | #:use-module (gnu packages python-xyz) | |
36 | 37 | #:use-module (gnu packages python-crypto) | |
37 | 38 | #:use-module (gnu packages qt) | |
38 | 39 | #:use-module (gnu packages tls) |
more/packages/geo.scm
39 | 39 | #:use-module (gnu packages web) | |
40 | 40 | #:use-module (gnu packages xml)) | |
41 | 41 | ||
42 | - | (define-public tegola | |
43 | - | (package | |
44 | - | (name "tegola") | |
45 | - | (version "0.7.0") | |
46 | - | (source (origin | |
47 | - | (method url-fetch) | |
48 | - | (uri (string-append | |
49 | - | "https://github.com/go-spatial/tegola/archive/v" | |
50 | - | version ".tar.gz")) | |
51 | - | (sha256 | |
52 | - | (base32 | |
53 | - | "09vnzxfn0r70kmd776kcdfqxhzdj11syxa0b27z4ci1k367v7viw")))) | |
54 | - | (build-system go-build-system) | |
55 | - | (arguments | |
56 | - | `(#:import-path "github.com/go-spatial/tegola/cmd/tegola" | |
57 | - | #:unpack-path "github.com/go-spatial" | |
58 | - | #:phases | |
59 | - | (modify-phases %standard-phases | |
60 | - | (add-before 'build 'rename-import | |
61 | - | (lambda _ | |
62 | - | (rename-file (string-append "src/github.com/go-spatial/tegola-" ,version) | |
63 | - | "src/github.com/go-spatial/tegola") | |
64 | - | #t))))) | |
65 | - | (home-page "http://tegola.io") | |
66 | - | (synopsis "Vector tile server for maps") | |
67 | - | (description "Tegola is a free vector tile server written in Go. Tegola | |
68 | - | takes geospatial data and slices it into vector tiles that can be efficiently | |
69 | - | delivered to any client.") | |
70 | - | (license license:expat))) | |
71 | - | ||
72 | - | (define-public protozero | |
73 | - | (package | |
74 | - | (name "protozero") | |
75 | - | (version "1.6.3") | |
76 | - | (source | |
77 | - | (origin | |
78 | - | (method url-fetch) | |
79 | - | (uri (string-append "https://github.com/mapbox/protozero/archive/v" | |
80 | - | version ".tar.gz")) | |
81 | - | (file-name (string-append name "-" version ".tar.gz")) | |
82 | - | (sha256 | |
83 | - | (base32 | |
84 | - | "1xaj4phz1r7xn0vgdfvfkz8b0bizgb6mavjky1zqcvdmbwgwgly5")))) | |
85 | - | (build-system cmake-build-system) | |
86 | - | (home-page "https://github.com/mapbox/protozero") | |
87 | - | (synopsis "Minimalistic protocol buffer decoder and encoder in C++") | |
88 | - | (description "Protozero is a minimalistic protocol buffer decored and | |
89 | - | encoder in C++. The developer using protozero has to manually translate the | |
90 | - | @file{.proto} description into code.") | |
91 | - | (license (list | |
92 | - | license:asl2.0; for folly | |
93 | - | license:bsd-2)))) | |
94 | - | ||
95 | - | (define-public libosmium | |
96 | - | (package | |
97 | - | (name "libosmium") | |
98 | - | (version "2.14.2") | |
99 | - | (source | |
100 | - | (origin | |
101 | - | (method url-fetch) | |
102 | - | (uri (string-append "https://github.com/osmcode/libosmium/archive/v" | |
103 | - | version ".tar.gz")) | |
104 | - | (file-name (string-append name "-" version ".tar.gz")) | |
105 | - | (sha256 | |
106 | - | (base32 | |
107 | - | "0d9b46qiw7zkw1h9lygjdwqxnbhm3c7v8kydzw9f9f778cyagc94")))) | |
108 | - | (build-system cmake-build-system) | |
109 | - | (inputs | |
110 | - | `(("boost" ,boost) | |
111 | - | ("expat" ,expat) | |
112 | - | ("gdal" ,gdal) | |
113 | - | ("geos" ,geos) | |
114 | - | ("proj.4" ,proj.4) | |
115 | - | ("protozero" ,protozero) | |
116 | - | ("sparsehash" ,sparsehash) | |
117 | - | ("zlib" ,zlib))) | |
118 | - | (native-inputs | |
119 | - | `(("doxygen" ,doxygen))) | |
120 | - | (home-page "https://osmcode.org/libosmium") | |
121 | - | (synopsis "C++ library for working with OpenStreetMap data") | |
122 | - | (description "Libosmium is a fast and flexible C++ library for working with | |
123 | - | OpenStreetMap data.") | |
124 | - | (license license:boost1.0))) | |
125 | - | ||
126 | - | (define-public imposm3 | |
127 | - | (package | |
128 | - | (name "imposm3") | |
129 | - | (version "0.6.0-alpha.4") | |
130 | - | (source | |
131 | - | (origin | |
132 | - | (method url-fetch) | |
133 | - | (uri (string-append "https://github.com/omniscale/imposm3/archive/v" | |
134 | - | version ".tar.gz")) | |
135 | - | (file-name (string-append name "-" version ".tar.gz")) | |
136 | - | (sha256 | |
137 | - | (base32 | |
138 | - | "06f0kwmv52yd5m9jlckqxqmkf0cnqy3hamakrvg9lspplyqrds80")))) | |
139 | - | (build-system go-build-system) | |
140 | - | (arguments | |
141 | - | `(#:import-path "github.com/omniscale/imposm3/cmd/imposm" | |
142 | - | #:unpack-path "github.com/omniscale" | |
143 | - | #:phases | |
144 | - | (modify-phases %standard-phases | |
145 | - | (add-before 'build 'rename-import | |
146 | - | (lambda _ | |
147 | - | (rename-file (string-append "src/github.com/omniscale/imposm3-" ,version) | |
148 | - | "src/github.com/omniscale/imposm3") | |
149 | - | #t))))) | |
150 | - | (inputs | |
151 | - | `(("geos" ,geos) | |
152 | - | ("leveldb" ,leveldb))) | |
153 | - | (home-page "http://imposm.org/") | |
154 | - | (synopsis "OpenStreetMap importer for PostGIS.") | |
155 | - | (description "OpenStreetMap importer for PostGIS.") | |
156 | - | (license license:asl2.0))) | |
157 | - | ||
158 | 42 | (define-public osmconvert | |
159 | 43 | (package | |
160 | 44 | (name "osmconvert") | |
… | |||
187 | 71 | (synopsis "") | |
188 | 72 | (description "") | |
189 | 73 | (license license:agpl3+))) | |
190 | - | ||
191 | - | (define-public osm2pgsql | |
192 | - | (package | |
193 | - | (name "osm2pgsql") | |
194 | - | (version "0.96.0") | |
195 | - | (source (origin | |
196 | - | (method url-fetch) | |
197 | - | (uri (string-append "https://github.com/openstreetmap/osm2pgsql/archive/" | |
198 | - | version ".tar.gz")) | |
199 | - | (file-name (string-append name "-" version ".tar.gz")) | |
200 | - | (sha256 | |
201 | - | (base32 | |
202 | - | "08y7776r4l9v9177a4q6cfdri0lpirky96m6g699hwl7v1vhw0mn")))) | |
203 | - | (build-system cmake-build-system) | |
204 | - | (arguments | |
205 | - | ;; failure | |
206 | - | `(#:tests? #f)) | |
207 | - | (inputs | |
208 | - | `(("boost" ,boost) | |
209 | - | ("expat" ,expat) | |
210 | - | ("lua" ,lua) | |
211 | - | ("postgresql" ,postgresql) | |
212 | - | ("proj.4" ,proj.4) | |
213 | - | ("zlib" ,zlib))) | |
214 | - | (home-page "") | |
215 | - | (synopsis "") | |
216 | - | (description "") | |
217 | - | (license license:gpl2))) | |
218 | - | ||
219 | - | (define-public tippecanoe | |
220 | - | (package | |
221 | - | (name "tippecanoe") | |
222 | - | (version "1.31.5") | |
223 | - | (source (origin | |
224 | - | (method url-fetch) | |
225 | - | (uri (string-append "https://github.com/mapbox/tippecanoe/archive/" | |
226 | - | version ".tar.gz")) | |
227 | - | (file-name (string-append name "-" version ".tar.gz")) | |
228 | - | (sha256 | |
229 | - | (base32 | |
230 | - | "1057na1dkgjaryr7jr15lqkxpam111d3l5zdpdkqzzzpxmdjxqcf")))) | |
231 | - | (build-system gnu-build-system) | |
232 | - | (arguments | |
233 | - | `(#:phases | |
234 | - | (modify-phases %standard-phases (delete 'configure)) | |
235 | - | #:test-target "test" | |
236 | - | #:make-flags | |
237 | - | (list "CC=gcc" | |
238 | - | (string-append "PREFIX=" (assoc-ref %outputs "out"))))) | |
239 | - | (inputs | |
240 | - | `(("sqlite" ,sqlite) | |
241 | - | ("zlib" ,zlib))) | |
242 | - | (native-inputs | |
243 | - | `(("perl" ,perl))) | |
244 | - | (home-page "") | |
245 | - | (synopsis "") | |
246 | - | (description "") | |
247 | - | (license license:bsd-2))) |
more/packages/gnuzilla.scm
64 | 64 | #:use-module (gnu packages pulseaudio) | |
65 | 65 | #:use-module (gnu packages python) | |
66 | 66 | #:use-module (gnu packages rust) | |
67 | + | #:use-module (gnu packages sqlite) | |
67 | 68 | #:use-module (gnu packages version-control) | |
68 | 69 | #:use-module (gnu packages video) | |
69 | 70 | #:use-module (gnu packages xdisorg) |
more/packages/gradle.scm
1 | 1 | ;;; GNU Guix --- Functional package management for GNU | |
2 | - | ;;; Copyright ?? 2017, 2018 Julien Lepiller <julien@lepiller.eu> | |
2 | + | ;;; Copyright ?? 2017-2019 Julien Lepiller <julien@lepiller.eu> | |
3 | 3 | ;;; | |
4 | 4 | ;;; This file is part of GNU Guix. | |
5 | 5 | ;;; | |
… | |||
37 | 37 | ||
38 | 38 | ;; Gradle requires guava@17. | |
39 | 39 | ;; TODO: patch gradle to support at least guava@20 and send it upstream. | |
40 | - | (define-public java-guava-for-gradle | |
41 | - | (package | |
42 | - | (inherit java-guava) | |
43 | - | (version "17.0") | |
44 | - | (source (origin | |
45 | - | (method url-fetch) | |
46 | - | (uri (string-append "https://github.com/google/guava/" | |
47 | - | "archive/v" version ".tar.gz")) | |
48 | - | (sha256 | |
49 | - | (base32 | |
50 | - | "0kg2n0dfdncbm3kgf8fa6kig8djfhar24vf0yf287x27w5sqzhnb")))) | |
51 | - | (arguments | |
52 | - | `(#:jar-name "guava.jar" | |
53 | - | #:source-dir "guava/src/" | |
54 | - | #:tests? #f)))); Not in a "java" subdirectory | |
40 | + | (define-public java-guava-for-gradle java-guava-25) | |
41 | + | ; (package | |
42 | + | ; (inherit java-guava) | |
43 | + | ; (version "17.0") | |
44 | + | ; (source (origin | |
45 | + | ; (method url-fetch) | |
46 | + | ; (uri (string-append "https://github.com/google/guava/" | |
47 | + | ; "archive/v" version ".tar.gz")) | |
48 | + | ; (sha256 | |
49 | + | ; (base32 | |
50 | + | ; "0kg2n0dfdncbm3kgf8fa6kig8djfhar24vf0yf287x27w5sqzhnb")))) | |
51 | + | ; (arguments | |
52 | + | ; `(#:jar-name "guava.jar" | |
53 | + | ; #:jdk ,icedtea-7 | |
54 | + | ; #:source-dir "guava/src/" | |
55 | + | ; #:tests? #f)))); Not in a "java" subdirectory | |
55 | 56 | ||
56 | 57 | (define (gradle-subproject subproject projects runtime) | |
57 | 58 | "Gradle is made of a lot of subprojects. Each subproject can be compiled in | |
… | |||
61 | 62 | ||
62 | 63 | Each subproject contains at least a text file, gradle-*-classpath.properties | |
63 | 64 | that contain dependency information. This file is created using the | |
64 | - | @code{projects} and @code{runtime} parameters." | |
65 | + | @code{projects} and @code{runtime} parameters. | |
66 | + | ||
67 | + | @code{projects} is a list of gradle projects. The right list is present in | |
68 | + | the @file{build.gradle} file of the subproject, | |
69 | + | ||
70 | + | @code{runtime} is a list of dependencies on non-gradle libraries. The exact | |
71 | + | list to pass is present in the @file{build.gradle} file of the subproject: in | |
72 | + | the dependencies section, look for @code{compile libraries.*.coordinates}." | |
65 | 73 | (package | |
66 | 74 | (name (string-append "gradle-" subproject)) | |
67 | - | (version "4.9.0") | |
75 | + | ;(version "4.9.0") | |
76 | + | (version "5.1.1") | |
68 | 77 | (source (origin | |
69 | 78 | (method url-fetch) | |
70 | 79 | (uri (string-append "https://github.com/gradle/gradle/archive/v" | |
… | |||
72 | 81 | (file-name (string-append "gradle-" version ".tar.gz")) | |
73 | 82 | (sha256 | |
74 | 83 | (base32 | |
75 | - | "19x1sksin2nh277pvd1f7h6kphbbqv4fb6sax696kvn1ci5h2fvp")) | |
84 | + | ;"19x1sksin2nh277pvd1f7h6kphbbqv4fb6sax696kvn1ci5h2fvp")) | |
85 | + | "0brjlj3gzgqfh0j132xrakl0jd4gpkm2q889yr688mglbmp5phw3")) | |
76 | 86 | (patches | |
77 | 87 | (search-patches | |
78 | 88 | "gradle-match-files-without-version-number.patch")))) | |
… | |||
82 | 92 | ;; if they are named differently. | |
83 | 93 | `(#:jar-name (string-append "gradle-" ,subproject "-" ,version ".jar") | |
84 | 94 | #:source-dir (string-append "subprojects/" ,subproject "/src/main/java") | |
85 | - | #:jdk ,icedtea-8 | |
95 | + | #:jdk ,openjdk9 | |
86 | 96 | #:tests? #f;; Ignore tests for now | |
87 | 97 | #:test-dir (string-append "subprojects/" ,subproject "/src/test") | |
88 | 98 | #:phases | |
… | |||
92 | 102 | ;; Add implementation information to the MANIFEST.MF file. We can | |
93 | 103 | ;; substitute this in the manifest phase. | |
94 | 104 | (substitute* "build.xml" | |
95 | - | (("message=\"") | |
96 | - | (string-append "message=\"Implementation-Title: Gradle" | |
97 | - | "${line.separator}" | |
98 | - | "Implementation-Version: " ,version | |
99 | - | "${line.separator}"))) | |
105 | + | (("</manifest>") | |
106 | + | (string-append "<attribute name=\"Implementation-Title\" " | |
107 | + | "value=\"Gradle\" />" | |
108 | + | "<attribute name=\"Implementation-Version\" " | |
109 | + | "value=\"" ,version "\" /></manifest>"))) | |
100 | 110 | #t)) | |
101 | 111 | (add-before 'build 'add-properties | |
102 | 112 | (lambda* (#:key inputs #:allow-other-keys) | |
… | |||
148 | 158 | (let ((base (gradle-subproject subproject projects runtime))) | |
149 | 159 | (package | |
150 | 160 | (inherit base) | |
161 | + | (version (package-version base)) | |
151 | 162 | (arguments | |
152 | 163 | (substitute-keyword-arguments (package-arguments base) | |
153 | 164 | ((#:source-dir source-dir) | |
154 | 165 | `(string-append "subprojects/" ,subproject "/src/main/groovy")) | |
155 | 166 | ((#:phases phases) | |
156 | 167 | `(modify-phases ,phases | |
157 | - | (add-before 'build 'use-groovy | |
168 | + | (replace 'build | |
158 | 169 | (lambda _ | |
159 | - | (substitute* "build.xml" | |
160 | - | ;; Change the compiler to groovyc | |
161 | - | (("javac") "groovyc") | |
162 | - | ;; Make it fork | |
163 | - | (("includeantruntime=\"false\"") | |
164 | - | "includeantruntime=\"false\" fork=\"yes\"") | |
165 | - | ;; groovyc doesn't understand the --classpath argument (bug?) | |
166 | - | (("classpath=\"@refidclasspath\"") | |
167 | - | "classpathref=\"classpath\"") | |
168 | - | ;; To enable joint compilation | |
169 | - | (("classpathref=\"classpath\" />") | |
170 | - | "classpathref=\"classpath\"><javac source=\"1.5\" target=\"1.5\" /></groovyc>") | |
171 | - | ;; Actually create a definition of the groovyc task. | |
172 | - | ;; FIXME: Can't we use groovy-ant for that? | |
173 | - | (("<project basedir=\".\">") | |
174 | - | "<project basedir=\".\"><taskdef name=\"groovyc\" | |
175 | - | classname=\"org.codehaus.groovy.ant.Groovyc\" />") | |
176 | - | ;; Tests are in test.home/groovy, not /java | |
177 | - | (("\\}/java") "}/groovy")))))))) | |
170 | + | (mkdir-p "build/classes") | |
171 | + | (mkdir-p "build/jar") | |
172 | + | (invoke "ant" "manifest") | |
173 | + | (apply invoke "java" "-cp" (getenv "CLASSPATH") | |
174 | + | "org.codehaus.groovy.tools.FileSystemCompiler" | |
175 | + | "--classpath" (getenv "CLASSPATH") | |
176 | + | "-d" "build/classes" "-j" | |
177 | + | (find-files (string-append "subprojects/" ,subproject | |
178 | + | "/src/main/groovy") | |
179 | + | ".*\\.(groovy|java)$")) | |
180 | + | (invoke "jar" "cmf" "build/manifest/MANIFEST.MF" | |
181 | + | (string-append "build/jar/gradle-" ,subproject | |
182 | + | "-" ,version ".jar") | |
183 | + | "-C" "build/classes" ".") | |
184 | + | #t)))))) | |
178 | 185 | (native-inputs | |
179 | - | `(("groovy" ,groovy) | |
180 | - | ,@(package-inputs groovy)))))) | |
186 | + | `(("groovy" ,groovy)))))) | |
181 | 187 | ||
182 | 188 | ;; This gradle plugin is not a subproject, but it is required by buildsrc. | |
183 | 189 | (define-public gradle-japicmp-plugin | |
… | |||
355 | 361 | isSnapshot=false" ,(package-version base) ,(package-version base)))) | |
356 | 362 | #t)))))) | |
357 | 363 | (inputs | |
358 | - | `(("java-guava-for-gradle" ,java-guava-for-gradle) | |
364 | + | `(("java-asm-7" ,java-asm-7) | |
365 | + | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
359 | 366 | ("java-slf4j-api" ,java-slf4j-api) | |
360 | 367 | ("java-commons-lang" ,java-commons-lang) | |
361 | 368 | ("java-commons-io" ,java-commons-io) | |
… | |||
372 | 379 | (inputs | |
373 | 380 | `(("gradle-base-services" ,gradle-base-services) | |
374 | 381 | ("groovy" ,groovy) | |
375 | - | ("java-asm-6" ,java-asm-6) | |
382 | + | ("java-asm-7" ,java-asm-7) | |
376 | 383 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
377 | 384 | ("java-jsr305" ,java-jsr305))))) | |
378 | 385 | ||
… | |||
405 | 412 | (define-public gradle-messaging | |
406 | 413 | (let ((base (gradle-subproject "messaging" '("gradle-base-services") | |
407 | 414 | '("java-slf4j-api" "java-kryo" "java-objenesis" | |
408 | - | "java-minlog" "java-reflectasm" "java-asm-6")))) | |
415 | + | "java-minlog" "java-reflectasm" "java-asm-7")))) | |
409 | 416 | (package | |
410 | 417 | (inherit base) | |
411 | 418 | (arguments | |
… | |||
424 | 431 | (inputs | |
425 | 432 | `(("gradle-base-services" ,gradle-base-services) | |
426 | 433 | ("gradle-base-services-groovy" ,gradle-base-services-groovy) | |
427 | - | ("java-asm-6" ,java-asm-6) | |
434 | + | ("java-asm-7" ,java-asm-7) | |
428 | 435 | ("java-commons-lang" ,java-commons-lang) | |
429 | 436 | ("java-fastutil" ,java-fastutil) | |
430 | 437 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
… | |||
444 | 451 | "java-commons-io" "java-commons-lang"))) | |
445 | 452 | (inputs | |
446 | 453 | `(("gradle-base-services" ,gradle-base-services) | |
454 | + | ("gradle-logging" ,gradle-logging) | |
447 | 455 | ("gradle-messaging" ,gradle-messaging) | |
448 | 456 | ("gradle-native" ,gradle-native) | |
457 | + | ("gradle-resources" ,gradle-resources) | |
449 | 458 | ("java-commons-collections" ,java-commons-collections) | |
450 | 459 | ("java-commons-io" ,java-commons-io) | |
451 | 460 | ("java-commons-lang" ,java-commons-lang) | |
… | |||
573 | 582 | "model-core" | |
574 | 583 | '("gradle-base-services-groovy" "gradle-base-services") | |
575 | 584 | '("groovy" "java-slf4j-api" "java-guava-for-gradle" | |
576 | - | "java-jcip-annotations" "java-commons-lang" "java-asm-6"))) | |
585 | + | "java-jcip-annotations" "java-commons-lang" "java-asm-7"))) | |
577 | 586 | (inputs | |
578 | 587 | `(("gradle-base-services" ,gradle-base-services) | |
579 | 588 | ("gradle-base-services-groovy" ,gradle-base-services-groovy) | |
589 | + | ("gradle-core-api" ,gradle-core-api) | |
590 | + | ("gradle-logging" ,gradle-logging) | |
580 | 591 | ("groovy" ,groovy) | |
581 | - | ("java-asm-6" ,java-asm-6) | |
592 | + | ("java-asm-7" ,java-asm-7) | |
582 | 593 | ("java-commons-lang" ,java-commons-lang) | |
583 | 594 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
584 | 595 | ("java-jcip-annotations" ,java-jcip-annotations) | |
… | |||
594 | 605 | '("java-guava-for-gradle" "java-commons-io"))) | |
595 | 606 | (inputs | |
596 | 607 | `(("gradle-base-services" ,gradle-base-services) | |
597 | - | ("gradle-model-core" ,gradle-model-core) | |
598 | 608 | ("gradle-native" ,gradle-native) | |
599 | 609 | ("java-commons-io" ,java-commons-io) | |
600 | 610 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
601 | - | ("java-jsr305" ,java-jsr305))))) | |
611 | + | ("java-jsr305" ,java-jsr305) | |
612 | + | ("java-slf4j-api" ,java-slf4j-api))))) | |
602 | 613 | ||
603 | 614 | (define-public gradle-build-cache | |
604 | 615 | (package | |
… | |||
610 | 621 | (inputs | |
611 | 622 | `(("gradle-base-services" ,gradle-base-services) | |
612 | 623 | ("gradle-logging" ,gradle-logging) | |
624 | + | ("gradle-messaging" ,gradle-messaging) | |
613 | 625 | ("gradle-persistent-cache" ,gradle-persistent-cache) | |
614 | 626 | ("gradle-resources" ,gradle-resources) | |
615 | 627 | ("java-commons-io" ,java-commons-io) | |
… | |||
648 | 660 | ("gradle-base-services-groovy" ,gradle-base-services-groovy) | |
649 | 661 | ("gradle-build-cache" ,gradle-build-cache) | |
650 | 662 | ("gradle-logging" ,gradle-logging) | |
651 | - | ("gradle-model-core" ,gradle-model-core) | |
652 | 663 | ("gradle-persistent-cache" ,gradle-persistent-cache) | |
653 | 664 | ("gradle-process-services" ,gradle-process-services) | |
654 | 665 | ("gradle-resources" ,gradle-resources) | |
… | |||
672 | 683 | ("gradle-base-services-groovy" ,gradle-base-services-groovy) | |
673 | 684 | ("gradle-model-core" ,gradle-model-core) | |
674 | 685 | ("groovy" ,groovy) | |
675 | - | ("java-asm-6" ,java-asm-6) | |
686 | + | ("java-asm-7" ,java-asm-7) | |
676 | 687 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
677 | 688 | ("java-jcip-annotations" ,java-jcip-annotations) | |
678 | 689 | ("java-jsr305" ,java-jsr305))))) | |
… | |||
716 | 727 | "gradle-build-cache" "gradle-core-api" "gradle-process-services" | |
717 | 728 | "gradle-jvm-services" "gradle-model-core") | |
718 | 729 | '("groovy" "ant" "java-guava-for-gradle" | |
719 | - | "java-javax-inject" "java-asm-6" "java-slf4j-api" | |
730 | + | "java-javax-inject" "java-asm-7" "java-slf4j-api" | |
720 | 731 | "java-commons-collections" "java-commons-io" | |
721 | 732 | "java-commons-lang" "java-jcip-annotations" "java-jaxp" | |
722 | 733 | "java-native-platform" "java-commons-compress")))) | |
… | |||
773 | 784 | ("gradle-process-services" ,gradle-process-services) | |
774 | 785 | ("gradle-resources" ,gradle-resources) | |
775 | 786 | ("groovy" ,groovy) | |
776 | - | ("java-asm-6" ,java-asm-6) | |
787 | + | ("java-asm-7" ,java-asm-7) | |
777 | 788 | ("java-commons-collections" ,java-commons-collections) | |
778 | 789 | ("java-commons-compress" ,java-commons-compress) | |
779 | 790 | ("java-commons-io" ,java-commons-io) | |
… | |||
816 | 827 | (let ((base (gradle-subproject | |
817 | 828 | "launcher" | |
818 | 829 | '("gradle-base-services" "gradle-core-api" "gradle-core" "gradle-tooling-api") | |
819 | - | '("java-asm-6" "java-commons-io" "java-slf4j-api")))) | |
830 | + | '("java-asm-7" "java-commons-io" "java-commons-lang" "java-slf4j-api")))) | |
820 | 831 | (package | |
821 | 832 | (inherit base) | |
822 | 833 | (inputs | |
… | |||
833 | 844 | ("gradle-process-services" ,gradle-process-services) | |
834 | 845 | ("gradle-tooling-api" ,gradle-tooling-api) | |
835 | 846 | ("groovy" ,groovy) | |
836 | - | ("java-asm-6" ,java-asm-6) | |
847 | + | ("java-asm-7" ,java-asm-7) | |
837 | 848 | ("java-commons-io" ,java-commons-io) | |
849 | + | ("java-commons-lang" ,java-commons-lang) | |
838 | 850 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
839 | 851 | ("java-jcip-annotations" ,java-jcip-annotations) | |
840 | 852 | ("java-jsr305" ,java-jsr305) | |
… | |||
971 | 983 | ;; plexus-cipher plexus-classworlds plexus-container-default | |
972 | 984 | ;; plexus-component-annotations plexus-interpolation plexus-utils | |
973 | 985 | ;; maven-settings maven-settings-builder xbean-reflect | |
974 | - | '("java-asm-6" "java-commons-lang" "java-commons-io" | |
986 | + | '("java-asm-7" "java-commons-lang" "java-commons-io" | |
975 | 987 | "java-apache-ivy" "java-slf4j-api" "java-gson" | |
976 | 988 | "java-jcip-annotations" "java-bouncycastle" | |
977 | 989 | "java-jsch")))) | |
… | |||
1005 | 1017 | ("gradle-version-control" ,gradle-version-control) | |
1006 | 1018 | ("groovy" ,groovy) | |
1007 | 1019 | ("java-apache-ivy" ,java-apache-ivy) | |
1008 | - | ("java-asm-6" ,java-asm-6) | |
1020 | + | ("java-asm-7" ,java-asm-7) | |
1009 | 1021 | ("java-bouncycastle" ,java-bouncycastle) | |
1010 | 1022 | ("java-commons-io" ,java-commons-io) | |
1011 | 1023 | ("java-commons-lang" ,java-commons-lang) | |
… | |||
1044 | 1056 | "testing-base" | |
1045 | 1057 | '("gradle-core" "gradle-reporting" "gradle-platform-base") | |
1046 | 1058 | '("java-kryo" "java-objenesis" "java-minlog" "java-reflectasm" | |
1047 | - | "java-asm-6")))) | |
1059 | + | "java-asm-7")))) | |
1048 | 1060 | (package | |
1049 | 1061 | (inherit base) | |
1050 | 1062 | (arguments | |
… | |||
1069 | 1081 | ("gradle-process-services" ,gradle-process-services) | |
1070 | 1082 | ("gradle-reporting" ,gradle-reporting) | |
1071 | 1083 | ("groovy" ,groovy) | |
1072 | - | ("java-asm-6" ,java-asm-6) | |
1084 | + | ("java-asm-7" ,java-asm-7) | |
1073 | 1085 | ("java-bouncycastle" ,java-bouncycastle) | |
1074 | 1086 | ("java-commons-io" ,java-commons-io) | |
1075 | 1087 | ("java-commons-lang" ,java-commons-lang) | |
… | |||
1128 | 1140 | ("gradle-platform-base" ,gradle-platform-base) | |
1129 | 1141 | ("gradle-process-services" ,gradle-process-services) | |
1130 | 1142 | ("groovy" ,groovy) | |
1131 | - | ("java-asm-6" ,java-asm-6) | |
1143 | + | ("java-asm-7" ,java-asm-7) | |
1132 | 1144 | ("java-commons-io" ,java-commons-io) | |
1133 | 1145 | ("java-commons-lang" ,java-commons-lang) | |
1134 | 1146 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
… | |||
1160 | 1172 | ("gradle-reporting" ,gradle-reporting) | |
1161 | 1173 | ("gradle-testing-base" ,gradle-testing-base) | |
1162 | 1174 | ("groovy" ,groovy) | |
1163 | - | ("java-asm-6" ,java-asm-6) | |
1175 | + | ("java-asm-7" ,java-asm-7) | |
1164 | 1176 | ("java-bsh" ,java-bsh) | |
1165 | 1177 | ("java-commons-io" ,java-commons-io) | |
1166 | 1178 | ("java-commons-lang" ,java-commons-lang) | |
… | |||
1199 | 1211 | ("java-javax-inject" ,java-javax-inject) | |
1200 | 1212 | ("java-jsr305" ,java-jsr305) | |
1201 | 1213 | ("java-native-platform" ,java-native-platform) | |
1202 | - | ("java-slf4j-api" ,java-slf4j-api))))) | |
1214 | + | ("java-slf4j-api" ,java-slf4j-api) | |
1215 | + | ("java-snakeyaml" ,java-snakeyaml))))) | |
1203 | 1216 | ||
1204 | 1217 | (define-public gradle-composite-builds | |
1205 | 1218 | (package | |
… | |||
1268 | 1281 | ("gradle-process-services" ,gradle-process-services) | |
1269 | 1282 | ("gradle-workers" ,gradle-workers) | |
1270 | 1283 | ("groovy" ,groovy) | |
1271 | - | ("java-asm-6" ,java-asm-6) | |
1284 | + | ("java-asm-7" ,java-asm-7) | |
1272 | 1285 | ("java-commons-lang" ,java-commons-lang) | |
1273 | 1286 | ("java-fastutil" ,java-fastutil) | |
1274 | 1287 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
… | |||
1296 | 1309 | ("gradle-process-services" ,gradle-process-services) | |
1297 | 1310 | ("gradle-workers" ,gradle-workers) | |
1298 | 1311 | ("groovy" ,groovy) | |
1299 | - | ("java-asm-6" ,java-asm-6) | |
1312 | + | ("java-asm-7" ,java-asm-7) | |
1300 | 1313 | ("java-guava-for-gradle" ,java-guava-for-gradle) | |
1301 | 1314 | ("java-javax-inject" ,java-javax-inject) | |
1302 | 1315 | ("java-jsr305" ,java-jsr305) | |
… | |||
1311 | 1324 | "gradle-platform-jvm" "gradle-language-jvm" | |
1312 | 1325 | "gradle-language-java" "gradle-language-groovy" | |
1313 | 1326 | "gradle-diagnostics" "gradle-testing-jvm") | |
1314 | - | '("groovy" "ant" "java-asm-6" "java-commons-io" | |
1327 | + | '("groovy" "ant" "java-asm-7" "java-commons-io" | |
1315 | 1328 | "java-commons-lang" "java-commons-cli" "java-slf4j-api"))) | |
1316 | 1329 | (inputs | |
1317 | 1330 | `(("gradle-base-services" ,gradle-base-services) | |
… | |||
1336 | 1349 | ("gradle-process-services" ,gradle-process-services) | |
1337 | 1350 | ("gradle-workers" ,gradle-workers) | |
1338 | 1351 | ("groovy" ,groovy) | |
1339 | - | ("java-asm-6" ,java-asm-6) | |
1352 | + | ("java-asm-7" ,java-asm-7) | |
1340 | 1353 | ("java-commons-cli" ,java-commons-cli) | |
1341 | 1354 | ("java-commons-io" ,java-commons-io) | |
1342 | 1355 | ("java-commons-lang" ,java-commons-lang) | |
… | |||
1625 | 1638 | org/objenesis | |
1626 | 1639 | ")))) | |
1627 | 1640 | (mkdir-p "build/jar") | |
1628 | - | (invoke "jar" "cf" "build/jar/gradle-runtime-api-info-" | |
1629 | - | (package-version base) ".jar" "-C" "build/classes" ".") | |
1641 | + | (invoke "jar" "cf" | |
1642 | + | (string-append | |
1643 | + | "build/jar/gradle-runtime-api-info-" | |
1644 | + | ,(package-version base) ".jar") | |
1645 | + | "-C" "build/classes" ".") | |
1630 | 1646 | #t))))))))) | |
1631 | 1647 | ||
1632 | 1648 | (define-public gradle-announce | |
… | |||
3332 | 3348 | "maven-wagon-file" | |
3333 | 3349 | "maven-wagon-http" | |
3334 | 3350 | "maven-wagon-http-shared")) | |
3335 | - | ;; java-asm-6 and java-jansi are already present in groovy. | |
3351 | + | ;; java-asm-7 and java-jansi are already present in groovy. | |
3336 | 3352 | (dependencies | |
3337 | 3353 | '("gradle-wrapper" | |
3338 | 3354 | "gradle-tooling-api" | |
… | |||
3474 | 3490 | ("gradle-announce" ,gradle-announce) | |
3475 | 3491 | ("groovy" ,groovy) | |
3476 | 3492 | ("icedtea-8" ,icedtea-8) | |
3477 | - | ("java-asm-6" ,java-asm-6) | |
3493 | + | ("java-asm-7" ,java-asm-7) | |
3478 | 3494 | ("java-apache-ivy" ,java-apache-ivy) | |
3479 | 3495 | ("java-bouncycastle" ,java-bouncycastle) | |
3480 | 3496 | ("java-bsh" ,java-bsh) |
more/packages/java.scm
1 | 1 | ;;; GNU Guix --- Functional package management for GNU | |
2 | - | ;;; Copyright ?? 2017 Julien Lepiller <julien@lepiller.eu> | |
2 | + | ;;; Copyright ?? 2017-2019 Julien Lepiller <julien@lepiller.eu> | |
3 | 3 | ;;; | |
4 | 4 | ;;; This file is part of GNU Guix. | |
5 | 5 | ;;; | |
… | |||
31 | 31 | #:use-module (guix build-system ant) | |
32 | 32 | #:use-module (guix build-system gnu) | |
33 | 33 | #:use-module (guix build-system trivial) | |
34 | + | #:use-module (gnu packages apr) | |
34 | 35 | #:use-module (gnu packages autotools) | |
35 | 36 | #:use-module (gnu packages base) | |
36 | 37 | #:use-module (gnu packages compression) | |
… | |||
46 | 47 | #:use-module (gnu packages maven) | |
47 | 48 | #:use-module (gnu packages perl) | |
48 | 49 | #:use-module (gnu packages protobuf) | |
50 | + | #:use-module (gnu packages tls) | |
49 | 51 | #:use-module (gnu packages version-control) | |
50 | 52 | #:use-module (gnu packages web) | |
51 | 53 | #:use-module (gnu packages xml) | |
52 | 54 | #:use-module (gnu packages xorg) | |
53 | 55 | #:use-module (more packages maven) | |
54 | - | #:use-module (more packages python)) | |
56 | + | #:use-module (more packages python) | |
57 | + | #:use-module (more packages tls) | |
58 | + | #:use-module (more packages web)) | |
55 | 59 | ||
56 | 60 | (define-public java-httpcomponents-httpasyncclient | |
57 | 61 | (package | |
… | |||
95 | 99 | (define-public java-fastutil | |
96 | 100 | (package | |
97 | 101 | (name "java-fastutil") | |
98 | - | (version "8.2.1") | |
102 | + | (version "8.2.2") | |
99 | 103 | (source (origin | |
100 | 104 | (method url-fetch) | |
101 | 105 | (uri (string-append "http://fastutil.di.unimi.it/fastutil-" | |
102 | 106 | version "-src.tar.gz")) | |
103 | 107 | (sha256 | |
104 | 108 | (base32 | |
105 | - | "039gh3b9a72dvc9jmijfhshd2i7bnj18p2yi67200qfrnw17wbkj")))) | |
109 | + | "005d310p97qb2s74icl9avr7b6yqwn0wlbbyb5byzxf3189y3yh8")))) | |
106 | 110 | (build-system ant-build-system) | |
107 | 111 | (arguments | |
108 | - | `(#:jdk ,icedtea-8 | |
109 | - | #:tests? #f; no tests | |
112 | + | `(#:tests? #f; no tests | |
110 | 113 | #:phases | |
111 | 114 | (modify-phases %standard-phases | |
112 | 115 | (add-before 'build 'generate-sources | |
… | |||
140 | 143 | (build-system ant-build-system) | |
141 | 144 | (arguments | |
142 | 145 | `(#:jar-name "http-builder-ng.jar" | |
143 | - | #:jdk ,icedtea-8 | |
144 | 146 | #:source-dir "http-builder-ng-core/src/main/java" | |
145 | 147 | #:test-dir "http-builder-ng-core/src/test" | |
146 | 148 | #:tests? #f)); TODO: com.stehno.ersatz | |
… | |||
178 | 180 | (build-system ant-build-system) | |
179 | 181 | (arguments | |
180 | 182 | `(#:jar-name "commons-text.jar" | |
181 | - | #:jdk ,icedtea-8 | |
182 | 183 | #:source-dir "src/main/java")) | |
183 | 184 | (inputs | |
184 | 185 | `(("java-commons-lang3" ,java-commons-lang3))) | |
… | |||
212 | 213 | (build-system ant-build-system) | |
213 | 214 | (arguments | |
214 | 215 | `(#:jar-name "opencsv.jar" | |
215 | - | #:jdk ,icedtea-8 | |
216 | 216 | #:source-dir "src/main/java" | |
217 | 217 | #:phases | |
218 | 218 | (modify-phases %standard-phases | |
… | |||
312 | 312 | `(for-each delete-file (find-files "." ".*.jar"))))) | |
313 | 313 | (build-system ant-build-system) | |
314 | 314 | (arguments | |
315 | - | `(#:jdk ,icedtea-8 | |
316 | - | #:tests? #f; No tests | |
315 | + | `(#:tests? #f; No tests | |
317 | 316 | #:phases | |
318 | 317 | (modify-phases %standard-phases | |
319 | 318 | (add-before 'build 'fix-classpath | |
… | |||
355 | 354 | `(delete-file (string-append "jcifs-" ,version ".jar"))))) | |
356 | 355 | (build-system ant-build-system) | |
357 | 356 | (arguments | |
358 | - | `(#:jdk ,icedtea-8 | |
359 | - | #:tests? #f; No tests | |
357 | + | `(#:tests? #f; No tests | |
360 | 358 | #:phases | |
361 | 359 | (modify-phases %standard-phases | |
362 | 360 | (add-before 'build 'fix-compiler | |
… | |||
391 | 389 | `(#:jar-name "airline.jar" | |
392 | 390 | #:source-dir "src/main/java" | |
393 | 391 | #:test-dir "src/test" | |
394 | - | #:jdk ,icedtea-8 | |
395 | 392 | #:phases | |
396 | 393 | (modify-phases %standard-phases | |
397 | 394 | (replace 'check | |
… | |||
435 | 432 | #:source-dir "japicmp/src/main/java" | |
436 | 433 | #:test-dir "japicmp/src/test" | |
437 | 434 | #:tests? #f; require org.junit.contrib | |
438 | - | #:jdk ,icedtea-8 | |
439 | 435 | #:phases | |
440 | 436 | (modify-phases %standard-phases | |
441 | 437 | (add-before 'build 'copy-resources | |
… | |||
467 | 463 | (build-system ant-build-system) | |
468 | 464 | (arguments | |
469 | 465 | `(#:jar-name "jatl.jar" | |
470 | - | #:source-dir "src/main/java" | |
471 | - | #:jdk ,icedtea-8)) | |
466 | + | #:source-dir "src/main/java")) | |
472 | 467 | (native-inputs | |
473 | 468 | `(("java-junit" ,java-junit) | |
474 | 469 | ("java-hamcrest-core" ,java-hamcrest-core))) | |
… | |||
748 | 743 | (build-system ant-build-system) | |
749 | 744 | (arguments | |
750 | 745 | `(#:jar-name "kryo.jar" | |
751 | - | #:jdk ,icedtea-8 | |
752 | 746 | #:tests? #f)); No tests | |
753 | 747 | (inputs | |
754 | 748 | `(("java-minlog" ,java-minlog) | |
… | |||
976 | 970 | (arguments | |
977 | 971 | `(#:jar-name "spotbugs.jar" | |
978 | 972 | #:source-dir "spotbugs-annotations/src/main/java" | |
979 | - | #:tests? #f | |
980 | - | #:jdk ,icedtea-8)) | |
973 | + | #:tests? #f)) | |
981 | 974 | (inputs | |
982 | 975 | `(("java-jsr305" ,java-jsr305))) | |
983 | 976 | (home-page "https://spotbugs.github.io/") | |
… | |||
994 | 987 | #:source-dir "spotbugs/src/main/java:spotbugs-annotations/src/main/java:spotbugs/src/gui" | |
995 | 988 | #:test-dir "spotbugs/src/test" | |
996 | 989 | #:tests? #f; depend on jdepend | |
997 | - | #:jdk ,icedtea-8 | |
998 | 990 | #:phases | |
999 | 991 | (modify-phases %standard-phases | |
1000 | 992 | (add-before 'build 'remove-osx | |
… | |||
1034 | 1026 | `(#:jar-name "spi.jar" | |
1035 | 1027 | #:source-dir "org.mangosdk.spi/src/main/java" | |
1036 | 1028 | #:test-dir "org.mangosdk.spi/src/test" | |
1037 | - | #:tests? #f;; FIXME: tests don't build | |
1038 | - | #:jdk ,icedtea-8)) | |
1029 | + | #:tests? #f));; FIXME: tests don't build | |
1039 | 1030 | (native-inputs | |
1040 | 1031 | `(("java-junit" ,java-junit))) | |
1041 | 1032 | (home-page "https://github.com/rspilker/spi") | |
… | |||
1078 | 1069 | (arguments | |
1079 | 1070 | `(#:jar-name "lombok-utils.jar" | |
1080 | 1071 | #:source-dir "src/utils" | |
1081 | - | #:jdk ,icedtea-8 | |
1082 | 1072 | #:tests? #f; No specific test | |
1083 | 1073 | #:phases | |
1084 | 1074 | (modify-phases %standard-phases | |
… | |||
1244 | 1234 | (description "") | |
1245 | 1235 | (license license:asl2.0))) | |
1246 | 1236 | ||
1247 | - | (define-public java-intellij-annotation | |
1237 | + | (define-public java-jetbrains-annotations | |
1248 | 1238 | (package | |
1249 | - | (name "java-intellij-annotation") | |
1250 | - | (version "181-1945") | |
1239 | + | (name "java-jetbrains-annotations") | |
1240 | + | (version "16.0.3") | |
1251 | 1241 | (source (origin | |
1252 | - | (method url-fetch) | |
1253 | - | (uri (string-append "https://github.com/JetBrains/intellij-community/" | |
1254 | - | "archive/idea/" version ".tar.gz")) | |
1255 | - | (file-name (string-append name "-" version ".tar.gz")) | |
1242 | + | (method git-fetch) | |
1243 | + | (uri (git-reference | |
1244 | + | (url "https://github.com/JetBrains/java-annotations/") | |
1245 | + | (commit version))) | |
1246 | + | (file-name (git-file-name name version)) | |
1256 | 1247 | (sha256 | |
1257 | 1248 | (base32 | |
1258 | - | "1mvixizk75pvhaibdy8lriy5prasg0pap80vak6vfj67kw8lmksk")))) | |
1249 | + | "10gz3l6lgjq35q4vqgcxvy84n7vjyqw1qxzaklcmprminqi4g9s4")))) | |
1259 | 1250 | (build-system ant-build-system) | |
1260 | 1251 | (arguments | |
1261 | - | `(#:jar-name "java-intellij-annotation.jar" | |
1262 | - | #:source-dir "platform/annotations/src" | |
1252 | + | `(#:jar-name "java-annotations.jar" | |
1253 | + | #:source-dir "java8/src/main/java:common/src/main/java" | |
1263 | 1254 | #:tests? #f)); no tests | |
1264 | 1255 | (home-page "http://jetbrains.org") | |
1265 | 1256 | (synopsis "") | |
… | |||
1269 | 1260 | (define-public java-spockframework-core | |
1270 | 1261 | (package | |
1271 | 1262 | (name "java-spockframework-core") | |
1272 | - | (version "1.1") | |
1263 | + | (version "1.2") | |
1273 | 1264 | (source (origin | |
1274 | 1265 | (method url-fetch) | |
1275 | 1266 | (uri (string-append "https://github.com/spockframework/spock/" | |
1276 | 1267 | "archive/spock-" version ".tar.gz")) | |
1277 | 1268 | (sha256 | |
1278 | 1269 | (base32 | |
1279 | - | "1b2bybldlnid41irkavd09bkkzfjyvc2d33grpn2vgaiyw9gzz8z")))) | |
1270 | + | "1nps60666y7d8gmy5bvp18cf1a5jy33kwj8fqhazrdikzphmmp0q")))) | |
1280 | 1271 | (build-system ant-build-system) | |
1281 | 1272 | (arguments | |
1282 | 1273 | `(#:jar-name "spock-core.jar" | |
1283 | 1274 | #:source-dir "spock-core/src/main/java" | |
1284 | - | #:jdk ,icedtea-8 | |
1285 | 1275 | #:tests? #f)); No tests | |
1286 | 1276 | (inputs | |
1287 | 1277 | `(("groovy" ,groovy) | |
1288 | 1278 | ("java-asm" ,java-asm) | |
1289 | 1279 | ("java-cglib" ,java-cglib) | |
1290 | 1280 | ("java-hamcrest-core" ,java-hamcrest-core) | |
1291 | - | ("java-intellij-annotation" ,java-intellij-annotation) | |
1281 | + | ("java-jetbrains-annotations" ,java-jetbrains-annotations) | |
1292 | 1282 | ("java-junit" ,java-junit) | |
1293 | 1283 | ("java-objenesis" ,java-objenesis) | |
1294 | - | ("java-byte-buddy-dep" ,java-byte-buddy-dep) | |
1295 | - | ,@(package-inputs groovy))) | |
1284 | + | ("java-byte-buddy-dep" ,java-byte-buddy-dep))) | |
1296 | 1285 | (home-page "http://spockframework.org/") | |
1297 | 1286 | (synopsis "") | |
1298 | 1287 | (description "") | |
… | |||
1337 | 1326 | `(#:jar-name "java-openjfx.jar" | |
1338 | 1327 | #:source-dir "buildSrc/src/main/java" | |
1339 | 1328 | #:test-dir "buildSrc/src/test" | |
1340 | - | #:jdk ,icedtea-8 | |
1341 | 1329 | #:phases | |
1342 | 1330 | (modify-phases %standard-phases | |
1343 | 1331 | (add-before 'configure 'generate-jsl-parser | |
… | |||
1362 | 1350 | `(#:jar-name "java-openjfx-base.jar" | |
1363 | 1351 | #:source-dir "modules/base/src/main/java:modules/base/src/main/java8:modules/base/src/main/version-info" | |
1364 | 1352 | #:test-dir "modules/base/src/test" | |
1365 | - | #:jdk ,icedtea-8 | |
1366 | 1353 | #:phases | |
1367 | 1354 | (modify-phases %standard-phases | |
1368 | 1355 | (add-before 'check 'remove-empty-file | |
… | |||
1385 | 1372 | `(#:jar-name "java-openjfx-graphics.jar" | |
1386 | 1373 | #:source-dir "modules/graphics/src/main/java" | |
1387 | 1374 | #:tests? #f; require X? | |
1388 | - | #:test-dir "modules/graphics/src/test" | |
1389 | - | #:jdk ,icedtea-8)) | |
1375 | + | #:test-dir "modules/graphics/src/test")) | |
1390 | 1376 | (inputs | |
1391 | 1377 | `(("java-openjfx" ,java-openjfx) | |
1392 | 1378 | ("java-openjfx-base" ,java-openjfx-base) | |
… | |||
1402 | 1388 | (arguments | |
1403 | 1389 | `(#:jar-name "java-openjfx-media.jar" | |
1404 | 1390 | #:source-dir "modules/media/src/main/java" | |
1405 | - | #:tests? #f; no tests | |
1406 | - | #:jdk ,icedtea-8)))) | |
1391 | + | #:tests? #f)))); no tests | |
1407 | 1392 | ||
1408 | 1393 | (define-public java-brotli-dec | |
1409 | 1394 | (package | |
… | |||
1432 | 1417 | methods. It is similar in speed with deflate but offers more dense compression.") | |
1433 | 1418 | (license license:expat))) | |
1434 | 1419 | ||
1420 | + | (define-public java-ning-compress | |
1421 | + | (package | |
1422 | + | (name "java-ning-compress") | |
1423 | + | (version "1.0.4") | |
1424 | + | (source (origin | |
1425 | + | (method git-fetch) | |
1426 | + | (uri (git-reference | |
1427 | + | (url "https://github.com/ning/compress.git") | |
1428 | + | (commit (string-append "compress-lzf-" version)))) | |
1429 | + | (file-name (git-file-name name version)) | |
1430 | + | (sha256 | |
1431 | + | (base32 | |
1432 | + | "1scyws9rs268zvi3p6jvq9yc061zrn49ppp7v91y52si8b1xpbg8")))) | |
1433 | + | (build-system ant-build-system) | |
1434 | + | (arguments | |
1435 | + | `(#:jar-name "ning-compress.jar" | |
1436 | + | #:source-dir "src/main/java" | |
1437 | + | #:tests? #f; require testng, not junit | |
1438 | + | #:phases | |
1439 | + | (modify-phases %standard-phases | |
1440 | + | (add-before 'check 'fix-tests | |
1441 | + | (lambda _ | |
1442 | + | (substitute* "src/test/lzf/TestLZF.java" | |
1443 | + | (("package lzf;") "package lzf; | |
1444 | + | ||
1445 | + | import com.ning.compress.lzf.*; | |
1446 | + | import org.junit.Assert.*;")) | |
1447 | + | #t))))) | |
1448 | + | (native-inputs | |
1449 | + | `(("java-junit" ,java-junit) | |
1450 | + | ("java-testng" ,java-testng))) | |
1451 | + | (home-page "") | |
1452 | + | (synopsis "") | |
1453 | + | (description "") | |
1454 | + | (license license:asl2.0))) | |
1455 | + | ||
1456 | + | (define-public java-lzma-sdk | |
1457 | + | (package | |
1458 | + | (name "java-lzma-sdk") | |
1459 | + | (version "18.06") | |
1460 | + | (source (origin | |
1461 | + | (method url-fetch) | |
1462 | + | (uri "https://www.7-zip.org/a/lzma1806.7z") | |
1463 | + | (sha256 | |
1464 | + | (base32 | |
1465 | + | "0mcs90vjmp8wjqxvrjq0bl2d70njg8md1vy3zr9dd22vwfpzgy01")))) | |
1466 | + | (build-system ant-build-system) | |
1467 | + | (arguments | |
1468 | + | `(#:source-dir "Java" | |
1469 | + | #:jar-name "lzma.jar" | |
1470 | + | #:tests? #f | |
1471 | + | #:phases | |
1472 | + | (modify-phases %standard-phases | |
1473 | + | (replace 'unpack | |
1474 | + | (lambda* (#:key source #:allow-other-keys) | |
1475 | + | (invoke "7z" "x" source) | |
1476 | + | #t))))) | |
1477 | + | (native-inputs | |
1478 | + | `(("p7zip" ,p7zip))) | |
1479 | + | (home-page "") | |
1480 | + | (synopsis "") | |
1481 | + | (description "") | |
1482 | + | (license license:public-domain))) | |
1483 | + | ||
1484 | + | (define-public java-lzma | |
1485 | + | (package | |
1486 | + | (name "java-lzma") | |
1487 | + | (version "1.3") | |
1488 | + | (source (origin | |
1489 | + | (method git-fetch) | |
1490 | + | (uri (git-reference | |
1491 | + | (url "https://github.com/jponge/lzma-java.git") | |
1492 | + | (commit (string-append "lzma-java-" version)))) | |
1493 | + | (file-name (git-file-name name version)) | |
1494 | + | (sha256 | |
1495 | + | (base32 | |
1496 | + | "1cmgd95avjq1fsr1bx91cjcvz6ifwgq1iwyzvwvnr6s1w0r8m6hx")))) | |
1497 | + | (build-system ant-build-system) | |
1498 | + | (arguments | |
1499 | + | `(#:jar-name "lzma.jar" | |
1500 | + | #:source-dir "src/main/java" | |
1501 | + | #:phases | |
1502 | + | (modify-phases %standard-phases | |
1503 | + | (add-before 'check 'copy-resources | |
1504 | + | (lambda _ | |
1505 | + | (mkdir-p "target/test-classes") | |
1506 | + | (copy-recursively "src/test/resources" "target/test-classes") | |
1507 | + | #t))))) | |
1508 | + | (native-inputs | |
1509 | + | `(("java-commons-io" ,java-commons-io) | |
1510 | + | ("java-junit" ,java-junit))) | |
1511 | + | (home-page "") | |
1512 | + | (synopsis "") | |
1513 | + | (description "") | |
1514 | + | (license license:asl2.0))) | |
1515 | + | ||
1435 | 1516 | (define-public java-commons-compress-latest | |
1436 | 1517 | (package | |
1437 | 1518 | (inherit java-commons-compress) | |
… | |||
1463 | 1544 | `(("unzip" ,unzip))) | |
1464 | 1545 | (arguments | |
1465 | 1546 | `(#:build-target "pack" | |
1466 | - | #:jdk ,icedtea-8 | |
1467 | 1547 | #:tests? #f; No tests | |
1468 | 1548 | #:phases | |
1469 | 1549 | (modify-phases %standard-phases | |
… | |||
1548 | 1628 | ("java-zstd" ,java-zstd))) | |
1549 | 1629 | (arguments | |
1550 | 1630 | `(#:tests? #f | |
1551 | - | #:jdk ,icedtea-8 | |
1552 | 1631 | #:jar-name "josm.jar" | |
1553 | 1632 | #:phases | |
1554 | 1633 | (modify-phases %standard-phases | |
… | |||
1691 | 1770 | (build-system ant-build-system) | |
1692 | 1771 | (arguments | |
1693 | 1772 | `(#:jar-name "java-jboss-annotations-api_spec.jar" | |
1694 | - | #:jdk ,icedtea-8 | |
1695 | 1773 | #:source-dir "." | |
1696 | 1774 | #:tests? #f)); no tests | |
1697 | 1775 | (home-page "https://github.com/jboss/jboss-annotations-api_spec") | |
… | |||
1714 | 1792 | (build-system ant-build-system) | |
1715 | 1793 | (arguments | |
1716 | 1794 | `(#:jar-name "java-jboss-transaction-api_spec.jar" | |
1717 | - | #:jdk ,icedtea-8 | |
1718 | 1795 | #:source-dir "src/main/java" | |
1719 | 1796 | #:tests? #f)); no tests | |
1720 | 1797 | (inputs | |
… | |||
1741 | 1818 | (arguments | |
1742 | 1819 | `(#:jar-name "java-aspectj-weaver.jar" | |
1743 | 1820 | #:source-dir "." | |
1744 | - | #:jdk ,icedtea-8 | |
1745 | 1821 | #:tests? #f; no tests | |
1746 | 1822 | #:phases | |
1747 | 1823 | (modify-phases %standard-phases | |
… | |||
1781 | 1857 | (arguments | |
1782 | 1858 | `(#:jar-name "java-aspectj-rt.jar" | |
1783 | 1859 | #:source-dir "." | |
1784 | - | #:jdk ,icedtea-8 | |
1785 | 1860 | #:tests? #f; no tests | |
1786 | 1861 | #:phases | |
1787 | 1862 | (modify-phases %standard-phases | |
… | |||
1802 | 1877 | ; (arguments | |
1803 | 1878 | ; `(#:jar-name "java-aspectj-tools.jar" | |
1804 | 1879 | ; #:source-dir "." | |
1805 | - | ; #:jdk ,icedtea-8 | |
1806 | 1880 | ; #:tests? #f; no tests | |
1807 | 1881 | ; #:phases | |
1808 | 1882 | ; (modify-phases %standard-phases | |
… | |||
2001 | 2075 | #:source-dir "src/main/java" | |
2002 | 2076 | #:test-dir "src/test" | |
2003 | 2077 | #:tests? #f; TODO: require spring-framework-test. | |
2004 | - | #:jdk ,icedtea-8 | |
2005 | 2078 | ;#:test-target "test" | |
2006 | 2079 | #:phases | |
2007 | 2080 | (modify-phases %standard-phases | |
… | |||
2298 | 2371 | "**/JmxUtilsTest.java" | |
2299 | 2372 | ;; Missing hsqldb as a dependency | |
2300 | 2373 | "**/MonProxyTest.java") | |
2301 | - | #:jdk ,icedtea-8 | |
2302 | 2374 | #:phases | |
2303 | 2375 | (modify-phases %standard-phases | |
2304 | 2376 | (add-before 'build 'remove-cyclic-dependency | |
… | |||
2314 | 2386 | ("java-eclipse-jetty-server" ,java-eclipse-jetty-server) | |
2315 | 2387 | ("java-eclipse-jetty-util" ,java-eclipse-jetty-util) | |
2316 | 2388 | ("java-hazelcast-bootstrap" ,java-hazelcast-bootstrap) | |
2317 | - | ;("java-javaee-servletapi" ,java-javaee-servletapi) | |
2318 | 2389 | ("java-tomcat" ,java-tomcat) ; for catalina and servletapi | |
2319 | 2390 | ("java-log4j-api" ,java-log4j-api) | |
2320 | 2391 | ("java-log4j-1.2" ,java-log4j-1.2))) | |
… | |||
2891 | 2962 | (description "") | |
2892 | 2963 | (license license:lgpl2.1+))) | |
2893 | 2964 | ||
2965 | + | (define-public java-jboss-marshalling | |
2966 | + | (package | |
2967 | + | (name "java-jboss-marshalling") | |
2968 | + | (version "2.0.6") | |
2969 | + | (source (origin | |
2970 | + | (method git-fetch) | |
2971 | + | (uri (git-reference | |
2972 | + | (url "https://github.com/jboss-remoting/jboss-marshalling") | |
2973 | + | (commit (string-append version ".Final")))) | |
2974 | + | (file-name (git-file-name name version)) | |
2975 | + | (sha256 | |
2976 | + | (base32 | |
2977 | + | "1afcfk0wgcggyzc4c47kfmxskbpkqvi65vr0g3gl6rikqm010knc")))) | |
2978 | + | (build-system ant-build-system) | |
2979 | + | (arguments | |
2980 | + | `(#:jar-name "jboss-marshalling.jar" | |
2981 | + | #:source-dir "api/src/main/java" | |
2982 | + | #:test-dir "api/src/test")) | |
2983 | + | (inputs | |
2984 | + | `(("java-jboss-modules" ,java-jboss-modules))) | |
2985 | + | (native-inputs | |
2986 | + | `(("java-testng" ,java-testng))) | |
2987 | + | (home-page "") | |
2988 | + | (synopsis "") | |
2989 | + | (description "") | |
2990 | + | (license license:lgpl2.1+))) | |
2991 | + | ||
2894 | 2992 | (define-public java-hibernate-validator-engine | |
2895 | 2993 | (package | |
2896 | 2994 | (name "java-hibernate-validator-engine") | |
… | |||
2992 | 3090 | (patches (search-patches "java-spring-framework-remove-non-free.patch")))) | |
2993 | 3091 | (arguments | |
2994 | 3092 | `(#:jar-name "java-spring-framework-core.jar" | |
2995 | - | #:jdk ,icedtea-8 | |
2996 | 3093 | #:source-dir "src/main/java" | |
2997 | 3094 | #:test-dir "src/test" | |
2998 | 3095 | #:test-include (list "**/*Tests.java") | |
… | |||
3089 | 3186 | (name "java-spring-framework-beans") | |
3090 | 3187 | (arguments | |
3091 | 3188 | `(#:jar-name "java-spring-framework-beans.jar" | |
3092 | - | #:jdk ,icedtea-8 | |
3093 | 3189 | #:source-dir "src/main/java" | |
3094 | 3190 | #:test-dir "src/test" | |
3095 | 3191 | #:phases | |
… | |||
3147 | 3243 | (name "java-spring-framework-beans-groovy") | |
3148 | 3244 | (arguments | |
3149 | 3245 | `(#:jar-name "java-spring-framework-beans-groovy.jar" | |
3150 | - | #:jdk ,icedtea-8 | |
3151 | 3246 | #:source-dir "src/main/java" | |
3152 | 3247 | #:tests? #f; no tests | |
3153 | 3248 | #:phases | |
… | |||
3187 | 3282 | (name "java-spring-framework-aop") | |
3188 | 3283 | (arguments | |
3189 | 3284 | `(#:jar-name "java-spring-framework-aop.jar" | |
3190 | - | #:jdk ,icedtea-8 | |
3191 | 3285 | #:source-dir "src/main/java" | |
3192 | 3286 | #:test-dir "src/test" | |
3193 | 3287 | #:test-exclude | |
… | |||
3290 | 3384 | (name "java-spring-framework-instrument") | |
3291 | 3385 | (arguments | |
3292 | 3386 | `(#:jar-name "java-spring-framework-instrument.jar" | |
3293 | - | #:jdk ,icedtea-8 | |
3294 | 3387 | #:source-dir "src/main/java" | |
3295 | 3388 | #:test-dir "src/test" | |
3296 | 3389 | #:phases | |
… | |||
3318 | 3411 | (name "java-spring-framework-test") | |
3319 | 3412 | (arguments | |
3320 | 3413 | `(#:jar-name "java-spring-framework-test.jar" | |
3321 | - | #:jdk ,icedtea-8 | |
3322 | 3414 | #:source-dir "src/main/java" | |
3323 | 3415 | #:test-dir "src/test" | |
3324 | 3416 | #:phases | |
… | |||
3348 | 3440 | (name "java-spring-framework-context") | |
3349 | 3441 | (arguments | |
3350 | 3442 | `(#:jar-name "java-spring-framework-context.jar" | |
3351 | - | #:jdk ,icedtea-8 | |
3352 | 3443 | #:source-dir "src/main/java" | |
3353 | 3444 | #:test-dir "src/test" | |
3354 | 3445 | #:tests? #f; TODO: require spring-framework-test | |
… | |||
3423 | 3514 | (name "java-spring-framework-web") | |
3424 | 3515 | (arguments | |
3425 | 3516 | `(#:jar-name "java-spring-framework-web.jar" | |
3426 | - | #:jdk ,icedtea-8 | |
3427 | 3517 | #:source-dir "src/main/java" | |
3428 | 3518 | #:test-dir "src/test" | |
3429 | 3519 | #:phases | |
… | |||
3450 | 3540 | (copy-recursively "src/test/resources" "build/test-classes") | |
3451 | 3541 | #t))))) | |
3452 | 3542 | (inputs | |
3453 | - | `(("java-nethandlerr" ,java-netty-handler) | |
3454 | - | ("java-netty-transport" ,java-netty-transport) | |
3455 | - | ("java-spring-framework-beans" ,java-spring-framework-beans) | |
3456 | - | ("java-spring-framework-core" ,java-spring-framework-core) | |
3543 | + | `(("java-aopalliance" ,java-aopalliance) | |
3544 | + | ("java-classpathx-servletapi" ,java-classpathx-servletapi) | |
3545 | + | ("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
3546 | + | ("java-fasterxml-jackson-annotations" ,java-fasterxml-jackson-annotations) | |
3547 | + | ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core) | |
3548 | + | ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind) | |
3549 | + | ("java-fasterxml-jackson-dataformat-xml" ,java-fasterxml-jackson-dataformat-xml) | |
3550 | + | ("java-gson" ,java-gson) | |
3457 | 3551 | ("java-httpcomponents-httpasyncclient" ,java-httpcomponents-httpasyncclient) | |
3458 | 3552 | ("java-httpcomponents-httpclient" ,java-httpcomponents-httpclient) | |
3459 | 3553 | ("java-httpcomponents-httpcore" ,java-httpcomponents-httpcore) | |
3460 | - | ("java-httpcomponents-httpcore-nio" ,java-httpcomponents-httpcore-nio))) | |
3554 | + | ("java-httpcomponents-httpcore-nio" ,java-httpcomponents-httpcore-nio) | |
3555 | + | ("java-javax-mail" ,java-javax-mail) | |
3556 | + | ("java-netty-buffer" ,java-netty-buffer) | |
3557 | + | ("java-netty-codec" ,java-netty-codec) | |
3558 | + | ("java-netty-handler" ,java-netty-handler) | |
3559 | + | ("java-netty-transport" ,java-netty-transport) | |
3560 | + | ("java-okhttp" ,java-okhttp) | |
3561 | + | ("java-protobuf" ,java-protobuf) | |
3562 | + | ("java-spring-framework-aop" ,java-spring-framework-aop) | |
3563 | + | ("java-spring-framework-beans" ,java-spring-framework-beans) | |
3564 | + | ("java-spring-framework-context" ,java-spring-framework-context) | |
3565 | + | ("java-spring-framework-core" ,java-spring-framework-core))) | |
3461 | 3566 | (description ""))) | |
3462 | 3567 | ||
3463 | 3568 | (define-public java-spring-framework-expression | |
… | |||
3466 | 3571 | (name "java-spring-framework-expression") | |
3467 | 3572 | (arguments | |
3468 | 3573 | `(#:jar-name "java-spring-framework-expression.jar" | |
3469 | - | #:jdk ,icedtea-8 | |
3470 | 3574 | #:source-dir "src/main/java" | |
3471 | 3575 | #:test-dir "src/test" | |
3472 | 3576 | #:phases | |
… | |||
3519 | 3623 | "105z3y931hxygczl602d8vqypbs28h1jfzihdq7zlvcfw0a5b5if")))) | |
3520 | 3624 | (arguments | |
3521 | 3625 | `(#:jar-name "lucene-core.jar" | |
3522 | - | #:jdk ,icedtea-8 | |
3523 | 3626 | #:source-dir "core/src/java" | |
3524 | 3627 | #:test-dir "core/src/test" | |
3525 | 3628 | #:tests? #f)); FIXME: circular dependencies | |
… | |||
3537 | 3640 | (name "java-lucene-queries") | |
3538 | 3641 | (arguments | |
3539 | 3642 | `(#:jar-name "lucene-queries.jar" | |
3540 | - | #:jdk ,icedtea-8 | |
3541 | 3643 | #:source-dir "queries/src/java" | |
3542 | 3644 | #:test-dir "queries/src/test" | |
3543 | 3645 | #:tests? #f));; FIXME: not in java subdirectory | |
… | |||
3550 | 3652 | (name "java-lucene-sandbox") | |
3551 | 3653 | (arguments | |
3552 | 3654 | `(#:jar-name "lucene-sandbox.jar" | |
3553 | - | #:jdk ,icedtea-8 | |
3554 | 3655 | #:source-dir "sandbox/src/java" | |
3555 | 3656 | #:test-dir "sandbox/src/test" | |
3556 | 3657 | #:tests? #f));; FIXME: not in java subdirectory | |
… | |||
3564 | 3665 | (name "java-lucene-queryparser") | |
3565 | 3666 | (arguments | |
3566 | 3667 | `(#:jar-name "lucene-queryparser.jar" | |
3567 | - | #:jdk ,icedtea-8 | |
3568 | 3668 | #:source-dir "queryparser/src/java" | |
3569 | 3669 | #:test-dir "queryparser/src/test" | |
3570 | 3670 | #:tests? #f));; FIXME: not in java subdirectory | |
… | |||
3612 | 3712 | (arguments | |
3613 | 3713 | `(#:jar-name "h2.jar" | |
3614 | 3714 | #:source-dir "h2/src/main" | |
3615 | - | #:jdk ,icedtea-8 | |
3616 | 3715 | #:tests? #f; no tess | |
3617 | 3716 | #:phases | |
3618 | 3717 | (modify-phases %standard-phases | |
… | |||
3794 | 3893 | `(#:tests? #f ; tests require unpackaged and outdated software | |
3795 | 3894 | #:test-dir "src/test" | |
3796 | 3895 | #:source-dir "src/main/java" | |
3797 | - | #:jar-name "log4j-1.2.jar" | |
3798 | - | #:jdk ,icedtea-8)))) | |
3896 | + | #:jar-name "log4j-1.2.jar")))) | |
3799 | 3897 | ||
3800 | 3898 | (define-public java-avalon-logkit | |
3801 | 3899 | (package | |
… | |||
3812 | 3910 | (search-patches "java-avalon-logkit-default-datasource.patch")))) | |
3813 | 3911 | (build-system ant-build-system) | |
3814 | 3912 | (arguments | |
3815 | - | `(#:jdk ,icedtea-8 | |
3816 | - | #:test-target "test" | |
3913 | + | `(#:test-target "test" | |
3817 | 3914 | #:phases | |
3818 | 3915 | (modify-phases %standard-phases | |
3819 | 3916 | (replace 'install | |
… | |||
3984 | 4081 | (build-system ant-build-system) | |
3985 | 4082 | (arguments | |
3986 | 4083 | `(#:tests? #f; Tests are run as a dependency of "dist" | |
3987 | - | #:jdk ,icedtea-8 | |
3988 | 4084 | #:make-flags (list "-Dcompile.version=7") | |
3989 | 4085 | #:phases | |
3990 | 4086 | (modify-phases %standard-phases | |
… | |||
4020 | 4116 | (define-public java-apache-struts | |
4021 | 4117 | (package | |
4022 | 4118 | (name "java-apache-struts") | |
4023 | - | (version "2.5.16") | |
4119 | + | (version "2.5.20") | |
4024 | 4120 | (source (origin | |
4025 | 4121 | (method url-fetch) | |
4026 | 4122 | (uri (string-append "mirror://apache/struts/" version "/struts-" | |
4027 | 4123 | version "-src.zip")) | |
4028 | 4124 | (sha256 | |
4029 | 4125 | (base32 | |
4030 | - | "14by1nsz7ky7zdw7ikmki1w9xznnvbyrjj9lbplk7wxsyhqak270")))) | |
4126 | + | "14ds6qrxrjd7np8yizdmqd49jd94yy2gghpq9zlvl53w4bv48kwx")))) | |
4031 | 4127 | (build-system ant-build-system) | |
4032 | 4128 | (arguments | |
4033 | 4129 | `(#:jar-name "apache-struts.jar" | |
4034 | 4130 | #:source-dir "src/core/src/main/java" | |
4035 | 4131 | #:test-dir "src/core/src/test" | |
4036 | - | #:jdk ,icedtea-8)) | |
4132 | + | #:phases | |
4133 | + | (modify-phases %standard-phases | |
4134 | + | (add-before 'build 'copy-required-classes | |
4135 | + | (lambda* (#:key inputs #:allow-other-keys) | |
4136 | + | (let ((tools (assoc-ref inputs "java-velocity-tools")) | |
4137 | + | (velocity-dir "build/velocity") | |
4138 | + | (tools-dir (string-append "build/velocity/velocity-tool-" | |
4139 | + | ,(package-version java-velocity-tools) | |
4140 | + | "-src"))) | |
4141 | + | (mkdir-p velocity-dir) | |
4142 | + | (with-directory-excursion velocity-dir | |
4143 | + | (invoke "tar" "xf" tools)) | |
4144 | + | (with-directory-excursion tools-dir | |
4145 | + | (for-each | |
4146 | + | (lambda (file) | |
4147 | + | (install-file file (string-append "../../src/core/" file))) | |
4148 | + | (append (find-files "." "ServletToolboxManager.java"))))) | |
4149 | + | #t))))) | |
4037 | 4150 | (inputs | |
4038 | 4151 | `(("java-apache-freemarker" ,java-apache-freemarker) | |
4039 | 4152 | ("java-log4j-api" ,java-log4j-api) | |
4040 | - | ("java-commons-lang3" ,java-commons-lang3) | |
4153 | + | ("java-commons-fileupload" ,java-commons-fileupload) | |
4041 | 4154 | ("java-commons-io" ,java-commons-io) | |
4155 | + | ("java-commons-lang3" ,java-commons-lang3) | |
4042 | 4156 | ("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
4043 | 4157 | ("java-classpathx-servletapi" ,java-classpathx-servletapi) | |
4044 | 4158 | ("java-ognl" ,java-ognl) | |
4159 | + | ("java-slf4j-api" ,java-slf4j-api) | |
4045 | 4160 | ("java-spring-framework-beans" ,java-spring-framework-beans) | |
4046 | 4161 | ("java-spring-framework-context" ,java-spring-framework-context) | |
4047 | 4162 | ("java-spring-framework-core" ,java-spring-framework-core) | |
4048 | - | ("java-spring-framework-web" ,java-spring-framework-web) | |
4163 | + | ;("java-spring-framework-web" ,java-spring-framework-web) | |
4049 | 4164 | ("java-velocity" ,java-velocity) | |
4165 | + | ("java-velocity-tools" ,(package-source java-velocity-tools)) | |
4050 | 4166 | ("java-testng" ,java-testng))) | |
4051 | 4167 | (native-inputs | |
4052 | 4168 | `(("java-junit" ,java-junit) | |
… | |||
4071 | 4187 | (search-patches "java-velocity-dont-use-werken-xpath.patch")))) | |
4072 | 4188 | (build-system ant-build-system) | |
4073 | 4189 | (arguments | |
4074 | - | `(#:jdk ,icedtea-8 | |
4075 | - | #:test-target "test-main" | |
4190 | + | `(#:test-target "test-main" | |
4076 | 4191 | #:tests? #f; FIXME: need a fix to build.xml and hsqldb | |
4077 | 4192 | #:phases | |
4078 | 4193 | (modify-phases %standard-phases | |
… | |||
4128 | 4243 | `(#:jar-name "velocity.jar" | |
4129 | 4244 | #:tests? #f; FIXME: need a fix to build.xml and hsqldb | |
4130 | 4245 | #:source-dir "velocity-engine-core/src/main/java" | |
4131 | - | #:jdk ,icedtea-8 | |
4132 | 4246 | #:phases | |
4133 | 4247 | (modify-phases %standard-phases | |
4134 | 4248 | (add-before 'build 'copy-resources | |
… | |||
4178 | 4292 | "0d93v8nj95jfdgx7n72axaavdq2h800vxyi4vx35rdphndy1xg51")))) | |
4179 | 4293 | (build-system ant-build-system) | |
4180 | 4294 | (arguments | |
4181 | - | `(#:jdk ,icedtea-8 | |
4182 | - | #:test-target "test-main" | |
4295 | + | `(#:test-target "test-main" | |
4183 | 4296 | #:tests? #f; FIXME: need a fix to build.xml and hsqldb | |
4184 | 4297 | #:phases | |
4185 | 4298 | (modify-phases %standard-phases | |
… | |||
4193 | 4306 | (("commons.digester") "commons.digester3")) | |
4194 | 4307 | #t)) | |
4195 | 4308 | (replace 'install | |
4196 | - | (lambda* (#:key outputs #:allow-other-keys) | |
4197 | - | (let* ((out (assoc-ref outputs "out")) | |
4198 | - | (dir (string-append out "/share/java"))) | |
4199 | - | (mkdir-p dir) | |
4200 | - | (copy-file "../bin/velocity-tools-2.0.jar" | |
4201 | - | (string-append dir "/velocity-tools-2.0.jar"))) | |
4202 | - | #t))))) | |
4309 | + | (install-jars "../bin"))))) | |
4203 | 4310 | (inputs | |
4204 | - | `(("java-dom4j" ,java-dom4j) | |
4205 | - | ("java-velocity" ,java-velocity) | |
4206 | - | ("java-commons-digester" ,java-commons-digester) | |
4311 | + | ;`(("java-apache-struts" ,java-apache-struts))) | |
4312 | + | `(("java-commons-digester" ,java-commons-digester) | |
4207 | 4313 | ("java-commons-validator" ,java-commons-validator) | |
4208 | 4314 | ("java-commons-beanutils", java-commons-beanutils) | |
4209 | - | ("java-apache-struts" ,java-apache-struts))) | |
4210 | - | ;; apache struts | |
4315 | + | ("java-dom4j" ,java-dom4j) | |
4316 | + | ("java-velocity" ,java-velocity))) | |
4211 | 4317 | (home-page "https://velocity.apache.org/tools/devel") | |
4212 | 4318 | (synopsis "") | |
4213 | 4319 | (description "") | |
… | |||
4228 | 4334 | (build-system ant-build-system) | |
4229 | 4335 | (arguments | |
4230 | 4336 | `(#:jar-name "java-plexus-velocity-component.jar" | |
4231 | - | #:source-dir "src/main/java" | |
4232 | - | #:jdk ,icedtea-8)) | |
4337 | + | #:source-dir "src/main/java")) | |
4233 | 4338 | (inputs | |
4234 | 4339 | `(("java-commons-collections" ,java-commons-collections) | |
4235 | 4340 | ("java-geronimo-xbean-reflect" ,java-geronimo-xbean-reflect) | |
… | |||
4325 | 4430 | (arguments | |
4326 | 4431 | `(#:source-dir "src/main/java" | |
4327 | 4432 | #:jar-name "java-commons-dbcp.jar" | |
4328 | - | #:jdk ,icedtea-8 | |
4329 | 4433 | #:tests? #f));??requires apache-geronimo | |
4330 | 4434 | (inputs | |
4331 | 4435 | `(("java-commons-pool2" ,java-commons-pool2) | |
… | |||
4356 | 4460 | (arguments | |
4357 | 4461 | `(#:source-dir "src/java" | |
4358 | 4462 | #:jar-name "java-commons-dbcp.jar" | |
4359 | - | #:jdk ,icedtea-8 | |
4360 | 4463 | #:tests? #f)); FIXME: error in a test class | |
4361 | 4464 | (inputs | |
4362 | 4465 | `(("java-commons-pool" ,java-commons-pool) | |
4363 | 4466 | ("java-commons-logging" ,java-commons-logging-minimal) | |
4364 | 4467 | ("java-jboss-transaction-api-spec" ,java-jboss-transaction-api-spec))))) | |
4365 | 4468 | ||
4366 | - | ||
4367 | 4469 | (define-public java-commons-jcs | |
4368 | 4470 | (package | |
4369 | 4471 | (name "java-commons-jcs") | |
… | |||
4381 | 4483 | #:source-dir "commons-jcs-core/src/main/java" | |
4382 | 4484 | #:test-dir "commons-jcs-core/src/test" | |
4383 | 4485 | #:tests? #f; requires hsqldb | |
4384 | - | #:jdk ,icedtea-8 | |
4385 | 4486 | #:phases | |
4386 | 4487 | (modify-phases %standard-phases | |
4387 | 4488 | (add-before 'build 'prepare | |
… | |||
4403 | 4504 | (description "") | |
4404 | 4505 | (license license:asl2.0))) | |
4405 | 4506 | ||
4507 | + | (define-public java-portlet-api | |
4508 | + | (package | |
4509 | + | (name "java-portlet-api") | |
4510 | + | (version "3.0.1") | |
4511 | + | (source (origin | |
4512 | + | (method url-fetch) | |
4513 | + | (uri (string-append "mirror://apache/portals/pluto/" | |
4514 | + | "pluto-" version "-source-release.zip")) | |
4515 | + | (sha256 | |
4516 | + | (base32 | |
4517 | + | "0fl1xc1jgfvax2ccnygzfwgqrx60h40hzsv95gcmnp4n99im4pxh")))) | |
4518 | + | (build-system ant-build-system) | |
4519 | + | (arguments | |
4520 | + | `(#:jar-name "portlet-api.jar" | |
4521 | + | #:source-dir "portlet-api/src/main/java" | |
4522 | + | ;; no proper tests | |
4523 | + | #:tests? #f)) | |
4524 | + | (inputs | |
4525 | + | `(("java-cdi-api" ,java-cdi-api) | |
4526 | + | ("java-classpathx-servletapi" ,java-classpathx-servletapi) | |
4527 | + | ("java-javax-inject" ,java-javax-inject))) | |
4528 | + | (native-inputs | |
4529 | + | `(("unzip" ,unzip))) | |
4530 | + | (home-page "https://commons.apache.org/proper/commons-fileupload/") | |
4531 | + | (synopsis "") | |
4532 | + | (description "") | |
4533 | + | (license license:asl2.0))) | |
4534 | + | ||
4535 | + | (define-public java-commons-fileupload | |
4536 | + | (package | |
4537 | + | (name "java-commons-fileupload") | |
4538 | + | (version "1.4") | |
4539 | + | (source (origin | |
4540 | + | (method url-fetch) | |
4541 | + | (uri (string-append "mirror://apache/commons/fileupload/source/" | |
4542 | + | "commons-fileupload-" version "-src.tar.gz")) | |
4543 | + | (sha256 | |
4544 | + | (base32 | |
4545 | + | "0w88khx30yj1f629y4dl7s5jiygh3lrdyxz8zmr2vmj8rhzd1dsf")))) | |
4546 | + | (build-system ant-build-system) | |
4547 | + | (arguments | |
4548 | + | `(#:jar-name "commons-fileupload.jar" | |
4549 | + | #:source-dir "src/main/java" | |
4550 | + | #:test-dir "src/test" | |
4551 | + | #:tests? #f)); Bad encoding | |
4552 | + | (inputs | |
4553 | + | `(("java-classpathx-servletapi" ,java-classpathx-servletapi) | |
4554 | + | ("java-commons-io" ,java-commons-io) | |
4555 | + | ("java-portlet-api" ,java-portlet-api))) | |
4556 | + | (home-page "https://commons.apache.org/proper/commons-fileupload/") | |
4557 | + | (synopsis "") | |
4558 | + | (description "") | |
4559 | + | (license license:asl2.0))) | |
4560 | + | ||
4406 | 4561 | (define-public java-javacc | |
4407 | 4562 | (package | |
4408 | 4563 | (name "java-javacc") | |
… | |||
5004 | 5159 | (arguments | |
5005 | 5160 | `(#:jar-name (string-append ,name "-" ,version ".jar") | |
5006 | 5161 | #:source-dir "src/main/java" | |
5007 | - | #:tests? #f; TODO: require google-testing | |
5008 | - | #:jdk ,icedtea-8)) | |
5162 | + | #:tests? #f)); TODO: require google-testing | |
5009 | 5163 | (native-inputs | |
5010 | 5164 | `(("java-guava-25" ,java-guava-25) | |
5011 | 5165 | ("java-junit" ,java-junit) | |
… | |||
5032 | 5186 | (arguments | |
5033 | 5187 | `(#:jar-name (string-append ,name "-" ,version ".jar") | |
5034 | 5188 | #:source-dir "value/src/main/java:common/src/main/java:service/src/main/java" | |
5035 | - | #:jdk ,icedtea-8 | |
5036 | 5189 | #:tests? #f)) | |
5037 | 5190 | (inputs | |
5038 | 5191 | `(("java-guava" ,java-guava) | |
… | |||
5130 | 5283 | ; (version (package-version java-error-prone)) | |
5131 | 5284 | ; (arguments | |
5132 | 5285 | ; `(#:tests? #f | |
5133 | - | ; #:jdk ,icedtea-8 | |
5134 | 5286 | ; #:jar-name (string-append ,name "-" ,version ".jar") | |
5135 | 5287 | ; #:source-dir "check_api/src/main/java")) | |
5136 | 5288 | ; (propagated-inputs | |
… | |||
5149 | 5301 | ; (version (package-version java-error-prone)) | |
5150 | 5302 | ; (arguments | |
5151 | 5303 | ; `(#:tests? #f | |
5152 | - | ; #:jdk ,icedtea-8 | |
5153 | 5304 | ; #:jar-name (string-append ,name "-" ,version ".jar") | |
5154 | 5305 | ; #:source-dir "core/src/main/java")) | |
5155 | 5306 | ; (propagated-inputs | |
… | |||
5286 | 5437 | `(#:tests? #f ; no tests included | |
5287 | 5438 | #:jar-name "guava.jar" | |
5288 | 5439 | #:source-dir "guava/src" | |
5289 | - | #:jdk ,icedtea-8 | |
5290 | 5440 | #:phases | |
5291 | 5441 | (modify-phases %standard-phases | |
5292 | 5442 | (add-after 'unpack 'trim-sources | |
… | |||
5430 | 5580 | (build-system ant-build-system) | |
5431 | 5581 | (arguments | |
5432 | 5582 | `(#:jar-name "commons-bcel.jar" | |
5433 | - | ;#:jdk ,icedtea-8 | |
5434 | 5583 | #:source-dir "src/main/java" | |
5435 | 5584 | ;; FIXME: requires org.openjdk.jmh.* and com.sun.jna.platform.win32 for tests | |
5436 | 5585 | #:tests? #f)) | |
… | |||
5585 | 5734 | #t)))) | |
5586 | 5735 | (build-system ant-build-system) | |
5587 | 5736 | (arguments | |
5588 | - | `(#:jdk ,icedtea-8 | |
5589 | - | #:test-target "test" | |
5737 | + | `(#:test-target "test" | |
5590 | 5738 | #:phases | |
5591 | 5739 | (modify-phases %standard-phases | |
5592 | 5740 | (replace 'install | |
… | |||
5637 | 5785 | (inherit java-cup-runtime) | |
5638 | 5786 | (name "java-cup") | |
5639 | 5787 | (arguments | |
5640 | - | `(#:jdk ,icedtea-8 | |
5641 | - | #:build-target "dist" | |
5788 | + | `(#:build-target "dist" | |
5642 | 5789 | #:tests? #f; no test target | |
5643 | 5790 | #:phases | |
5644 | 5791 | (modify-phases %standard-phases | |
… | |||
5681 | 5828 | (build-system ant-build-system) | |
5682 | 5829 | (arguments | |
5683 | 5830 | `(#:jar-name "xalan.jar" | |
5684 | - | #:jdk ,icedtea-8 | |
5685 | 5831 | #:tests? #f)); no tests | |
5686 | 5832 | (inputs | |
5687 | 5833 | `(("java-commons-bcel" ,java-commons-bcel) | |
… | |||
5909 | 6055 | (build-system ant-build-system) | |
5910 | 6056 | (arguments | |
5911 | 6057 | `(#:jar-name (string-append ,name "-" ,version ".jar") | |
5912 | - | #:jdk ,icedtea-8 | |
5913 | 6058 | #:tests? #f; no tests | |
5914 | 6059 | #:source-dir "src" | |
5915 | 6060 | #:phases | |
… | |||
5945 | 6090 | (arguments | |
5946 | 6091 | `(#:jar-name (string-append ,name "-" ,version ".jar") | |
5947 | 6092 | #:source-dir "runtime/Java/src:tool/src" | |
5948 | - | #:jdk ,icedtea-8 | |
5949 | 6093 | #:tests? #f | |
5950 | 6094 | #:phases | |
5951 | 6095 | (modify-phases %standard-phases | |
… | |||
6031 | 6175 | (arguments | |
6032 | 6176 | `(#:jar-name "java-antlr4-runtime.jar" | |
6033 | 6177 | #:source-dir "runtime/Java/src/org" | |
6034 | - | #:tests? #f | |
6035 | - | #:jdk ,icedtea-8)) | |
6178 | + | #:tests? #f)) | |
6036 | 6179 | (native-inputs '()))) | |
6037 | 6180 | ; | |
6038 | 6181 | ;;; Requires gradle. | |
… | |||
6484 | 6627 | "0j4mgmrivpkk8id0h9sshm58igaaj555bzp5pjcz8kdcma67kq27")))) | |
6485 | 6628 | (build-system ant-build-system) | |
6486 | 6629 | (arguments | |
6487 | - | `(#:jdk ,icedtea-8 | |
6488 | - | #:phases | |
6630 | + | `(#:phases | |
6489 | 6631 | (modify-phases %standard-phases | |
6490 | 6632 | (add-before 'unpack 'subdir | |
6491 | 6633 | (lambda _ | |
… | |||
6520 | 6662 | (build-system ant-build-system) | |
6521 | 6663 | (arguments | |
6522 | 6664 | `(#:jar-name "procyon.jar" | |
6523 | - | #:jdk ,icedtea-8 | |
6524 | 6665 | #:source-dir | |
6525 | 6666 | (string-append "Procyon.CompilerTools/src/main/java:" | |
6526 | 6667 | "Procyon.Core/src/main/java:" | |
… | |||
6549 | 6690 | #:source-dir "modello-plugins/modello-plugin-xsd/src/main/java" | |
6550 | 6691 | #:test-dir "modello-plugins/modello-plugin-xsd/src/test" | |
6551 | 6692 | #:tests? #f; Require some test classes from java-modello | |
6552 | - | #:jdk ,icedtea-8 | |
6553 | 6693 | #:phases | |
6554 | 6694 | (modify-phases %standard-phases | |
6555 | 6695 | (add-before 'build 'copy-resources | |
… | |||
6671 | 6811 | #:test-dir "src/test" | |
6672 | 6812 | #:source-dir "src/main/java" | |
6673 | 6813 | #:jar-name "log4j-core.jar" | |
6674 | - | #:jdk ,icedtea-8 | |
6675 | 6814 | #:make-flags | |
6676 | 6815 | (list (string-append "-Ddist.dir=" (assoc-ref %outputs "out") | |
6677 | 6816 | "/share/java")) | |
… | |||
6740 | 6879 | #:tests? #f | |
6741 | 6880 | #:phases | |
6742 | 6881 | (modify-phases %standard-phases | |
6743 | - | (add-before 'build 'build-DescriptorProtos.java | |
6882 | + | (add-before 'build 'build-protos | |
6744 | 6883 | (lambda _ | |
6745 | 6884 | (for-each | |
6746 | 6885 | (lambda (proto) | |
… | |||
6754 | 6893 | (inputs | |
6755 | 6894 | `(("java-guava" ,java-guava))) | |
6756 | 6895 | (native-inputs | |
6757 | - | `(("protobuf" ,protobuf))) | |
6896 | + | `(("java-junit" ,java-junit) | |
6897 | + | ("protobuf" ,protobuf))) | |
6758 | 6898 | (home-page (package-home-page protobuf)) | |
6759 | 6899 | (synopsis "") | |
6760 | 6900 | (description "") | |
6761 | 6901 | (license license:bsd-3))) | |
6762 | 6902 | ||
6903 | + | (define-public java-protobuf-nano | |
6904 | + | (package | |
6905 | + | (inherit java-protobuf) | |
6906 | + | (name "java-protobuf-nano") | |
6907 | + | (version "3.5.2") | |
6908 | + | (source (origin | |
6909 | + | (method git-fetch) | |
6910 | + | (uri (git-reference | |
6911 | + | (url "https://github.com/protocolbuffers/protobuf") | |
6912 | + | (commit (string-append "v" version)))) | |
6913 | + | (file-name (git-file-name name version)) | |
6914 | + | (sha256 | |
6915 | + | (base32 | |
6916 | + | "14gq6rnv03zvcb5hym240z4yqiphrmd5y4zx9a77n37rwvfgx5qy")))) | |
6917 | + | (arguments | |
6918 | + | `(#:jar-name "protobuf.jar" | |
6919 | + | #:source-dir "javanano/src/main/java" | |
6920 | + | #:tests? #f))));; difficult to generate sources)))) | |
6921 | + | ;#:test-dir "javanano/src/test" | |
6922 | + | ;#:phases | |
6923 | + | ;(modify-phases %standard-phases | |
6924 | + | ; (add-after 'build 'build-protos | |
6925 | + | ; (lambda _ | |
6926 | + | ; (mkdir-p "build/classes") | |
6927 | + | ; (apply invoke "protoc" "--javanano_out=build/generated" | |
6928 | + | ; "--proto_path=javanano/src/test/java/com" | |
6929 | + | ; (find-files "javanano/src/test" "unittest_.*")) | |
6930 | + | ; (invoke "protoc" "--javanano_out=build/generated" | |
6931 | + | ; "--proto_path=javanano/src/test/java/com" | |
6932 | + | ; "javanano/src/test/java/com/google/protobuf/nano/map_test.proto") | |
6933 | + | ; #t))))))) | |
6934 | + | ||
6763 | 6935 | (define-public java-jzlib | |
6764 | 6936 | (package | |
6765 | 6937 | (name "java-jzlib") | |
… | |||
6781 | 6953 | (description "") | |
6782 | 6954 | (license license:bsd-3))) | |
6783 | 6955 | ||
6956 | + | (define-public java-conscrypt | |
6957 | + | (package | |
6958 | + | (name "java-conscrypt") | |
6959 | + | (version "1.4.2") | |
6960 | + | (source (origin | |
6961 | + | (method git-fetch) | |
6962 | + | (uri (git-reference | |
6963 | + | (url "https://github.com/google/conscrypt.git") | |
6964 | + | (commit version))) | |
6965 | + | (file-name (git-file-name name version)) | |
6966 | + | (sha256 | |
6967 | + | (base32 | |
6968 | + | "1wfcc7gspvxxhm4vwb0yfidpsjj6kcdqnfwj2qsr4zfppn01gv7f")))) | |
6969 | + | (build-system ant-build-system) | |
6970 | + | (arguments | |
6971 | + | `(#:jar-name "conscrypt.jar" | |
6972 | + | #:source-dir "openjdk/src/main/java:common/src/main/java" | |
6973 | + | #:test-dir "openjdk/src/test" | |
6974 | + | #:tests? #f; conscrypt-testing require libcore from android | |
6975 | + | #:phases | |
6976 | + | (modify-phases %standard-phases | |
6977 | + | (add-before 'build 'build-library | |
6978 | + | (lambda* (#:key inputs #:allow-other-keys) | |
6979 | + | (mkdir-p "build/classes/META-INF/native") | |
6980 | + | (let ((jni-include (string-append "-I" (assoc-ref inputs "jdk") | |
6981 | + | "/include/linux"))) | |
6982 | + | (for-each | |
6983 | + | (lambda (cpp-file) | |
6984 | + | (invoke "g++" "-c" cpp-file "-o" (string-append cpp-file ".o") | |
6985 | + | "-std=c++11" "-fPIC" "-O2" "-Icommon/src/jni/main/include" | |
6986 | + | "-Icommon/src/jni/unbundled/include" jni-include)) | |
6987 | + | (find-files "common/src/jni/main/cpp" ".*.cc$"))) | |
6988 | + | (apply invoke "gcc" "-o" | |
6989 | + | "build/classes/META-INF/native/libconscrypt.so" | |
6990 | + | "-shared" | |
6991 | + | (find-files "common/src/jni/main/cpp" ".*.o$")) | |
6992 | + | #t)) | |
6993 | + | (add-before 'build 'generate-constants | |
6994 | + | (lambda _ | |
6995 | + | (invoke "g++" "-std=c++11" "-O2" "-o" "gen_constants" | |
6996 | + | "constants/src/gen/cpp/generate_constants.cc") | |
6997 | + | (with-output-to-file "common/src/main/java/org/conscrypt/NativeConstants.java" | |
6998 | + | (lambda _ | |
6999 | + | (invoke "./gen_constants"))) | |
7000 | + | #t)) | |
7001 | + | ;(add-before 'build 'build-testing | |
7002 | + | ; (lambda _ | |
7003 | + | ; (mkdir-p "build/testing-classes") | |
7004 | + | ; (apply invoke "javac" "-d" "build/testing-classes" | |
7005 | + | ; "-cp" (getenv "CLASSPATH") | |
7006 | + | ; (find-files "testing/src/main/java" ".*.java$")) | |
7007 | + | ; #t)) | |
7008 | + | (add-before 'check 'set-classpath | |
7009 | + | (lambda _ | |
7010 | + | (setenv "CLASSPATH" | |
7011 | + | (string-append (getenv "CLASSPATH") ":build/testing-classes")) | |
7012 | + | #t))))) | |
7013 | + | (inputs | |
7014 | + | `(("boringssl" ,boringssl))) | |
7015 | + | ;(native-inputs | |
7016 | + | ; `(("java-bouncycastle" ,java-bouncycastle) | |
7017 | + | ; ("java-mockito-1" ,java-mockito-1))) | |
7018 | + | (home-page "") | |
7019 | + | (synopsis "") | |
7020 | + | (description "") | |
7021 | + | (license license:asl2.0))) | |
7022 | + | ||
7023 | + | (define-public java-netty-tcnative-boringssl | |
7024 | + | (package | |
7025 | + | (name "java-netty-tcnative-boringssl") | |
7026 | + | (version "2.0.20") | |
7027 | + | (source (origin | |
7028 | + | (method git-fetch) | |
7029 | + | (uri (git-reference | |
7030 | + | (url "https://github.com/netty/netty-tcnative.git") | |
7031 | + | (commit (string-append "netty-tcnative-parent-" | |
7032 | + | version ".Final")))) | |
7033 | + | (file-name (git-file-name name version)) | |
7034 | + | (sha256 | |
7035 | + | (base32 | |
7036 | + | "1kdgnk5133bw821iwhli8vj5kf8sb8vxav5wpdsv6vhrgrrm8nrl")))) | |
7037 | + | (build-system ant-build-system) | |
7038 | + | (arguments | |
7039 | + | `(#:jar-name "netty-tcnative-boringssl.jar" | |
7040 | + | #:source-dir "openssl-dynamic/src/main/java" | |
7041 | + | #:test-dir "openssl-dynamic/src/test" | |
7042 | + | #:phases | |
7043 | + | (modify-phases %standard-phases | |
7044 | + | (add-before 'build 'build-native | |
7045 | + | (lambda* (#:key inputs system #:allow-other-keys) | |
7046 | + | (let ((native-dir (string-append | |
7047 | + | "build/classes/META-INF/native/linux" | |
7048 | + | (if (or (string-prefix? "x86_64" system) | |
7049 | + | (string-prefix? "aarch64" system)) | |
7050 | + | "64" "32"))) | |
7051 | + | (apr-include (string-append "-I" (assoc-ref inputs "apr") | |
7052 | + | "/include/apr-1")) | |
7053 | + | (jni-include (string-append "-I" (assoc-ref inputs "jdk") | |
7054 | + | "/include/linux"))) | |
7055 | + | (mkdir-p native-dir) | |
7056 | + | (for-each | |
7057 | + | (lambda (source) | |
7058 | + | (invoke "gcc" "-c" source "-o" (string-append source ".o") | |
7059 | + | "-fPIC" "-O2" jni-include apr-include)) | |
7060 | + | (find-files "openssl-dynamic/src/main/c" ".*.c$")) | |
7061 | + | (apply invoke "gcc" "-o" | |
7062 | + | (string-append native-dir "/libnetty_tcnative.so") | |
7063 | + | "-shared" "-lssl" "-lapr-1" "-lcrypto" | |
7064 | + | (find-files "openssl-dynamic/src/main/c" ".*.o$"))) | |
7065 | + | #t)) | |
7066 | + | (add-before 'check 'copy-lib | |
7067 | + | (lambda _ | |
7068 | + | (mkdir-p "build/test-classes") | |
7069 | + | (copy-recursively "build/classes/META-INF" | |
7070 | + | "build/test-classes/META-INF") | |
7071 | + | #t))))) | |
7072 | + | (inputs | |
7073 | + | `(("apr" ,apr) | |
7074 | + | ("boringssl" ,boringssl))) | |
7075 | + | (native-inputs | |
7076 | + | `(("java-hamcrest-core" ,java-hamcrest-core) | |
7077 | + | ("java-junit" ,java-junit))) | |
7078 | + | (home-page "") | |
7079 | + | (synopsis "") | |
7080 | + | (description "") | |
7081 | + | (license license:asl2.0))) | |
7082 | + | ||
6784 | 7083 | (define-public java-netty-common | |
6785 | 7084 | (package | |
6786 | 7085 | (name "java-netty-common") | |
… | |||
6870 | 7169 | (arguments | |
6871 | 7170 | `(#:jar-name "netty-codec.jar" | |
6872 | 7171 | #:source-dir "codec/src/main/java" | |
6873 | - | #:test-dir "codec/src/test")) | |
7172 | + | #:test-dir "codec/src/test" | |
7173 | + | #:test-exclude | |
7174 | + | (list "**/Abstract*.java" "**/Base64Test.java" "**/ZlibTest.java" | |
7175 | + | "**/marshalling/*.java") | |
7176 | + | #:phases | |
7177 | + | (modify-phases %standard-phases | |
7178 | + | (add-before 'check 'fix-tests | |
7179 | + | (lambda _ | |
7180 | + | (with-directory-excursion "codec/src/test/java/io/netty/handler" | |
7181 | + | (substitute* "codec/ByteToMessageCodecTest.java" | |
7182 | + | (("Equals\\(1, ") "Equals((int) 1, (int)"))) | |
7183 | + | #t))))) | |
6874 | 7184 | (inputs | |
6875 | - | `(("java-netty-buffer" ,java-netty-buffer) | |
7185 | + | `(("java-jboss-marshalling" ,java-jboss-marshalling) | |
7186 | + | ("java-jzlib" ,java-jzlib) | |
7187 | + | ("java-lz4" ,java-lz4) | |
7188 | + | ("java-lzma" ,java-lzma) | |
7189 | + | ("java-netty-buffer" ,java-netty-buffer) | |
6876 | 7190 | ("java-netty-common" ,java-netty-common) | |
6877 | 7191 | ("java-netty-transport" ,java-netty-transport) | |
6878 | - | ("java-lz4" ,java-lz4) | |
6879 | - | ("java-jzlib" ,java-jzlib) | |
7192 | + | ("java-ning-compress" ,java-ning-compress) | |
6880 | 7193 | ("java-protobuf" ,java-protobuf) | |
6881 | - | ,@(package-inputs java-netty-common))))) | |
7194 | + | ("java-protobuf-nano" ,java-protobuf-nano) | |
7195 | + | ,@(package-inputs java-netty-common))) | |
7196 | + | (native-inputs | |
7197 | + | `(("java-commons-compress" ,java-commons-compress) | |
7198 | + | ("java-netty-resolver" ,java-netty-resolver) | |
7199 | + | ,@(package-native-inputs java-netty-common))))) | |
6882 | 7200 | ||
6883 | 7201 | (define-public java-netty-handler | |
6884 | 7202 | (package | |
… | |||
6887 | 7205 | (arguments | |
6888 | 7206 | `(#:jar-name "netty-handler.jar" | |
6889 | 7207 | #:source-dir "handler/src/main/java" | |
6890 | - | #:test-dir "handler/src/test")) | |
7208 | + | #:test-dir "handler/src/test" | |
7209 | + | ;; Reference to assertEquals is ambiguous | |
7210 | + | #:tests? #f)) | |
6891 | 7211 | (inputs | |
6892 | - | `(("java-netty-buffer" ,java-netty-buffer) | |
7212 | + | `(("java-bouncycastle" ,java-bouncycastle) | |
7213 | + | ("java-conscrypt" ,java-conscrypt) | |
7214 | + | ("java-eclipse-jetty-alpn-api" ,java-eclipse-jetty-alpn-api) | |
7215 | + | ("java-eclipse-jetty-npn-api" ,java-eclipse-jetty-npn-api) | |
7216 | + | ("java-netty-buffer" ,java-netty-buffer) | |
7217 | + | ("java-netty-codec" ,java-netty-codec) | |
6893 | 7218 | ("java-netty-common" ,java-netty-common) | |
7219 | + | ("java-netty-tcnative-boringssl" ,java-netty-tcnative-boringssl) | |
6894 | 7220 | ("java-netty-transport" ,java-netty-transport) | |
6895 | - | ("java-bouncycastle" ,java-bouncycastle) | |
6896 | - | ,@(package-inputs java-netty-common))))) | |
7221 | + | ,@(package-inputs java-netty-common))) | |
7222 | + | (native-inputs | |
7223 | + | `(("java-logback-classic" ,java-logback-classic) | |
7224 | + | ("java-logback-core" ,java-logback-core) | |
7225 | + | ,@(package-native-inputs java-netty-common))))) | |
6897 | 7226 | ||
6898 | 7227 | (define-public java-conversantmedia-disruptor | |
6899 | 7228 | (package |
more/packages/kotlin.scm
40 | 40 | #:use-module (more packages java)) | |
41 | 41 | ||
42 | 42 | ;; Needs maven-core | |
43 | - | (define-public kotlin | |
43 | + | (define-public kotlin-1.2 | |
44 | 44 | (package | |
45 | 45 | (name "kotlin") | |
46 | 46 | ;; last version with a build.xml file | |
… | |||
70 | 70 | (description "") | |
71 | 71 | (license license:asl2.0))) | |
72 | 72 | ||
73 | + | (define-public kotlin | |
74 | + | (package | |
75 | + | (name "kotlin") | |
76 | + | (version "1.3.11") | |
77 | + | (source (origin | |
78 | + | (method git-fetch) | |
79 | + | (uri (git-reference | |
80 | + | (url "https://github.com/JetBrains/kotlin") | |
81 | + | (commit (string-append "v" version)))) | |
82 | + | (file-name (git-file-name name version)) | |
83 | + | (sha256 | |
84 | + | (base32 | |
85 | + | "123gfr72p0715n925kivl3khlqzk11qpyv65jwlhcplgfvw8rl73")))) | |
86 | + | (build-system ant-build-system) | |
87 | + | (home-page "https://kotlinlang.org/") | |
88 | + | (synopsis "Programming language targetting the JVM") | |
89 | + | (description "") | |
90 | + | (license license:asl2.0))) | |
91 | + | ||
73 | 92 | ;; The release page on github is a mess | |
74 | 93 | (define intellij-community-version "0.182.2256") | |
75 | 94 | (define (intellij-community-source version) |
more/packages/python.scm
32 | 32 | #:use-module (gnu packages python) | |
33 | 33 | #:use-module (gnu packages python-crypto) | |
34 | 34 | #:use-module (gnu packages python-web) | |
35 | + | #:use-module (gnu packages python-xyz) | |
35 | 36 | #:use-module (gnu packages qt) | |
36 | 37 | #:use-module (gnu packages serialization) | |
37 | 38 | #:use-module (gnu packages time) |