Message ID | c5500a726749e4bdfda0d3d809a3ef9314073b97.1712879109.git.suhail@bayesians.ca |
---|---|
State | New |
Headers | show |
Series | [bug#69896,v4] gnu: Add emacs-noman. | expand |
Hello, "Suhail Singh" <suhailsingh247@gmail.com> writes: > * gnu/packages/emacs-xyz.scm (emacs-noman): New variable. Applied, thank you. > +(define-public emacs-noman > + (package > + (name "emacs-noman") > + (home-page "https://github.com/andykuszyk/noman.el") > + (version "0.3") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url home-page) Nitpick: I admit I am not a huge fan of the "home-page hack", because it introduces a non-obvious relationship between source and home-page. So I took the liberty of following standard practices here. Regards,
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f35aa3e514..7b362686fe 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5445,6 +5445,28 @@ (define-public emacs-mmt Lisp developers who want to write macros with convenience.") (license license:gpl3+))) +(define-public emacs-noman + (package + (name "emacs-noman") + (home-page "https://github.com/andykuszyk/noman.el") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04hvh816a0dvakgn22lxzw8qjmvc8grb5nhg1b5w99j5606ljqcl")))) + (build-system emacs-build-system) + (synopsis "Emacs package for browsing CLI command docs without man pages") + (description + "@code{noman} is an Emacs package that parses command line help from +flags like @code{--help}, and presents it in an easy-to-navigate Emacs +buffer.") + (license license:gpl3+))) + (define-public emacs-tablist (package (name "emacs-tablist")