aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/maven-parent-pom.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-12-19 22:04:01 +0100
committerJulien Lepiller <julien@lepiller.eu>2022-02-05 20:16:09 +0100
commit19bc914655de74b5295ba67c7456762acd6c2bac (patch)
tree33bdecfe96be6f97c97113e4f675fdb8e1c7c022 /gnu/packages/maven-parent-pom.scm
parent4c081c53ab77ec97a0c5b11758f26350e97a61b7 (diff)
downloadguix-19bc914655de74b5295ba67c7456762acd6c2bac.tar
guix-19bc914655de74b5295ba67c7456762acd6c2bac.tar.gz
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.
Diffstat (limited to 'gnu/packages/maven-parent-pom.scm')
-rw-r--r--gnu/packages/maven-parent-pom.scm11
1 files 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