diff options
author | Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | 2019-03-04 19:10:35 +0100 |
---|---|---|
committer | Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | 2019-10-13 22:35:04 +0200 |
commit | 44bac44ca13d0b79a32bfd8f96601fff78bd4cd0 (patch) | |
tree | 6766036efd0f3daef21e0b5d6de766b02f2322f5 /gnu | |
parent | d967fbc13aaf47c8d7edc4102e45f2eaf8902ed8 (diff) | |
download | patches-44bac44ca13d0b79a32bfd8f96601fff78bd4cd0.tar patches-44bac44ca13d0b79a32bfd8f96601fff78bd4cd0.tar.gz |
gnu: java-javaee-servletapi: Don't use unstable tarball.
* gnu/packages/java.scm (java-javaee-servletapi)[source]: Use git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/java.scm | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d9ea5526b8..9c1cec2aa4 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2018, 2019 Gábor Boskovits <boskovits@gmail.com> ;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> ;;; ;;; This file is part of GNU Guix. ;;; @@ -2940,14 +2941,15 @@ API and version 2.1 of the Java ServerPages API.") (package (name "java-javaee-servletapi") (version "3.1.0") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/javaee/servlet-spec/" - "archive/" version ".zip")) - (file-name (string-append name "-" version ".zip")) - (sha256 - (base32 - "0m6p13vgfb1ihich1jp5j6fqlhkjsrkn32c86bsbkryp38ipwg8w")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/javaee/servlet-spec.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0s03lj8w5an70lkqbjycgfrfk0kc07vbfav91jzk87gh3awf9ksl")))) (build-system ant-build-system) (arguments `(#:jar-name "javax-servletapi.jar" |