guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

74/110: gnu: Add maven-3.0-repository-metadata.


From: guix-commits
Subject: 74/110: gnu: Add maven-3.0-repository-metadata.
Date: Thu, 16 Jul 2020 22:23:31 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 721a00c06a17158ae48d9518527230595e7668a7
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 16:17:59 2020 +0200

    gnu: Add maven-3.0-repository-metadata.
    
    * gnu/packages/maven.scm (maven-3.0-repository-metadata): New variable.
---
 gnu/packages/maven.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 95a5779..2c18e17 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]