aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-01 17:13:54 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:38:32 +0200
commit8e2f3e5e036336482b57b81bc443b0ef892efe5e (patch)
treef49356b67da0feb55d3ce6927b1b29510630aed1 /gnu/packages/java.scm
parent30deadee1a8d5d073fd35a8637b76e5e7d5ddac7 (diff)
downloadguix-8e2f3e5e036336482b57b81bc443b0ef892efe5e.tar
guix-8e2f3e5e036336482b57b81bc443b0ef892efe5e.tar.gz
gnu: Add java-datanucleus-javax-persistence.
* gnu/packages/java.scm (java-datanucleus-javax-persistence): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fd6d9aa694..f60198ea08 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4745,3 +4745,29 @@ applet and can be run as a standalone java application.")
(license (list license:asl2.0
;; or altenatively:
license:lgpl2.1+))))
+
+(define-public java-datanucleus-javax-persistence
+ (package
+ (name "java-datanucleus-javax-persistence")
+ (version "2.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/datanucleus/"
+ "javax.persistence/archive/javax.persistence-"
+ version "-release.tar.gz"))
+ (sha256
+ (base32
+ "11jx0fjwgc2hhbqqgdd6m1pf2fplf9vslppygax0y1z5csnqjhpx"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "java-datanucleus-javax-persistence.jar"
+ #:jdk ,icedtea-8
+ #:source-dir "src/main/java"
+ #:tests? #f)); no tests
+ (home-page "https://github.com/datanucleus/javax.persistence")
+ (synopsis "JPA API")
+ (description "This package contains a clean definition of JPA API intended
+for use with DataNucleus JPA since the JCP haven't provided an official JPA API
+jar. See @url{http://java.net/projects/jpa-spec/downloads} for the specification
+used to generate this API.")
+ (license (list license:edl1.0 license:epl1.0))))