summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-science/packages/bazel.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/guix-science/packages/bazel.scm b/guix-science/packages/bazel.scm
index e7c3a96..2daa2b6 100644
--- a/guix-science/packages/bazel.scm
+++ b/guix-science/packages/bazel.scm
@@ -325,3 +325,31 @@ supports projects in multiple languages and builds outputs for
325multiple platforms. Bazel supports large codebases across multiple 325multiple platforms. Bazel supports large codebases across multiple
326repositories, and large numbers of users.") 326repositories, and large numbers of users.")
327 (license license:asl2.0))) 327 (license license:asl2.0)))
328
329(define-public bazel-6.4
330 (package
331 (inherit bazel-6)
332 (name "bazel")
333 (version "6.4.0")
334 (source (origin
335 (method url-fetch/zipbomb)
336 (uri (string-append "https://github.com/bazelbuild/bazel/"
337 "releases/download/" version
338 "/bazel-" version "-dist.zip"))
339 (sha256
340 (base32
341 "07p5yj7y864gcbwpfrcccvn52b89ml96namshbp2kfwb5ihgz25x"))
342 (patches
343 (search-patches "patches/bazel-mock-repos.patch"
344 "patches/bazel-workspace.patch"
345 "patches/bazel-recreate-markers.patch"))
346 ;; This is just a start. There are so many more jars.
347 (snippet
348 '(for-each delete-file
349 '("third_party/apache_commons_collections/commons-collections-3.2.2.jar"
350 "third_party/apache_commons_compress/apache-commons-compress-1.19.jar"
351 "third_party/apache_commons_io/commons-io-2.4.jar"
352 "third_party/apache_commons_lang/commons-lang-2.6.jar"
353 "third_party/hamcrest/hamcrest-core-1.3.jar"
354 "third_party/jsr305/jsr-305.jar"
355 "third_party/xz/xz-1.9.jar")))))))