From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyiTF-0001hZ-Cj for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyiTE-0000z7-6H for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyiTE-0000z2-3E for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyiTD-0001cX-RU for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:03 -0400 Subject: [bug#28663] [PATCH 04/22] gnu: Add java-datanucleus-javax-persistence. Resent-Message-ID: From: julien@lepiller.eu Date: Sun, 1 Oct 2017 19:53:16 +0200 Message-Id: <20171001175334.2694-4-julien@lepiller.eu> In-Reply-To: <20171001175334.2694-1-julien@lepiller.eu> References: <20171001194418.67936d4e@lepiller.eu> <20171001175334.2694-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28663@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-datanucleus-javax-persistence): New variable. --- gnu/packages/java.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 6973840c1..854d617d5 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -4773,4 +4773,30 @@ Emulator. It allows to demonstrate MIDlet based applications in web browser applet and can be run as a standalone java application.") (license (list license:asl2.0 ;; or altenatively: - license:lgpl2.1+))) + 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)))) -- 2.14.1