gnu: emacs-sx: Fix byte compilation.

The package would fail building when attempting to create a cache
directory. This has been fixed upstream but not in a tagged release.

* gnu/packages/emacs.scm (emacs-sx): Update to latest git version.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
Maxim Cournoyer 2018-03-19 21:28:42 -04:00 committed by Arun Isaac
parent 9835a71d80
commit 582c122e7b
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 24 additions and 19 deletions

View File

@ -1738,26 +1738,31 @@ strings.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public emacs-sx (define-public emacs-sx
(let ((version "20180212")
(revision "1")
(commit "833435fbf90d1c9e927d165b155f3b1ef39271de"))
(package (package
(name "emacs-sx") (name "emacs-sx")
(version "0.4") (version (git-version version revision commit))
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/vermiculus/sx.el/" (method git-fetch)
"archive/v" version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/vermiculus/sx.el")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03")))) "1369xaxq1vy3d9yh862ddnhddikdpg2d0wv1ly00pnvdp9v4cqgd"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(propagated-inputs (propagated-inputs
`(("emacs-markdown-mode" ,emacs-markdown-mode))) `(("emacs-markdown-mode" ,emacs-markdown-mode)))
(home-page "https://github.com/vermiculus/sx.el/") (home-page "https://github.com/vermiculus/sx.el")
(synopsis "Emacs StackExchange client") (synopsis "Emacs StackExchange client")
(description (description
"Emacs StackExchange client. Ask and answer questions on "Emacs StackExchange client. Ask and answer questions on
Stack Overflow, Super User, and other StackExchange sites.") Stack Overflow, Super User, and other StackExchange sites.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-f (define-public emacs-f
(package (package