gnu: Add emacs-explain-pause-mode.

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
This commit is contained in:
Morgan Smith 2020-08-12 19:45:48 +03:00 committed by Oleg Pykhalov
parent 9856346be4
commit df403985ed
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -3311,6 +3311,39 @@ (define-public emacs-expand-region
@code{er/contract-region} if you expand too far.")
(license license:gpl3+)))
(define-public emacs-explain-pause-mode
(let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51")
(revision "0"))
(package
(name "emacs-explain-pause-mode")
(version (git-version "0.1" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lastquestion/explain-pause-mode")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0frnfwqal9mrnrz6q4v7vcai26ahaw81894arff1yjw372pfgv7v"))))
(build-system emacs-build-system)
(native-inputs
`(("emacs" ,emacs-buttercup)))
(arguments
'(#:tests? #t
;; Don't run case-tests as they will fail to create sockets because
;; the path is too long
#:test-command '("make" "byte-compile" "unit-tests")
;; Parallel testing will cause the tests to run before
;; byte-compilation is finished
#:parallel-tests? #f))
(home-page "https://github.com/lastquestion/explain-pause-mode")
(synopsis "Provides a top like interface to determine why Emacs paused")
(description "Monitors Emacs function calls and records their execution
time. This information can be reviewed to determine what is causing the user
interface to pause.")
(license license:gpl3+))))
(define-public emacs-fill-column-indicator
(package
(name "emacs-fill-column-indicator")