mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: ots: Add download mirror.
* gnu/packages/ots.scm (ots)[source]: Add Debian mirror.
This commit is contained in:
parent
4b0e636701
commit
b1d3e0a93b
1 changed files with 8 additions and 3 deletions
|
@ -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 @@ (define-public ots
|
|||
(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"))))
|
||||
|
|
Loading…
Reference in a new issue