summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNiklas Eklund <niklas.eklund@posteo.net>2022-01-13 18:19:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-19 18:10:05 +0100
commit6e92790b4201ffad66d987e261b58d0914cfad4d (patch)
tree77d5d7bc0cbee34af2e1b674589d69fbd4ebaf98 /gnu
parent4d7a997ee147acf82c8ca510c0ecd3f520ea74f4 (diff)
gnu: Add emacs-dtache.
* gnu/packages/emacs-xyz.scm (emacs-dtache): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm51
1 files changed, 50 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 267b0b3dfab..90456d28c7e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -78,7 +78,7 @@
78;;; Copyright © 2020 Eric Bavier <bavier@posteo.net> 78;;; Copyright © 2020 Eric Bavier <bavier@posteo.net>
79;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com> 79;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
80;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com> 80;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
81;;; Copyright © 2020, 2021 Niklas Eklund <niklas.eklund@posteo.net> 81;;; Copyright © 2020, 2021, 2022 Niklas Eklund <niklas.eklund@posteo.net>
82;;; Copyright © 2020 Marco Grassi <marco.au.grassi98@protonmail.com> 82;;; Copyright © 2020 Marco Grassi <marco.au.grassi98@protonmail.com>
83;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org> 83;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org>
84;;; Copyright © 2020, 2021 Zhu Zihao <all_but_last@163.com> 84;;; Copyright © 2020, 2021 Zhu Zihao <all_but_last@163.com>
@@ -215,6 +215,7 @@
215 #:use-module (gnu packages password-utils) 215 #:use-module (gnu packages password-utils)
216 #:use-module (gnu packages pulseaudio) 216 #:use-module (gnu packages pulseaudio)
217 #:use-module (gnu packages sphinx) 217 #:use-module (gnu packages sphinx)
218 #:use-module (gnu packages screen)
218 #:use-module (gnu packages xdisorg) 219 #:use-module (gnu packages xdisorg)
219 #:use-module (gnu packages shells) 220 #:use-module (gnu packages shells)
220 #:use-module (gnu packages shellutils) 221 #:use-module (gnu packages shellutils)
@@ -23359,6 +23360,54 @@ indentation and a command to plot the file.")
23359according to their use.") 23360according to their use.")
23360 (license license:gpl3+)))) 23361 (license license:gpl3+))))
23361 23362
23363(define-public emacs-dtache
23364 ;; XXX: The following commit includes a fix for a test.
23365 (let ((commit "9e0acd552db62fb696bafb6b9ba9a78522309dd8")
23366 (revision "0"))
23367 (package
23368 (name "emacs-dtache")
23369 (version (git-version "0.3" revision commit))
23370 (source (origin
23371 (method git-fetch)
23372 (uri (git-reference
23373 (url "https://gitlab.com/niklaseklund/dtache")
23374 (commit commit)))
23375 (file-name (git-file-name name version))
23376 (sha256
23377 (base32
23378 "1jb48x33mhb4awnjrqi268wigp07j08xi02s9yhg8b04l6mnms0d"))))
23379 (arguments
23380 (list
23381 #:tests? #t
23382 #:test-command #~(list "ert-runner")
23383 #:phases
23384 #~(modify-phases %standard-phases
23385 (add-before 'install 'install-dtache-env
23386 (lambda _
23387 (install-file "dtache-env" (string-append #$output "/bin"))))
23388 (add-after 'unpack 'configure
23389 (lambda* (#:key inputs #:allow-other-keys)
23390 (make-file-writable "dtache.el")
23391 (emacs-substitute-variables "dtache.el"
23392 ("dtache-env" (string-append #$output
23393 "/bin/dtache-env"))
23394 ("dtache-dtach-program" (search-input-file
23395 inputs
23396 "/bin/dtach"))
23397 ("dtache-shell-program" (search-input-file
23398 inputs
23399 "/bin/bash"))))))))
23400 (build-system emacs-build-system)
23401 (native-inputs (list emacs-ert-runner))
23402 (inputs (list dtach))
23403 (home-page "https://gitlab.com/niklaseklund/dtache")
23404 (synopsis "Run and interact with detached shell commands")
23405 (description
23406 "The dtache package allows users to run shell commands
23407detached from Emacs. These commands are launched in sessions, using the
23408program dtach.")
23409 (license license:gpl3+))))
23410
23362(define-public emacs-dtrt-indent 23411(define-public emacs-dtrt-indent
23363 (package 23412 (package
23364 (name "emacs-dtrt-indent") 23413 (name "emacs-dtrt-indent")