diff options
Diffstat (limited to 'packages/komodo/cppdap.scm')
-rw-r--r-- | packages/komodo/cppdap.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/komodo/cppdap.scm b/packages/komodo/cppdap.scm new file mode 100644 index 0000000..1278e9d --- /dev/null +++ b/packages/komodo/cppdap.scm @@ -0,0 +1,40 @@ +(define-module (cppdap) + #:use-module (gnu packages cpp) + #:use-module (guix build-system cmake) + #:use-module (guix git-download) + #:use-module + ((guix licenses) + #:prefix license:) + #:use-module (guix packages)) + +(define-public cppdap + (let ((cppdap-commit "5857b55c151c2efc1aea1ee0501e8d09f740d41b") + (cppdap-github "https://github.com/google/cppdap")) + (package + (name "cppdap") + (version cppdap-commit) + (source + (origin + (uri + (git-reference + (url (string-append cppdap-github ".git")) + (commit cppdap-commit))) + (method git-fetch) + (hash + (content-hash "08bdsn0568hidq51fzw63ph0wkri8siid74fxp7sqvxjv04164pr")))) + (build-system cmake-build-system) + (arguments + (list + #:phases '(modify-phases %standard-phases (delete 'check)) + #:configure-flags + '(list "-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON"))) + (native-inputs (list nlohmann-json)) + (synopsis "C++ library for the Debug Adapter Protocol") + (description + (string-append + "cppdap is a C++11 library (\"SDK\") implementation of the Debug Adapter " + "Protocol, providing an API for implementing a DAP client or server. " + "cppdap provides C++ type-safe structures for the full DAP specification, " + "and provides a simple way to add custom protocol messages.")) + (license license:asl2.0) + (home-page cppdap-github)))) |