From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyiTJ-0001lK-V1 for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyiTI-00015V-Io for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyiTI-00015M-FW for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyiTI-0001dc-95 for guix-patches@gnu.org; Sun, 01 Oct 2017 13:56:08 -0400 Subject: [bug#28663] [PATCH 13/22] gnu: Add java-osgi-util-promise. Resent-Message-ID: From: julien@lepiller.eu Date: Sun, 1 Oct 2017 19:53:25 +0200 Message-Id: <20171001175334.2694-13-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-osgi-util-promise): New variable. --- gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 74bf2e3fa..27db95c25 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5026,3 +5026,32 @@ the names for the attributes and directives for a service namespace.") and service platform for the Java programming language. This package contains an interface for a function that accepts a single argument and produces a result.") (license license:asl2.0))) + +(define-public java-osgi-util-promise + (package + (name "java-osgi-util-promise") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append "http://central.maven.org/maven2/org/osgi/" + "org.osgi.util.promise/" + version "/org.osgi.util.promise-" + version "-sources.jar")) + (sha256 + (base32 + "0y34dwiflg1c4ahvkswpf9z02xph2sr9fm04ia5493x3lshpw22c")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "osgi-util-promise.jar" + #:tests? #f)); no tests + (inputs + `(("annotation" ,java-osgi-annotation) + ("function" ,java-osgi-util-function))) + (home-page "http://www.osgi.org") + (synopsis "Promise of a value") + (description + "OSGi, for Open Services Gateway initiative framework, is a module system +and service platform for the Java programming language. This package contains +an interface and utilitary classes for promises. A Promise represents a future +value. It handles the interactions for asynchronous processing.") + (license license:asl2.0))) -- 2.14.1