From ddc56b8068ef0ffa9c135f4a631fe40f379096d6 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 2 May 2018 19:00:54 +0300 Subject: [PATCH] gnu: Add emacs-esup. * gnu/packages/emacs.scm (emacs-esup): New public variable. --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 9370f4b93a..aed1a0d723 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -8760,3 +8760,28 @@ (define-public emacs-let-alist (description "This package offers a single macro, @code{let-alist}. This macro takes a first argument (whose value must be an alist) and a body.") (license license:gpl3+))) + +(define-public emacs-esup + (let ((commit "a589005a9a888537deef94d6fe38a9b8790c97c7") + (revision "1")) + (package + (name "emacs-esup") + (version (string-append "0.6" "-" revision "." + (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jschaf/esup.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "04lxmd0h7mfjjl0qghrycgff0vcv950j1wqv0dbkr61jxp64n5fv")))) + ;; TODO: Add tests + (build-system emacs-build-system) + (home-page "https://github.com/jschaf/esup") + (synopsis "Emacs start up profiler") + (description "Benchmark Emacs Startup time without ever leaving +your Emacs.") + (license license:gpl2+))))