[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/44: gnu: Add java-jgit-4.2.
From: |
Ricardo Wurmus |
Subject: |
05/44: gnu: Add java-jgit-4.2. |
Date: |
Sun, 9 Jul 2017 11:09:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit bdb31853f0d4051001ff1ca1febe1f695a3e10fc
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jun 27 17:43:59 2017 +0200
gnu: Add java-jgit-4.2.
* gnu/packages/version-control.scm (java-jgit-4.2): New variable.
---
gnu/packages/version-control.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 7cbee01..465cdc9 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1511,3 +1511,34 @@ unique algebra of patches called
@url{http://darcs.net/Theory,Patchtheory}.
Git version control system, providing repository access routines, support for
network protocols, and core version control algorithms.")
(license license:edl1.0)))
+
+;; For axoloti. This package can still be built with icedtea-7, which is
+;; currently used as the default JDK.
+(define-public java-jgit-4.2
+ (package (inherit java-jgit)
+ (version "4.2.0.201601211800-r")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://repo1.maven.org/maven2/"
+ "org/eclipse/jgit/org.eclipse.jgit/"
+ version "/org.eclipse.jgit-"
+ version "-sources.jar"))
+ (sha256
+ (base32
+ "15gm537iivhnzlkjym4x3wn5jqdjdragsw9pdpzqqg21nrc817mm"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'use-latest-javaewah-API
+ (lambda _
+ (substitute*
"src/org/eclipse/jgit/internal/storage/file/BitmapIndexImpl.java"
+ (("wordinbits") "WORD_IN_BITS"))
+ #t)))
+ ;; Build for default JDK.
+ ,@(substitute-keyword-arguments (package-arguments java-jgit)
+ ((#:jdk _) icedtea-7))))
+ (inputs
+ `(("java-javaewah" ,java-javaewah)
+ ("java-jsch" ,java-jsch)
+ ("java-slf4j-api" ,java-slf4j-api)))))
- branch master updated (efd5a84 -> a20608a), Ricardo Wurmus, 2017/07/09
- 02/44: gnu: Add java-javaewah., Ricardo Wurmus, 2017/07/09
- 07/44: gnu: deeptools: Update to 2.5.1., Ricardo Wurmus, 2017/07/09
- 03/44: gnu: Add java-slf4j-api., Ricardo Wurmus, 2017/07/09
- 10/44: gnu: texlive-latex-base: Fix xetex and xelatex formats., Ricardo Wurmus, 2017/07/09
- 09/44: build-system: texlive: Build union in configure phase., Ricardo Wurmus, 2017/07/09
- 05/44: gnu: Add java-jgit-4.2.,
Ricardo Wurmus <=
- 06/44: gnu: Add python-py2bit., Ricardo Wurmus, 2017/07/09
- 08/44: build-system: texlive: Only build packages in the current directory., Ricardo Wurmus, 2017/07/09
- 01/44: gnu: Add java-classpathx-servletapi, Ricardo Wurmus, 2017/07/09
- 04/44: gnu: Add java-jgit., Ricardo Wurmus, 2017/07/09
- 12/44: gnu: texlive-generic-ifxetex: Fix description., Ricardo Wurmus, 2017/07/09
- 17/44: gnu: Add texlive-latex-changebar., Ricardo Wurmus, 2017/07/09
- 13/44: gnu: Add texlive-fonts-amsfonts., Ricardo Wurmus, 2017/07/09
- 18/44: gnu: Add texlive-latex-colortbl., Ricardo Wurmus, 2017/07/09
- 21/44: gnu: Add texlive-latex-fancyvrb., Ricardo Wurmus, 2017/07/09
- 28/44: gnu: Add texlive-latex-pdfpages., Ricardo Wurmus, 2017/07/09