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.
This commit is contained in:
Julien Lepiller 2021-12-19 22:04:01 +01:00
parent 4c081c53ab
commit 19bc914655
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -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