From cc353cc067904f9d9c57b053a84ce62c6981436b Mon Sep 17 00:00:00 2001 From: Gabriel Hondet Date: Wed, 2 Jan 2019 17:03:32 +0100 Subject: [PATCH] gnu: Add emacs-tldr. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs.scm (emacs-tldr): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/emacs.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 885bb7d5d2..9942779e07 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -12933,3 +12933,25 @@ (define-public emacs-general strings with (@code{kbd ...}), using named prefix key sequences (like the leader key in vim), and much more.") (license license:gpl3+)))) + +(define-public emacs-tldr + (let ((commit "398b197c8d2238628b07e1b32d0f373876279f4c")) + (package + (name "emacs-tldr") + (version (git-version "0" "0" commit)) + (home-page "https://github.com/kuanyui/tldr.el") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit commit))) + (sha256 + (base32 + "0iq7qlis6c6r2qkdpncrhh5vsihkhvy5x4y1y8cjb7zxkh62w33f")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (synopsis "Simplified and community-driven man pages for Emacs") + (description "@code{emacs-tldr} allows the user to access tldr pages +from within emacs. The @code{tldr} pages are a community effort to simplify +the man pages with practical examples.") + (license license:wtfpl2))))