gnu: emacs-detached: Update to 0.7.
* gnu/packages/emacs-xyz.scm (emacs-detached): Update to 0.7. (emacs-dtache): Define as a deprecated alias. I have both renamed the package dtache -> detached as well as moving the development from gitlab to sourcehut. This patch reflects those changes, as well as updating to the latest release of the package. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
4f122abfe0
commit
3a5540a12c
|
@ -24348,49 +24348,52 @@ indentation and a command to plot the file.")
|
||||||
according to their use.")
|
according to their use.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-dtache
|
(define-public emacs-detached
|
||||||
(package
|
(package
|
||||||
(name "emacs-dtache")
|
(name "emacs-detached")
|
||||||
(version "0.5")
|
(version "0.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://gitlab.com/niklaseklund/dtache")
|
(url "https://git.sr.ht/~niklaseklund/detached.el")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"05gm5l533y8xr00w3c3i4fbhzhib6i7q2bbnpkm08w1n8a08iaj5"))))
|
"160h60vrpxslw6y290ndc065cc75dab58aq7kjqash94vkifnii2"))))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? #t
|
#:tests? #t
|
||||||
#:test-command #~(list "ert-runner")
|
#:test-command #~(list "ert-runner")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'install 'install-dtache-env
|
(add-before 'install 'install-detached-env
|
||||||
(lambda _
|
(lambda _
|
||||||
(install-file "dtache-env" (string-append #$output "/bin"))))
|
(install-file "detached-env" (string-append #$output "/bin"))))
|
||||||
(add-after 'unpack 'configure
|
(add-after 'unpack 'configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(make-file-writable "dtache.el")
|
(make-file-writable "detached.el")
|
||||||
(emacs-substitute-variables "dtache.el"
|
(emacs-substitute-variables "detached.el"
|
||||||
("dtache-env"
|
("detached-env"
|
||||||
(string-append #$output "/bin/dtache-env"))
|
(string-append #$output "/bin/detached-env"))
|
||||||
("dtache-dtach-program"
|
("detached-dtach-program"
|
||||||
(search-input-file inputs "/bin/dtach"))
|
(search-input-file inputs "/bin/dtach"))
|
||||||
("dtache-shell-program"
|
("detached-shell-program"
|
||||||
(search-input-file inputs "/bin/bash"))))))))
|
(search-input-file inputs "/bin/bash"))))))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(native-inputs (list emacs-ert-runner))
|
(native-inputs (list emacs-ert-runner))
|
||||||
(inputs (list dtach))
|
(inputs (list dtach))
|
||||||
(home-page "https://gitlab.com/niklaseklund/dtache")
|
(home-page "https://git.sr.ht/~niklaseklund/detached.el")
|
||||||
(synopsis "Run and interact with detached shell commands")
|
(synopsis "A package to launch, and manage, detached processes")
|
||||||
(description
|
(description
|
||||||
"The dtache package allows users to run shell commands
|
"The detached package allows users to run processes
|
||||||
detached from Emacs. These commands are launched in sessions, using the
|
detached from Emacs. It provides integration with multiple built-in modes, as
|
||||||
program dtach.")
|
well as providing an interface to attach and interact with the processes.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public emacs-dtache
|
||||||
|
(deprecated-package "emacs-dtache" emacs-detached))
|
||||||
|
|
||||||
(define-public emacs-dtrt-indent
|
(define-public emacs-dtrt-indent
|
||||||
(package
|
(package
|
||||||
(name "emacs-dtrt-indent")
|
(name "emacs-dtrt-indent")
|
||||||
|
|
Reference in New Issue