gnu: python-sphinx-gallery: Don't use unstable tarball.

* gnu/packages/sphinx.scm (python-sphinx-gallery)[source]: Download
using git-fetch.
This commit is contained in:
Efraim Flashner 2019-11-13 22:10:44 +02:00
parent 520cca28ee
commit d090a1c15a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -30,6 +30,7 @@
(define-module (gnu packages sphinx)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
@ -375,13 +376,14 @@ (define-public python-sphinx-gallery
(name "python-sphinx-gallery")
(version "0.1.13")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/sphinx-gallery/sphinx-gallery"
"/archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/sphinx-gallery/sphinx-gallery")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"03fs99mcb1r7qp0xixqv07vcz98sk21yq19ffdysi0infdcpzfkd"))))
"14nbqh9krx2l2y2ylbln6l6w8iak3wac1lngvaf278y1cx7685kg"))))
(build-system python-build-system)
(arguments
;; FIXME: Tests attempt to download <https://docs.python.org/3/objects.inv>,