roptat pushed a commit to branch master
in repository guix.
commit 19bc914655de74b5295ba67c7456762acd6c2bac
Author: Julien Lepiller <[email protected]>
AuthorDate: Sun Dec 19 22:04:01 2021 +0100
gnu: Add apache-commons-parent-pom-52.
* gnu/packages/maven-parent-pom.scm (apache-commons-parent-pom-52): New
variable.
(make-apache-commons-parent-pom): Add optional tag-prefix input.
---
gnu/packages/maven-parent-pom.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/maven-parent-pom.scm
b/gnu/packages/maven-parent-pom.scm
index 9919a66105..8a70791353 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -88,7 +88,8 @@
(make-apache-parent-pom
"23" "05c8i741f0m4311q264zvq0lc6srsyz2x95ga4d7qfd89swkzg9d"))
-(define (make-apache-commons-parent-pom version hash parent)
+(define* (make-apache-commons-parent-pom version hash parent
+ #:key (tag-prefix "commons-parent-"))
(hidden-package
(package
(name "apache-commons-parent-pom")
@@ -97,7 +98,7 @@
(method git-fetch)
(uri (git-reference
(url "https://github.com/apache/commons-parent")
- (commit (string-append "commons-parent-" version))))
+ (commit (string-append tag-prefix version))))
(file-name (git-file-name name version))
(sha256 (base32 hash))))
(build-system ant-build-system)
@@ -138,6 +139,12 @@
"50" "0ki8px35dan51ashblpw6rdl27c2fq62slazhslhq3lr4fwlpvxs"
apache-parent-pom-21))
+(define-public apache-commons-parent-pom-52
+ (make-apache-commons-parent-pom
+ "52" "0fb6id9cs9944fjlirjc07bf234bwi96i642px09m9nrfj338n5d"
+ apache-parent-pom-23
+ #:tag-prefix "rel/commons-parent-"))
+
(define-public java-weld-parent-pom
(hidden-package
(package