gnu: emacs-browse-at-remote: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-browse-at-remote)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Add ‘make-git-checkout-writable’ phase.
This commit is contained in:
parent
53338fa64f
commit
556c06da50
|
@ -7874,14 +7874,13 @@ Idris.")
|
||||||
(version "0.10.0")
|
(version "0.10.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/rmuslimov/browse-at-remote/archive/"
|
(url "https://github.com/rmuslimov/browse-at-remote.git")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0vhia7xmszcb3lxrb8wh93a3knjfzj48h8nhj4fh8zj1pjz6args"))))
|
||||||
"0ymslsp6i1naw25zckv25bf4aaq6qwkbkn95qyzlwg869l802686"))))
|
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("emacs-f" ,emacs-f)
|
`(("emacs-f" ,emacs-f)
|
||||||
|
@ -8095,25 +8094,28 @@ messaging service.")
|
||||||
(version "2.1.0")
|
(version "2.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/szermatt/emacs-bash-completion/archive/v"
|
(url "https://github.com/szermatt/emacs-bash-completion.git")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1a1wxcqzh0javjmxwi3lng5i99xiylm8lm04kv4q1lh9bli6vmv0"))))
|
||||||
"1z0qck3v3ra6ivacn8n04w1v33a4xn01xx860761q31qzsv3sksq"))))
|
|
||||||
(inputs `(("bash" ,bash)))
|
(inputs `(("bash" ,bash)))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'install 'configure
|
(add-after 'unpack 'make-git-checkout-writable
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(λ _
|
||||||
(let ((bash (assoc-ref inputs "bash")))
|
(for-each make-file-writable (find-files "."))
|
||||||
(emacs-substitute-variables "bash-completion.el"
|
#t))
|
||||||
("bash-completion-prog" (string-append bash "/bin/bash"))))
|
(add-before 'install 'configure
|
||||||
#t)))))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((bash (assoc-ref inputs "bash")))
|
||||||
|
(emacs-substitute-variables "bash-completion.el"
|
||||||
|
("bash-completion-prog" (string-append bash "/bin/bash"))))
|
||||||
|
#t)))))
|
||||||
(home-page "https://github.com/szermatt/emacs-bash-completion")
|
(home-page "https://github.com/szermatt/emacs-bash-completion")
|
||||||
(synopsis "Bash completion for the shell buffer")
|
(synopsis "Bash completion for the shell buffer")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue