From 19bc914655de74b5295ba67c7456762acd6c2bac Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 19 Dec 2021 22:04:01 +0100 Subject: 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(-) (limited to 'gnu/packages/maven-parent-pom.scm') 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 @@ (define-public apache-parent-pom-23 (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 @@ (define (make-apache-commons-parent-pom version hash parent) (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 @@ (define-public apache-commons-parent-pom-50 "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 -- cgit v1.2.3