From c2b14516e8f813a87c4aa9a29970226d5ec969b0 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 1 Oct 2017 18:48:34 +0200 Subject: [PATCH] gnu: Add java-osgi-namespace-contract. * gnu/packages/java.scm (java-osgi-namespace-contract): New variable. --- gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 841122e81c..515188b04f 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -4886,3 +4886,31 @@ objects of the listed types or aggregates.") and service platform for the Java programming language. This package contains the definition of common types in osgi packages.") (license license:asl2.0))) + +(define-public java-osgi-namespace-contract + (package + (name "java-osgi-namespace-contract") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append "http://central.maven.org/maven2/org/osgi/" + "org.osgi.namespace.contract/" + version "/org.osgi.namespace.contract-" + version "-sources.jar")) + (sha256 + (base32 + "1iz4f2i0fvqrlq90ki9nfzcfpvy2av434ri25bglywqssx8mmp36")))) + (build-system ant-build-system) + (inputs + `(("resource" ,java-osgi-resource) + ("annotation" ,java-osgi-annotation))) + (arguments + `(#:jar-name "osgi-namespace-contract.jar" + #:tests? #f)); no tests + (home-page "http://www.osgi.org") + (synopsis "Contract Capability and Requirement Namespace") + (description + "OSGi, for Open Services Gateway initiative framework, is a module system +and service platform for the Java programming language. This package contains +the names for the attributes and directives for a namespace with contracts.") + (license license:asl2.0)))