gnu: java-groovy-bootstrap: Don't use unstable tarball.
* gnu/packages/groovy.scm (java-groovy-bootstrap)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
3047c7baae
commit
ef6a5fcc30
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
|
||||||
|
;;; Copyright © 2019 Tobias Geerinck-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system ant)
|
#:use-module (guix build-system ant)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
@ -30,18 +32,20 @@
|
||||||
(package
|
(package
|
||||||
(name "java-groovy-bootstrap")
|
(name "java-groovy-bootstrap")
|
||||||
(version "2.4.15")
|
(version "2.4.15")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/apache/groovy/archive/GROOVY_"
|
(method git-fetch)
|
||||||
(string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)
|
(uri (git-reference
|
||||||
".tar.gz"))
|
(url "https://github.com/apache/groovy.git")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(commit (string-append
|
||||||
(sha256
|
"GROOVY_"
|
||||||
(base32
|
(string-map (lambda (x) (if (eq? x #\.) #\_ x))
|
||||||
"19f3yd2z6jmz1xhwi5kkg1wmgbqkfs7qvd3rzb43xr3nffz8cisv"))
|
version)))))
|
||||||
(patches
|
(file-name (git-file-name name version))
|
||||||
(search-patches
|
(sha256
|
||||||
"groovy-add-exceptionutilsgenerator.patch"))))
|
(base32 "1q4cplimr18j93zz92kgq8b6wdv0p9svr7cdr47q8b2mbjpd0x3j"))
|
||||||
|
(patches
|
||||||
|
(search-patches "groovy-add-exceptionutilsgenerator.patch"))))
|
||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:jar-name "groovy.jar"
|
`(#:jar-name "groovy.jar"
|
||||||
|
|
Loading…
Reference in New Issue