[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/24: gnu: Add java-ops4j-pax-tinybundles.
From: |
julien lepiller |
Subject: |
11/24: gnu: Add java-ops4j-pax-tinybundles. |
Date: |
Tue, 10 Oct 2017 16:08:15 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 25aef81d2657b0b9c111069cab5c1ec83ff86d5a
Author: Julien Lepiller <address@hidden>
Date: Wed Oct 4 20:06:17 2017 +0200
gnu: Add java-ops4j-pax-tinybundles.
* gnu/packages/java.scm (java-ops4j-pax-tinybundles): New variable.
---
gnu/packages/java.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d7d635f..d94d678 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5505,3 +5505,52 @@ it manages project dependencies, gives diffs jars, and
much more.")
("java-osgi-namespace-service" ,java-osgi-namespace-service)
("promise" ,java-osgi-util-promise)
("osgi" ,java-osgi-core)))))
+
+(define-public java-ops4j-pax-tinybundles
+ (package
+ (name "java-ops4j-pax-tinybundles")
+ (version "2.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/ops4j/org.ops4j.pax.tinybundles/"
+ "archive/tinybundles-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0y0gq3pvv0iir2b885lmlwnvr724vv7vklzhhr4fs27d7mdkj871"))))
+ (arguments
+ `(#:jar-name "java-ops4j-pax-tinybundles.jar"
+ #:source-dir "src/main/java"
+ #:test-exclude
+ ;; Abstract base classes for other tests
+ (list "**/BndTest.java" "**/CoreTest.java")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-version
+ (lambda _
+ ;; This test has a reference to an old version of bndlib we are
not
+ ;; packaging. It uses the version referenced in pom.xml. We
replace
+ ;; it with our own version.
+ (substitute*
"src/test/java/org/ops4j/pax/tinybundles/bnd/BndTest.java"
+ (("2.4.0.201411031534") "3.4.0")))))))
+ (inputs
+ `(("lang" ,java-ops4j-base-lang)
+ ("io" ,java-ops4j-base-io)
+ ("store" ,java-ops4j-base-store)
+ ("slf4j" ,java-slf4j-api)
+ ("libg" ,java-aqute-libg)
+ ("bndlib" ,java-aqute-bndlib)))
+ (native-inputs
+ `(("junit" ,java-junit)
+ ("hamcrest" ,java-hamcrest-core)
+ ("log4j" ,java-log4j-api)
+ ("bndannotation" ,java-aqute-bnd-annotation)
+ ("framework" ,java-osgi-framework)))
+ (build-system ant-build-system)
+ (home-page
"https://ops4j1.jira.com/wiki/spaces/ops4j/pages/12060312/Tinybundles")
+ (synopsis "Java APIs to create OSGi related artifacts")
+ (description "Tinybundles is all about creating OSGi related artifacts like
+Bundles, Fragments and Deployment Packages with Java Api. It is very
convinient
+to create such artifacts on-the-fly inside Tests (like in Pax Exam). On the
+other hand, this library can be a foundation of real end user tools that need
+to create those artifacts.")
+ (license license:asl2.0)))
- 12/24: gnu: Add java-ops4j-pax-exam-core., (continued)
- 12/24: gnu: Add java-ops4j-pax-exam-core., julien lepiller, 2017/10/10
- 14/24: gnu: Add java-ops4j-pax-exam-core-junit., julien lepiller, 2017/10/10
- 24/24: services: vpn: Fix default tls-auth configuration., julien lepiller, 2017/10/10
- 20/24: gnu: Add java-fasterxml-jackson-dataformat-yaml., julien lepiller, 2017/10/10
- 15/24: gnu: Add java-fasterxml-jackson-annotations., julien lepiller, 2017/10/10
- 18/24: gnu: Add java-fasterxml-jackson-modules-base-jaxb., julien lepiller, 2017/10/10
- 13/24: gnu: Add java-ops4j-pax-exam-core-spi., julien lepiller, 2017/10/10
- 22/24: gnu: Add java-woodstox-core., julien lepiller, 2017/10/10
- 21/24: gnu: Add java-stax2-api., julien lepiller, 2017/10/10
- 23/24: gnu: Add java-fasterxml-jackson-dataformat-xml., julien lepiller, 2017/10/10
- 11/24: gnu: Add java-ops4j-pax-tinybundles.,
julien lepiller <=
- 16/24: gnu: Add java-fasterxml-jackson-core., julien lepiller, 2017/10/10