summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2026-04-01 00:38:51 +0200
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-05-03 02:30:25 +0200
commitdef04fa084ea8d474b1b54626afb61f29c39a66a (patch)
tree329f2bca462fb26856ddce39506f32a3e0bdd090 /gnu/packages/java.scm
parentca9d9602d603d18908118eb03603d8dc915e92fe (diff)
gnu: Add java-jgit-ssh-jsch@7.
* gnu/packages/java.scm (java-jgit-ssh-jsch-7): New variable. Change-Id: I25ca337c93f36b8521968f14d435b1fab655812d
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 892aa76916b..4e656ab5d98 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -15730,6 +15730,61 @@ Git version control system, providing repository access routines, support for
15730network protocols, and core version control algorithms.") 15730network protocols, and core version control algorithms.")
15731 (license license:edl1.0))) 15731 (license license:edl1.0)))
15732 15732
15733(define-public java-jgit-ssh-jsch-7
15734 (package
15735 (name "java-jgit-ssh-jsch")
15736 (version "7.0.0.202409031743-r")
15737 (source (origin
15738 (method url-fetch)
15739 (uri (string-append "https://repo1.maven.org/maven2/"
15740 "org/eclipse/jgit/org.eclipse.jgit.ssh.jsch/"
15741 version "/org.eclipse.jgit.ssh.jsch-"
15742 version "-sources.jar"))
15743 (sha256
15744 (base32
15745 "1vb3zkd2iz6bpz2nq8xxi5d5jdb8hy8jq7gka2ck22azm9bb6p94"))))
15746 (build-system ant-build-system)
15747 (arguments
15748 `(#:tests? #f ; sources jar has no tests
15749 #:jar-name "jgit-ssh-jsch.jar"
15750 #:jdk ,openjdk17
15751 #:phases
15752 (modify-phases %standard-phases
15753 (add-after 'build 'add-osgi-manifest
15754 (lambda _
15755 ;; The NetBeans wrapper module has an empty jar target and
15756 ;; relies on Bundle-SymbolicName from the Maven Central jar.
15757 (call-with-output-file "osgi-manifest.mf"
15758 (lambda (port)
15759 (display (string-append
15760 "Bundle-ManifestVersion: 2\n"
15761 "Bundle-SymbolicName: org.eclipse.jgit.ssh.jsch\n"
15762 "Bundle-Version: " ,version "\n"
15763 "Export-Package: org.eclipse.jgit.transport.ssh"
15764 ".jsch\n"
15765 "Import-Package: com.jcraft.jsch,"
15766 "org.eclipse.jgit.errors,"
15767 "org.eclipse.jgit.internal,"
15768 "org.eclipse.jgit.internal.transport.ssh,"
15769 "org.eclipse.jgit.nls,"
15770 "org.eclipse.jgit.transport,"
15771 "org.eclipse.jgit.util,"
15772 "org.eclipse.jgit.util.io,"
15773 "org.slf4j\n")
15774 port)))
15775 (invoke "jar" "ufm" "build/jar/jgit-ssh-jsch.jar"
15776 "osgi-manifest.mf")))
15777 (replace 'install
15778 (install-from-pom
15779 "src/META-INF/maven/org.eclipse.jgit/org.eclipse.jgit.ssh.jsch/pom.xml")))))
15780 (inputs
15781 (list java-jgit-7 java-jsch-0.1.72 java-jzlib-1.1.3 java-slf4j-api))
15782 (home-page "https://eclipse.org/jgit/")
15783 (synopsis "SSH support for JGit using JSch")
15784 (description "This package provides SSH transport support for JGit
15785using the JSch library.")
15786 (license license:edl1.0)))
15787
15733(define-public abcl 15788(define-public abcl
15734 (package 15789 (package
15735 (name "abcl") 15790 (name "abcl")