guix-commits
[Top][All Lists]
Advanced

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

70/110: gnu: Add maven-3.0-settings.


From: guix-commits
Subject: 70/110: gnu: Add maven-3.0-settings.
Date: Thu, 16 Jul 2020 22:23:30 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit ba58d208d477463291e90685faee78e0465bd33a
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 16:09:13 2020 +0200

    gnu: Add maven-3.0-settings.
    
    * gnu/packages/maven.scm (maven-3.0-settings): 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 3a3e7cf..4c46521 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2150,3 +2150,16 @@ reporting or the build process.")))
     (inputs
       `(("maven-source" ,(package-source maven-pom))
         ,@(package-inputs maven-model)))))
+
+(define-public maven-3.0-settings
+  (package
+    (inherit maven-settings)
+    (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-settings)))))



reply via email to

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