gnu: emacs-pdf-tools: Use 'git-fetch'.
* gnu/packages/emacs.scm (emacs-pdf-tools)[source]: Switch to GIT-FETCH. [arguments]: In 'emacs-patch-variables' phase, make files writable.
This commit is contained in:
parent
e1f7912761
commit
c3d8c6ac7e
|
@ -1593,15 +1593,15 @@ filters, new key bindings and faces. It can be enabled by
|
||||||
(package
|
(package
|
||||||
(name "emacs-pdf-tools")
|
(name "emacs-pdf-tools")
|
||||||
(version "0.80")
|
(version "0.80")
|
||||||
|
(home-page "https://github.com/politza/pdf-tools")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference (url home-page)
|
||||||
"https://github.com/politza/pdf-tools/archive/v"
|
(commit (string-append "v" version))))
|
||||||
version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06imydn3a92vr57azpn1zhqc14kxyyslmyi9ldsyphan9b724gb6"))))
|
"1i4647vax5na73basc5dz4lh9kprir00fh8ps4i0l1y3ippnjs2s"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; there are no tests
|
`(#:tests? #f ; there are no tests
|
||||||
|
@ -1626,6 +1626,8 @@ filters, new key bindings and faces. It can be enabled by
|
||||||
(lambda _ (chdir "../lisp") #t))
|
(lambda _ (chdir "../lisp") #t))
|
||||||
(add-after 'enter-lisp-dir 'emacs-patch-variables
|
(add-after 'enter-lisp-dir 'emacs-patch-variables
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(for-each make-file-writable (find-files "."))
|
||||||
|
|
||||||
;; Set path to epdfinfo program.
|
;; Set path to epdfinfo program.
|
||||||
(emacs-substitute-variables "pdf-info.el"
|
(emacs-substitute-variables "pdf-info.el"
|
||||||
("pdf-info-epdfinfo-program"
|
("pdf-info-epdfinfo-program"
|
||||||
|
@ -1659,7 +1661,6 @@ filters, new key bindings and faces. It can be enabled by
|
||||||
files. The key difference is that pages are not pre-rendered by
|
files. The key difference is that pages are not pre-rendered by
|
||||||
e.g. ghostscript and stored in the file-system, but rather created on-demand
|
e.g. ghostscript and stored in the file-system, but rather created on-demand
|
||||||
and stored in memory.")
|
and stored in memory.")
|
||||||
(home-page "https://github.com/politza/pdf-tools")
|
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-dash
|
(define-public emacs-dash
|
||||||
|
|
Loading…
Reference in New Issue