diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-04-01 00:23:21 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-05-03 02:30:20 +0200 |
| commit | 3f6d67857e32c8376cf5138eb52b2c2c80176d3f (patch) | |
| tree | 26ef5329805752a76b697590d8e656600b6b15b8 /gnu/packages/java.scm | |
| parent | 38f23ddef4580dbeff1f3596777465b3ca3b192d (diff) | |
gnu: Add java-osgi-cmpn@7.0.0.
* gnu/packages/java.scm (java-osgi-cmpn-7.0.0): New variable.
Change-Id: I46241e04d4250c24ff0056ffd882d75aeac130ec
Diffstat (limited to 'gnu/packages/java.scm')
| -rw-r--r-- | gnu/packages/java.scm | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index f372b6cb3cb..59507d11985 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -9908,6 +9908,107 @@ the compendium specification module, providing interfaces and classes for use | |||
| 9908 | in compiling bundles.") | 9908 | in compiling bundles.") |
| 9909 | (license license:asl2.0))) | 9909 | (license license:asl2.0))) |
| 9910 | 9910 | ||
| 9911 | (define-public java-osgi-cmpn-7.0.0 | ||
| 9912 | ;; Upstream uses release-train tags for the monorepo; osgi.cmpn/bnd.bnd | ||
| 9913 | ;; emits artifact version 7.0.0 from the r7-cmpn-spec-final checkout. | ||
| 9914 | (let ((tag "r7-cmpn-spec-final")) | ||
| 9915 | (package | ||
| 9916 | (name "java-osgi-cmpn") | ||
| 9917 | (version "7.0.0") | ||
| 9918 | (source (origin | ||
| 9919 | (method git-fetch) | ||
| 9920 | (uri (git-reference | ||
| 9921 | (url "https://github.com/osgi/osgi") | ||
| 9922 | (commit tag))) | ||
| 9923 | (modules '((guix build utils))) | ||
| 9924 | (snippet | ||
| 9925 | '(begin | ||
| 9926 | (for-each delete-file | ||
| 9927 | (find-files "." "\\.jar$")) | ||
| 9928 | #t)) | ||
| 9929 | (file-name (git-file-name name version)) | ||
| 9930 | (sha256 | ||
| 9931 | (base32 | ||
| 9932 | "08i8d2y7awr09809qwnv7l5hzqi5di3sv21bvgrmhibm07hr4ml9")))) | ||
| 9933 | (build-system ant-build-system) | ||
| 9934 | (arguments | ||
| 9935 | (list | ||
| 9936 | #:tests? #f | ||
| 9937 | #:jdk openjdk9 | ||
| 9938 | #:jar-name "osgi-cmpn.jar" | ||
| 9939 | #:phases | ||
| 9940 | #~(modify-phases %standard-phases | ||
| 9941 | (add-after 'unpack 'prepare-source-layout | ||
| 9942 | (lambda _ | ||
| 9943 | (mkdir-p "src") | ||
| 9944 | (for-each | ||
| 9945 | (lambda (directory) | ||
| 9946 | (invoke "cp" "-r" (string-append directory "/.") "src/")) | ||
| 9947 | '("org.osgi.application/src" | ||
| 9948 | "org.osgi.namespace.contract/src" | ||
| 9949 | "org.osgi.namespace.extender/src" | ||
| 9950 | "org.osgi.namespace.implementation/src" | ||
| 9951 | "org.osgi.namespace.service/src" | ||
| 9952 | "org.osgi.namespace.unresolvable/src" | ||
| 9953 | "org.osgi.service.async/src" | ||
| 9954 | "org.osgi.service.application/src" | ||
| 9955 | "org.osgi.service.blueprint/src" | ||
| 9956 | "org.osgi.service.cm/src" | ||
| 9957 | "org.osgi.service.component/src" | ||
| 9958 | "org.osgi.service.component.annotations/src" | ||
| 9959 | "org.osgi.service.configurator/src" | ||
| 9960 | "org.osgi.service.coordinator/src" | ||
| 9961 | "org.osgi.service.deploymentadmin/src" | ||
| 9962 | "org.osgi.service.device/src" | ||
| 9963 | "org.osgi.service.dmt/src" | ||
| 9964 | "org.osgi.service.event/src" | ||
| 9965 | "org.osgi.service.http/src" | ||
| 9966 | "org.osgi.service.http.whiteboard/src" | ||
| 9967 | "org.osgi.service.io/src" | ||
| 9968 | "org.osgi.service.jaxrs/src" | ||
| 9969 | "org.osgi.service.jdbc/src" | ||
| 9970 | "org.osgi.service.jndi/src" | ||
| 9971 | "org.osgi.service.jpa/src" | ||
| 9972 | "org.osgi.service.log/src" | ||
| 9973 | "org.osgi.service.metatype/src" | ||
| 9974 | "org.osgi.service.metatype.annotations/src" | ||
| 9975 | "org.osgi.service.monitor/src" | ||
| 9976 | "org.osgi.service.prefs/src" | ||
| 9977 | "org.osgi.service.provisioning/src" | ||
| 9978 | "org.osgi.service.remoteserviceadmin/src" | ||
| 9979 | "org.osgi.service.repository/src" | ||
| 9980 | "org.osgi.service.rest/src" | ||
| 9981 | "org.osgi.service.serviceloader/src" | ||
| 9982 | "org.osgi.service.subsystem/src" | ||
| 9983 | "org.osgi.service.transaction.control/src" | ||
| 9984 | "org.osgi.service.upnp/src" | ||
| 9985 | "org.osgi.service.useradmin/src" | ||
| 9986 | "org.osgi.service.wireadmin/src" | ||
| 9987 | "org.osgi.util.converter/src" | ||
| 9988 | "org.osgi.util.function/src" | ||
| 9989 | "org.osgi.util.measurement/src" | ||
| 9990 | "org.osgi.util.position/src" | ||
| 9991 | "org.osgi.util.promise/src" | ||
| 9992 | "org.osgi.util.pushstream/src" | ||
| 9993 | "org.osgi.util.xml/src")))) | ||
| 9994 | (add-before 'install 'create-pom | ||
| 9995 | (generate-pom.xml "pom.xml" "org.osgi" "osgi.cmpn" #$version)) | ||
| 9996 | (replace 'install (install-from-pom "pom.xml"))))) | ||
| 9997 | (inputs | ||
| 9998 | (list java-osgi-annotation-8.1.0 | ||
| 9999 | java-osgi-core-8.0.0 | ||
| 10000 | java-classpathx-servletapi | ||
| 10001 | java-microemulator-cldc | ||
| 10002 | java-datanucleus-javax-persistence | ||
| 10003 | java-jaxrs-api-2)) | ||
| 10004 | (home-page "https://www.osgi.org") | ||
| 10005 | (synopsis "Compendium specification module of OSGi framework") | ||
| 10006 | (description "OSGi, for Open Services Gateway initiative framework, is a | ||
| 10007 | module system and service platform for the Java programming language. This | ||
| 10008 | package contains the compendium specification module, providing interfaces | ||
| 10009 | and classes for use in compiling bundles.") | ||
| 10010 | (license license:asl2.0)))) | ||
| 10011 | |||
| 9911 | (define-public java-osgi-service-component-annotations | 10012 | (define-public java-osgi-service-component-annotations |
| 9912 | (package | 10013 | (package |
| 9913 | (name "java-osgi-service-component-annotations") | 10014 | (name "java-osgi-service-component-annotations") |
