~ruther/guix-local

b1d3e0a93bf12a29fc43144156a181f409e6b362 — Efraim Flashner 9 years ago 4b0e636
gnu: ots: Add download mirror.

* gnu/packages/ots.scm (ots)[source]: Add Debian mirror.
1 files changed, 8 insertions(+), 3 deletions(-)

M gnu/packages/ots.scm
M gnu/packages/ots.scm => gnu/packages/ots.scm +8 -3
@@ 1,5 1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 35,9 36,13 @@
    (source
     (origin
       (method url-fetch)
       (uri (string-append "mirror://sourceforge/libots/libots/"
                           name "-" version "/" name "-" version
                           ".tar.gz"))
       ;; libots seems to have left sourceforge and taken their release
       ;; tarballs with them
       (uri (list (string-append "mirror://debian/pool/main/o/ots/ots_"
                                 version ".orig.tar.gz")
                  (string-append "mirror://sourceforge/libots/libots/"
                                 name "-" version "/" name "-" version
                                 ".tar.gz")))
       (sha256
        (base32 "0dz1ccd7ymzk4swz1aly4im0k3pascnshmgg1whd2rk14li8v47a"))
       (patches (search-patches "ots-no-include-missing-file.patch"))))