Change intellij-2013 to intellij-130
more/packages/intellij.scm
43 | 43 | #:use-module (gnu packages xml) | |
44 | 44 | #:use-module (more packages java)) | |
45 | 45 | ||
46 | - | ;(define intellij-community-2013-commit "8bc091c3131a888b5400c63a9e51eb0bc7fbe0fb") | |
47 | - | ;; Take a random old commit that has the right files | |
48 | - | ;(define intellij-community-2013-commit "f116b27261f9dea1c0f00b90ad09d58c6e2fa2f2") | |
49 | - | (define intellij-community-2013-commit "32cf812a36e0efd8d7859378b52c0ea3b1e3e321") | |
50 | - | (define intellij-community-2013-version (git-version "0.0.0" "0" | |
51 | - | intellij-community-2013-commit)) | |
46 | + | (define intellij-community-130-commit "de6f73b5706c3c23c8f46bcf3761e48fa3e0f95b") | |
47 | + | (define intellij-community-130-version (git-version "130" "0" | |
48 | + | intellij-community-130-commit)) | |
52 | 49 | ||
53 | 50 | ;; The release page on github is a mess | |
54 | 51 | (define intellij-community-version "182.5262.8") | |
… | |||
78 | 75 | intellij-community-commit | |
79 | 76 | intellij-community-version | |
80 | 77 | "17qzhh2kw6sxwkyj7ng7hrpbcf2rjs2xjbsrg1bgkg90r5kb8sm4")) | |
81 | - | ;(define intellij-community-2013-source (get-intellij-community-source | |
82 | - | ; intellij-community-2013-commit | |
83 | - | ; intellij-community-2013-version | |
84 | - | ; "0z5rq713lf7q2x0c0sb0r1ha2pszcyygddh7r12wyzf5p0iiy1im")) | |
85 | - | (define intellij-community-2013-source (get-intellij-community-source | |
86 | - | intellij-community-2013-commit | |
87 | - | intellij-community-2013-version | |
88 | - | "1r9jrmbc634zlg3gvqmlqlhi0sf2sjgvgnc3an5wfz1w8izbk6ji")) | |
78 | + | (define intellij-community-130-source (get-intellij-community-source | |
79 | + | intellij-community-130-commit | |
80 | + | intellij-community-130-version | |
81 | + | "153sasksydpm0i8ppmg71fdh17ycnvdz3mny987vmq4jdm0a4djp")) | |
89 | 82 | ||
90 | 83 | (define (strip-intellij-variant variant-property base) | |
91 | 84 | (package | |
… | |||
118 | 111 | (propagated-inputs (map-inputs (package-propagated-inputs base))) | |
119 | 112 | (inputs (map-inputs (package-inputs base))))))) | |
120 | 113 | ||
121 | - | (define-public (intellij-2013-package base) | |
122 | - | (package-intellij-for-explicit-version intellij-community-2013-version | |
123 | - | intellij-community-2013-source | |
124 | - | 'intellij-2013-variant | |
114 | + | (define-public (intellij-130-package base) | |
115 | + | (package-intellij-for-explicit-version intellij-community-130-version | |
116 | + | intellij-community-130-source | |
117 | + | 'intellij-130-variant | |
125 | 118 | base)) | |
126 | - | (define-public (strip-2013-variant base) | |
127 | - | (strip-intellij-variant 'intellij-2013-variant base)) | |
119 | + | (define-public (strip-130-variant base) | |
120 | + | (strip-intellij-variant 'intellij-130-variant base)) | |
128 | 121 | ||
129 | 122 | (define-public java-intellij-compiler-instrumentation-util | |
130 | 123 | (package | |
… | |||
152 | 145 | (description "") | |
153 | 146 | (license license:asl2.0))) | |
154 | 147 | ||
155 | - | (define-public java-jdom-for-intellij-2013 | |
148 | + | (define-public java-jdom-for-intellij-130 | |
156 | 149 | (package | |
157 | 150 | (inherit java-jdom) | |
158 | 151 | (version "0") | |
… | |||
160 | 153 | (method url-fetch) | |
161 | 154 | (uri (string-append "https://github.com/JetBrains/" | |
162 | 155 | "intellij-community/raw/" | |
163 | - | intellij-community-2013-commit | |
156 | + | intellij-community-130-commit | |
164 | 157 | "/lib/src/jdom.zip")) | |
165 | 158 | (sha256 | |
166 | 159 | (base32 | |
… | |||
174 | 167 | (native-inputs | |
175 | 168 | `(("unzip" ,unzip))))) | |
176 | 169 | ||
177 | - | (define-public java-jsr166e-for-intellij-2013 | |
170 | + | (define-public java-jsr166e-for-intellij-130 | |
178 | 171 | (package | |
179 | 172 | (name "java-jsr166e") | |
180 | 173 | (version "0") | |
… | |||
182 | 175 | (method url-fetch) | |
183 | 176 | (uri (string-append "https://github.com/JetBrains/" | |
184 | 177 | "intellij-community/raw/" | |
185 | - | intellij-community-2013-commit | |
178 | + | intellij-community-130-commit | |
186 | 179 | "/lib/src/jsr166e_src.jar")) | |
187 | 180 | (sha256 | |
188 | 181 | (base32 | |
… | |||
289 | 282 | ("java-trove4j-intellij" ,java-trove4j-intellij) | |
290 | 283 | ("java-w3c-svg" ,java-w3c-svg))) | |
291 | 284 | (properties | |
292 | - | `((intellij-2013-variant . ,(delay java-intellij-platform-util-2013)))) | |
285 | + | `((intellij-130-variant . ,(delay java-intellij-platform-util-130)))) | |
293 | 286 | (home-page "https://github.com/JetBrains/intellij-community") | |
294 | 287 | (synopsis "") | |
295 | 288 | (description "") | |
296 | 289 | (license license:asl2.0))) | |
297 | 290 | ||
298 | - | (define-public java-intellij-platform-util-2013 | |
299 | - | (let ((base (intellij-2013-package (strip-2013-variant java-intellij-platform-util)))) | |
291 | + | (define-public java-intellij-platform-util-130 | |
292 | + | (let ((base (intellij-130-package (strip-130-variant java-intellij-platform-util)))) | |
300 | 293 | (package | |
301 | 294 | (inherit base) | |
302 | 295 | (propagated-inputs | |
… | |||
305 | 298 | ("java-batik-1.7" ,java-batik-1.7) | |
306 | 299 | ("java-cglib" ,java-cglib) | |
307 | 300 | ("java-iq80-snappy" ,java-iq80-snappy) | |
308 | - | ("java-jdom" ,java-jdom-for-intellij-2013) | |
309 | - | ("java-jsr166e-for-intellij-2013" ,java-jsr166e-for-intellij-2013) | |
301 | + | ("java-jdom" ,java-jdom-for-intellij-130) | |
302 | + | ("java-jsr166e-for-intellij-130" ,java-jsr166e-for-intellij-130) | |
310 | 303 | ("java-picocontainer-1" ,java-picocontainer-1) | |
311 | 304 | ("java-xstream" ,java-xstream)))) | |
312 | 305 | (inputs | |
313 | 306 | `(("java-eawtstub" ,java-eawtstub))) | |
314 | 307 | (arguments | |
315 | - | (substitute-keyword-arguments (package-arguments base) | |
316 | - | ((#:phases phases) | |
317 | - | `(modify-phases ,phases | |
318 | - | (delete 'remove-apple) | |
319 | - | (add-before 'build 'fix-newer-jdk | |
320 | - | (lambda _ | |
321 | - | (substitute* "platform/util/src/com/intellij/ui/mac/foundation/Foundation.java" | |
322 | - | (("public static class NSRect extends Structure implements Structure.ByValue.*") | |
323 | - | "public static class NSRect extends Structure implements Structure.ByValue { | |
308 | + | `(;#:jdk ,icedtea-7 | |
309 | + | ,@(substitute-keyword-arguments (package-arguments base) | |
310 | + | ((#:phases phases) | |
311 | + | `(modify-phases ,phases | |
312 | + | (delete 'remove-apple) | |
313 | + | (add-before 'build 'fix-newer-jdk | |
314 | + | (lambda _ | |
315 | + | (substitute* "platform/util/src/com/intellij/ui/mac/foundation/Foundation.java" | |
316 | + | (("public static class NSRect extends Structure implements Structure.ByValue.*") | |
317 | + | "public static class NSRect extends Structure implements Structure.ByValue { | |
324 | 318 | @Override | |
325 | 319 | protected java.util.List<String> getFieldOrder() { | |
326 | 320 | return java.util.Arrays.asList(new String[]{\"origin\", \"size\"}); | |
327 | 321 | }") | |
328 | - | (("public static class NSPoint extends Structure implements Structure.ByValue.*") | |
329 | - | "public static class NSPoint extends Structure implements Structure.ByValue { | |
322 | + | (("public static class NSPoint extends Structure implements Structure.ByValue.*") | |
323 | + | "public static class NSPoint extends Structure implements Structure.ByValue { | |
330 | 324 | @Override | |
331 | 325 | protected java.util.List<String> getFieldOrder() { | |
332 | 326 | return java.util.Arrays.asList(new String[]{\"x\", \"y\"}); | |
333 | 327 | }") | |
334 | - | (("public static class NSSize extends Structure implements Structure.ByValue.*") | |
335 | - | "public static class NSSize extends Structure implements Structure.ByValue { | |
328 | + | (("public static class NSSize extends Structure implements Structure.ByValue.*") | |
329 | + | "public static class NSSize extends Structure implements Structure.ByValue { | |
336 | 330 | @Override | |
337 | 331 | protected java.util.List<String> getFieldOrder() { | |
338 | 332 | return java.util.Arrays.asList(new String[]{\"width\", \"height\"}); | |
339 | 333 | }")) | |
340 | - | #t))))))))) | |
334 | + | #t)))))))))) | |
341 | 335 | ||
342 | 336 | (define-public java-intellij-platform-extensions | |
343 | 337 | (package | |
… | |||
379 | 373 | ("java-jetbrains-annotations" ,java-jetbrains-annotations) | |
380 | 374 | ("java-trove4j-intellij" ,java-trove4j-intellij))) | |
381 | 375 | (properties | |
382 | - | `((intellij-2013-variant . ,(delay java-intellij-platform-core-api-2013)))) | |
376 | + | `((intellij-130-variant . ,(delay java-intellij-platform-core-api-130)))) | |
383 | 377 | (home-page "https://github.com/JetBrains/intellij-community") | |
384 | 378 | (synopsis "") | |
385 | 379 | (description "") | |
386 | 380 | (license license:asl2.0))) | |
387 | 381 | ||
388 | - | (define-public java-intellij-platform-core-api-2013 | |
389 | - | (let ((base (intellij-2013-package | |
390 | - | (strip-2013-variant java-intellij-platform-core-api)))) | |
382 | + | (define-public java-intellij-platform-core-api-130 | |
383 | + | (let ((base (intellij-130-package | |
384 | + | (strip-130-variant java-intellij-platform-core-api)))) | |
391 | 385 | (package | |
392 | 386 | (inherit base) | |
393 | 387 | (propagated-inputs | |
… | |||
437 | 431 | ("java-intellij-platform-boot" ,java-intellij-platform-boot) | |
438 | 432 | ("java-intellij-platform-core-api" ,java-intellij-platform-core-api))) | |
439 | 433 | (properties | |
440 | - | `((intellij-2013-variant . ,(delay java-intellij-platform-core-impl-2013)))) | |
434 | + | `((intellij-130-variant . ,(delay java-intellij-platform-core-impl-130)))) | |
441 | 435 | (home-page "https://github.com/JetBrains/intellij-community") | |
442 | 436 | (synopsis "") | |
443 | 437 | (description "") | |
444 | 438 | (license license:asl2.0))) | |
445 | 439 | ||
446 | - | (define-public java-intellij-platform-core-impl-2013 | |
447 | - | (let ((base (intellij-2013-package | |
448 | - | (strip-2013-variant java-intellij-platform-core-impl)))) | |
440 | + | (define-public java-intellij-platform-core-impl-130 | |
441 | + | (let ((base (intellij-130-package | |
442 | + | (strip-130-variant java-intellij-platform-core-impl)))) | |
449 | 443 | (package | |
450 | 444 | (inherit base) | |
451 | 445 | (propagated-inputs | |
… | |||
517 | 511 | ("java-jetbrains-annotations" ,java-jetbrains-annotations) | |
518 | 512 | ("java-streamex" ,java-streamex))) | |
519 | 513 | (properties | |
520 | - | `((intellij-2013-variant . ,(delay java-intellij-java-psi-impl-2013)))) | |
514 | + | `((intellij-130-variant . ,(delay java-intellij-java-psi-impl-130)))) | |
521 | 515 | (home-page "https://github.com/JetBrains/intellij-community") | |
522 | 516 | (synopsis "") | |
523 | 517 | (description "") | |
524 | 518 | (license license:asl2.0))) | |
525 | 519 | ||
526 | - | (define-public java-intellij-java-psi-impl-2013 | |
527 | - | (let ((base (intellij-2013-package | |
528 | - | (strip-2013-variant java-intellij-java-psi-impl)))) | |
520 | + | (define-public java-intellij-java-psi-impl-130 | |
521 | + | (let ((base (intellij-130-package | |
522 | + | (strip-130-variant java-intellij-java-psi-impl)))) | |
529 | 523 | (package | |
530 | 524 | (inherit base) | |
531 | 525 | (arguments |
more/packages/kotlin.scm
71 | 71 | (define-public kotlin-0 | |
72 | 72 | (package | |
73 | 73 | (name "kotlin") | |
74 | - | (version "0.4.424") | |
74 | + | (version "0.6.717") | |
75 | 75 | (source (origin | |
76 | 76 | (method git-fetch) | |
77 | 77 | (uri (git-reference | |
78 | 78 | (url "https://github.com/JetBrains/kotlin") | |
79 | 79 | ;; build-0.4.424 | |
80 | - | (commit "2f47e30a1a12347759dbb8707f5137178de65696"))) | |
80 | + | (commit (string-append "build-" version)))) | |
81 | 81 | (file-name (git-file-name name version)) | |
82 | 82 | (sha256 | |
83 | 83 | (base32 | |
84 | - | "0f60v3swyrkh41c4lhha64njivvsnr7p6yz7i1vjmvs697pjvqg2")) | |
84 | + | "1a45yr5b0rc4girkva4d6x57iqzs174dw6wsdiwyllqkllp5k16y")) | |
85 | 85 | ;(patches | |
86 | 86 | ; (search-patches "kotlin-Update-for-dependencies.patch")) | |
87 | 87 | (modules '((guix build utils))) | |
… | |||
148 | 148 | ("java-asm-commons" ,java-asm-commons-7) | |
149 | 149 | ("java-former-dart-ast" ,java-former-dart-ast) | |
150 | 150 | ("java-guava" ,java-guava) | |
151 | - | ("java-intellij-java-psi-api" ,(intellij-2013-package java-intellij-java-psi-api)) | |
152 | - | ("java-intellij-java-psi-impl" ,(intellij-2013-package java-intellij-java-psi-impl)) | |
153 | - | ("java-intellij-platform-core-api" ,(intellij-2013-package java-intellij-platform-core-api)) | |
154 | - | ("java-intellij-platform-core-impl" ,(intellij-2013-package java-intellij-platform-core-impl)) | |
155 | - | ("java-intellij-platform-extensions" ,(intellij-2013-package java-intellij-platform-extensions)) | |
156 | - | ("java-intellij-platform-util" ,(intellij-2013-package java-intellij-platform-util)) | |
157 | - | ("java-intellij-platform-util-rt" ,(intellij-2013-package java-intellij-platform-util-rt)) | |
151 | + | ("java-intellij-java-psi-api" ,(intellij-130-package java-intellij-java-psi-api)) | |
152 | + | ("java-intellij-java-psi-impl" ,(intellij-130-package java-intellij-java-psi-impl)) | |
153 | + | ("java-intellij-platform-core-api" ,(intellij-130-package java-intellij-platform-core-api)) | |
154 | + | ("java-intellij-platform-core-impl" ,(intellij-130-package java-intellij-platform-core-impl)) | |
155 | + | ("java-intellij-platform-extensions" ,(intellij-130-package java-intellij-platform-extensions)) | |
156 | + | ("java-intellij-platform-util" ,(intellij-130-package java-intellij-platform-util)) | |
157 | + | ("java-intellij-platform-util-rt" ,(intellij-130-package java-intellij-platform-util-rt)) | |
158 | 158 | ("java-javax-inject" ,java-javax-inject) | |
159 | 159 | ("java-jline-2" ,java-jline-2) | |
160 | 160 | ("java-jsr305" ,java-jsr305) |