[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/71: gnu: Add syscmdline.
From: |
guix-commits |
Subject: |
33/71: gnu: Add syscmdline. |
Date: |
Wed, 3 Apr 2024 18:07:59 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 06755dca1143174ddf6b511f7d60462817730402
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Mar 26 17:18:54 2024 -0400
gnu: Add syscmdline.
* gnu/packages/cpp.scm (syscmdline): New variable.
Change-Id: I721b0eb5358cf41eade23c093b506b4750c53082
---
gnu/packages/cpp.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index acbe3e4836..65aa717c3d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -924,6 +924,49 @@ concurrent queue for C++11.")
lock-free fixed size queue written in C++11.")
(license license:expat)))
+(define-public syscmdline
+ (package
+ (name "syscmdline")
+ (version "0.0.1.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SineStriker/syscmdline")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "00n9vkyymp1dzixxl93f6pkpd3ndsk1vib7shhlxv4zvy5hjqhqw"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list "-DSYSCMDLINE_BUILD_STATIC=OFF" ;build a shared library
+ "-DSYSCMDLINE_BUILD_TESTS=ON")
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ ;; There isn't currently any exposed test target.
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "bin/tst_basic")))))))
+ (home-page "https://github.com/SineStriker/syscmdline")
+ (synopsis "C++ advanced command line parser")
+ (description "SysCmdLine is a C++ command line parser that is inspired by
+@code{QCommandLineParser} from Qt and @code{System.CommandLine} from C#. It
+has features such as:
+@itemize
+@item Support sub-commands
+@item Support case-insensitive parsing
+@item Support global options
+@item Support mutually exclusive options
+@item Support short options and group flags
+@item Support help text customization
+@item Support localization
+@item Simple tips for typo correction
+@item Highly configurable
+@item Friendly interface
+@end itemize")
+ (license license:expat)))
+
(define-public gperftools
(package
(name "gperftools")
- 22/71: gnu: qtspeech: Rename package to qtspeech-5., (continued)
- 22/71: gnu: qtspeech: Rename package to qtspeech-5., guix-commits, 2024/04/03
- 24/71: gnu: qt-creator: Update to 12.0.2., guix-commits, 2024/04/03
- 01/71: gnu: qtbase: Update to 6.6.2., guix-commits, 2024/04/03
- 02/71: gnu: qt5compat: Update to 6.6.2., guix-commits, 2024/04/03
- 17/71: gnu: qtremoteobjects: Update to 6.6.2., guix-commits, 2024/04/03
- 09/71: gnu: qtwayland: Update to 6.6.2., guix-commits, 2024/04/03
- 15/71: gnu: qtpositioning: Update to 6.6.2., guix-commits, 2024/04/03
- 23/71: gnu: Add qtspeech., guix-commits, 2024/04/03
- 28/71: gnu: qtbase: Replace QML2_IMPORT_PATH with QML_IMPORT_PATH., guix-commits, 2024/04/03
- 30/71: gnu: pjproject-jami: Update to 2.13.1-1.e12ea3b., guix-commits, 2024/04/03
- 33/71: gnu: Add syscmdline.,
guix-commits <=
- 42/71: gnu: python-pyqt-6: Update to 6.6.1., guix-commits, 2024/04/03
- 37/71: gnu: jami: Update to 20240325.0., guix-commits, 2024/04/03
- 43/71: gnu: kwayland: Disable kwayland-testXdgForeign test., guix-commits, 2024/04/03
- 35/71: gnu: Add qwindowkit., guix-commits, 2024/04/03
- 50/71: gnu: qtbase: Update to 6.6.3., guix-commits, 2024/04/03
- 36/71: gnu: Add qthttpserver., guix-commits, 2024/04/03
- 45/71: gnu: gwenview: Update to 23.08.5 and fix build., guix-commits, 2024/04/03
- 49/71: gnu: sobjectizer: Update to 5.8.2., guix-commits, 2024/04/03
- 61/71: gnu: qtlanguageserver: Update to 6.6.3., guix-commits, 2024/04/03
- 53/71: gnu: qtimageformats: Update to 6.6.3., guix-commits, 2024/04/03