gnu: icecat: Fix source URI.

* gnu/packages/gnuzilla.scm (icecat)[source]: Fix source URI computation.
This commit is contained in:
Mark H Weaver 2015-04-06 09:38:54 -04:00
parent 7e84e1994a
commit 07d4d9b751
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages gnuzilla) (define-module (gnu packages gnuzilla)
#:use-module ((srfi srfi-1) #:hide (zip))
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
@ -224,7 +225,8 @@ standards.")
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/gnuzilla/" (uri (string-append "mirror://gnu/gnuzilla/"
version "/" name "-" version ".tar.bz2")) (first (string-split version #\-)) "/"
name "-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1a4l23msg4cpc4yp59q2z6xv63r6advlbnjy65v4djv6yhgnqf1i")))) "1a4l23msg4cpc4yp59q2z6xv63r6advlbnjy65v4djv6yhgnqf1i"))))