guix-commits
[Top][All Lists]
Advanced

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

15/110: gnu: Add apache-commons-parent-pom-39.


From: guix-commits
Subject: 15/110: gnu: Add apache-commons-parent-pom-39.
Date: Thu, 16 Jul 2020 22:23:13 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 506165869207f2356fb46df5889b33f8e873a7f9
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 14:28:59 2020 +0200

    gnu: Add apache-commons-parent-pom-39.
    
    * gnu/packages/maven-parent-pom.scm (apache-commons-parent-pom-39): New
    variable.
---
 gnu/packages/maven-parent-pom.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/maven-parent-pom.scm 
b/gnu/packages/maven-parent-pom.scm
index 073ac36..d40209d 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -81,3 +81,38 @@
 (define-public apache-parent-pom-21
   (make-apache-parent-pom
     "21" "0clcbrq1b2b8sbvlqddyw2dg5niq25dhdma9sk4b0i30hqaipx96"))
+
+(define (make-apache-commons-parent-pom version hash parent)
+  (hidden-package
+    (package
+      (name "apache-commons-parent-pom")
+      (version version)
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/apache/commons-parent";)
+                       (commit (string-append "commons-parent-" version))))
+                (file-name (git-file-name name version))
+                (sha256 (base32 hash))))
+      (build-system ant-build-system)
+      (arguments
+       `(#:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (delete 'build)
+           (replace 'install
+             (install-pom-file "pom.xml")))))
+      (propagated-inputs
+        (if parent
+            `(("parent" ,parent))
+            '()))
+      (home-page "https://maven.apache.org/";)
+      (synopsis "Apache Commons parent pom")
+      (description "This package contains the Apache Commons parent POM.")
+      (license license:asl2.0))))
+
+(define-public apache-commons-parent-pom-39
+  (make-apache-commons-parent-pom
+    "39" "0mjx48a55ik1h4hsxhifkli1flvkp6d05ab14p4al0fc6rhdxi46"
+    apache-parent-pom-16))



reply via email to

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