gnu: stex: Don't use unstable tarball.

* gnu/packages/chez.scm (stex)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
(chez-scheme)[arguments]: Adjust expected source directory name.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-16 16:41:57 +01:00
parent 2f1ab47772
commit fbf4122360
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 7 deletions

View File

@ -52,12 +52,12 @@
(define stex (define stex
(let ((version "1.2.1")) (let ((version "1.2.1"))
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/dybvig/stex/archive" (url "https://github.com/dybvig/stex.git")
"/v" version ".tar.gz")) (commit (string-append "v" version))))
(sha256 (base32 "03pl3f668h24dn51vccr1sj5lsba9zq3j37bnxjvdadcdaj4qy5z")) (sha256 (base32 "1jiawhhqnsj42hzmlbq5xby3iarhf8vhiqs0kg1a0zg5jsn6cf8n"))
(file-name (string-append "stex-" version ".tar.gz"))))) (file-name (git-file-name "stex" version)))))
(define-public chez-scheme (define-public chez-scheme
(package (package
@ -143,7 +143,7 @@
(delete-file-recursively new-name) (delete-file-recursively new-name)
(invoke "mv" orig-name new-name))) (invoke "mv" orig-name new-name)))
`((,nanopass "source" "nanopass") `((,nanopass "source" "nanopass")
(,stex "stex-1.2.1" "stex"))) (,stex "source" "stex")))
;; The Makefile wants to download and compile "zlib". We patch ;; The Makefile wants to download and compile "zlib". We patch
;; it to use the one from our 'zlib' package. ;; it to use the one from our 'zlib' package.
(substitute* "configure" (substitute* "configure"