diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-04-08 23:53:52 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-04-11 05:42:38 +0200 |
commit | 5c44505b6db1fc8c88e0e6aca4d332e46745b588 (patch) | |
tree | b1c5c98d7fe5f6bb6a283f7bd1dc11aefd3de3c5 /gnu/packages/java.scm | |
parent | 8f33d05e22040c0d00b31b0aed95759cc07fc65e (diff) | |
download | guix-5c44505b6db1fc8c88e0e6aca4d332e46745b588.tar.gz |
gnu: java-cglib: Don't use unstable tarball.
* gnu/packages/java.scm (java-cglib)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r-- | gnu/packages/java.scm | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 51c21b68cc..a47a1a008c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -4027,16 +4027,18 @@ complex transformations and code analysis tools.") (package (name "java-cglib") (version "3.2.4") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/cglib/cglib/archive/RELEASE_" - (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version) - ".tar.gz")) - (file-name (string-append "cglib-" version ".tar.gz")) - (sha256 - (base32 - "162dvd4fln76ai8prfharf66pn6r56p3sxx683j5vdyccrd5hi1q")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cglib/cglib.git") + (commit (string-append + "RELEASE_" + (string-map (lambda (c) (if (char=? c #\.) #\_ c)) + version))))) + (file-name (git-file-name name version)) + (sha256 + (base32 "186451jms2zfp47yd8kxd77az2cqal1my2br7klgyp8fpl4qfg8v")))) (build-system ant-build-system) (arguments `(;; FIXME: tests fail because junit runs |