summaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-05-07 15:20:16 -0400
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-06-24 21:42:23 +0100
commita75386233bab67957096b2f4de4147b94ba7ff62 (patch)
tree55c04f61adcc984d6cbd3cd9efa8c7688a66e28c /gnu/packages/cpp.scm
parent87bfe7ad508c56bc0b9a77f76b509cceeae87ac3 (diff)
gnu: Add docopt-cpp.
* gnu/packages/cpp.scm (docopt-cpp): New variable. Relates-to: guix/guix!8422 Reviewed-by: Nicolas Graves <ngraves@ngraves.fr> Reviewed-by: Nguyễn Gia Phong <cnx@loang.net> Reviewed-by: Sughosha <sughosha@disroot.org> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 2547458f17f..bc62f470d6f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -870,6 +870,29 @@ combination of these streams.")
870enabled in different parts of your code.") 870enabled in different parts of your code.")
871 (license license:zlib))) 871 (license license:zlib)))
872 872
873(define-public docopt-cpp
874 (package
875 (name "docopt-cpp")
876 (version "0.6.3")
877 (source
878 (origin
879 (method git-fetch)
880 (uri (git-reference
881 (url "https://github.com/docopt/docopt.cpp")
882 (commit (string-append "v" version))))
883 (file-name (git-file-name name version))
884 (sha256
885 (base32 "0cz3vv7g5snfbsqcf3q8bmd6kv5qp84gj3avwkn4vl00krw13bl7"))))
886 (build-system cmake-build-system)
887 (arguments (list #:tests? #f)) ; no tests
888 (home-page "http://docopt.org/")
889 (synopsis "Command-line interface description language for C++")
890 (description
891 "This library allows the user to define a command-line interface from a
892program's help message rather than specifying it programmatically with
893command-line parsers like @code{getopt} and @code{argparse}.")
894 (license (list license:expat license:boost1.0))))
895
873(define-public xbyak 896(define-public xbyak
874 (package 897 (package
875 (name "xbyak") 898 (name "xbyak")