me
/
guix
Archived
1
0
Fork 0

gnu: emacs-dtache: Update to 0.4.

* gnu/packages/emacs-xyz.scm (emacs-dtache): Update to 0.4.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
Niklas Eklund 2022-01-22 21:46:17 +01:00 committed by Nicolas Goaziou
parent f041ac2f66
commit 7249b67d9c
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 41 additions and 44 deletions

View File

@ -23361,52 +23361,49 @@ according to their use.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-dtache (define-public emacs-dtache
;; XXX: The following commit includes a fix for a test. (package
(let ((commit "9e0acd552db62fb696bafb6b9ba9a78522309dd8") (name "emacs-dtache")
(revision "0")) (version "0.4")
(package (source (origin
(name "emacs-dtache") (method git-fetch)
(version (git-version "0.3" revision commit)) (uri (git-reference
(source (origin (url "https://gitlab.com/niklaseklund/dtache")
(method git-fetch) (commit version)))
(uri (git-reference (file-name (git-file-name name version))
(url "https://gitlab.com/niklaseklund/dtache") (sha256
(commit commit))) (base32
(file-name (git-file-name name version)) "1hndv0qzibkc4177lkam30j8cgvzxd8r60v3dnqn2bmrgxw04j6b"))))
(sha256 (arguments
(base32 (list
"1jb48x33mhb4awnjrqi268wigp07j08xi02s9yhg8b04l6mnms0d")))) #:tests? #t
(arguments #:test-command #~(list "ert-runner")
(list #:phases
#:tests? #t #~(modify-phases %standard-phases
#:test-command #~(list "ert-runner") (add-before 'install 'install-dtache-env
#:phases (lambda _
#~(modify-phases %standard-phases (install-file "dtache-env" (string-append #$output "/bin"))))
(add-before 'install 'install-dtache-env (add-after 'unpack 'configure
(lambda _ (lambda* (#:key inputs #:allow-other-keys)
(install-file "dtache-env" (string-append #$output "/bin")))) (make-file-writable "dtache.el")
(add-after 'unpack 'configure (emacs-substitute-variables "dtache.el"
(lambda* (#:key inputs #:allow-other-keys) ("dtache-env" (string-append #$output
(make-file-writable "dtache.el") "/bin/dtache-env"))
(emacs-substitute-variables "dtache.el" ("dtache-dtach-program" (search-input-file
("dtache-env" (string-append #$output inputs
"/bin/dtache-env")) "/bin/dtach"))
("dtache-dtach-program" (search-input-file ("dtache-shell-program" (search-input-file
inputs inputs
"/bin/dtach")) "/bin/bash"))))))))
("dtache-shell-program" (search-input-file (build-system emacs-build-system)
inputs (native-inputs (list emacs-ert-runner))
"/bin/bash")))))))) (inputs (list dtach))
(build-system emacs-build-system) (home-page "https://gitlab.com/niklaseklund/dtache")
(native-inputs (list emacs-ert-runner)) (synopsis "Run and interact with detached shell commands")
(inputs (list dtach)) (description
(home-page "https://gitlab.com/niklaseklund/dtache") "The dtache package allows users to run shell commands
(synopsis "Run and interact with detached shell commands")
(description
"The dtache package allows users to run shell commands
detached from Emacs. These commands are launched in sessions, using the detached from Emacs. These commands are launched in sessions, using the
program dtach.") program dtach.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-dtrt-indent (define-public emacs-dtrt-indent
(package (package