unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64672] [PATCH] gnu: Add stdman.
@ 2023-07-16 22:03 Luis Henrique Gomes Higino
  2023-07-16 22:11 ` [bug#64672] Forgot link Luis Henrique Gomes Higino
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Henrique Gomes Higino @ 2023-07-16 22:03 UTC (permalink / raw)
  To: 64672; +Cc: Luis Henrique Gomes Higino

* gnu/packages/cpp.scm (stdman): New variable.
---
Hi Guix,

this commit adds a package for the stdman [0] generated man pages. As they already provide the man pages generated with the latest version on the repository, this package basically clones their repo and moves the pages to the package's output. If you think it's better to build the program and generate the man pages instead, let me know!

Regards,
Luis Higino

 gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index ec1f4cd325..d737c4aa76 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2730,3 +2730,34 @@ (define-public tl-optional
 the std::optional for C++11/14/17, with support for monadic operations added in
 C++23.")
     (license license:cc0)))
+
+(define-public stdman
+  (package
+    (name "stdman")
+    (version "2022.07.30")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jeaye/stdman")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1zbb55v149c76rfrvdxpxv2wrfx7mlfvh1jza7q9vshjak2j06h0"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags #~(list (string-append "--prefix="
+                                                    #$output))
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'check)
+                        (delete 'build))))
+    (home-page "https://github.com/jeaye/stdman")
+    (synopsis "Formatted C++20 stdlib man pages (cppreference)")
+    (description
+     "stdman is a tool that parses archived HTML files from
+cppreference and generates groff-formatted manual pages for Unix-based
+systems.  The goal is to provide excellent formatting for easy
+readability.
+
+This package includes the generated man pages.")
+    (license license:expat)))

base-commit: 796c823a0d1d0aec9f4af908eca462e58e5675b5
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#64672] Forgot link
  2023-07-16 22:03 [bug#64672] [PATCH] gnu: Add stdman Luis Henrique Gomes Higino
@ 2023-07-16 22:11 ` Luis Henrique Gomes Higino
  0 siblings, 0 replies; 2+ messages in thread
From: Luis Henrique Gomes Higino @ 2023-07-16 22:11 UTC (permalink / raw)
  To: 64672

Hi Guix,

forgot to add the link in previous email, it follows below. Also, 
I added a link to the cppreference website [1] as I also mentioned 
it on the message.

[0]: https://github.com/jeaye/stdman
[1]: https://en.cppreference.com/

Regards,
-- 
Luis H. Higino




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-16 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 22:03 [bug#64672] [PATCH] gnu: Add stdman Luis Henrique Gomes Higino
2023-07-16 22:11 ` [bug#64672] Forgot link Luis Henrique Gomes Higino

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).