From 5f00e0363c194cd1f52eeb8da2417325af7c5acb Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Fri, 1 Sep 2023 20:44:55 +0800 Subject: gnu: Add libcppgenerate. * gnu/packages/cpp.scm (libcppgenerate): New variable. Signed-off-by: Maxim Cournoyer Reviewed-by: Maxim Cournoyer Modified-by: Maxim Cournoyer --- gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 2f8cc2ce25..11777340ef 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1731,6 +1731,30 @@ C. It focuses on standardization and parsing exactness and is at ease with almost every type of file containing key/value pairs.") (license license:gpl3+))) +(define-public libcppgenerate + ;; dbus-cxx requires an unreleased fix. + (let ((commit "930c5503f76c877b72b9ff8546353d6f422bd010") + (revision "0")) + (package + (name "libcppgenerate") + (version (git-version "0.2" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rm5248/libcppgenerate") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0csdg9b406i85aqgivjmvqjdnqbyiyjh3s0xsfsxppv7wlh7j85r")))) + (build-system cmake-build-system) + (arguments (list #:configure-flags #~'("-DENABLE_TESTS=ON"))) + (home-page "https://github.com/rm5248/libcppgenerate") + (synopsis "C++ code generator library for C++") + (description "@code{libcppgenerate} is a library for generating C++ code +from C++.") + (license license:asl2.0)))) + (define-public libcutl (package (name "libcutl") -- cgit v1.2.3