summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 16:17:59 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:17:07 +0200
commit721a00c06a17158ae48d9518527230595e7668a7 (patch)
tree383b64fa1dc47e38712d3dee6979ad1dfb9b956d
parent457efe296e87805879e2ccbef34b71f169c1e2ea (diff)
downloadguix-721a00c06a17158ae48d9518527230595e7668a7.tar.gz
gnu: Add maven-3.0-repository-metadata.
* gnu/packages/maven.scm (maven-3.0-repository-metadata): New variable.
-rw-r--r--gnu/packages/maven.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 95a5779472..2c18e179eb 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2229,3 +2229,16 @@ reporting or the build process.")))
     (native-inputs
      `(("java-plexus-container-default" ,java-plexus-container-default)
        ,@(package-native-inputs maven-plugin-api)))))
+
+(define-public maven-3.0-repository-metadata
+  (package
+    (inherit maven-repository-metadata)
+    (version (package-version maven-3.0-pom))
+    (source (package-source maven-3.0-pom))
+    (propagated-inputs
+      (map
+        (lambda (input)
+          (if (equal? (car input) "maven-pom")
+              `("maven-pom" ,maven-3.0-pom)
+              input))
+        (package-propagated-inputs maven-repository-metadata)))))