(define-module (packages komodo 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))))