summaryrefslogtreecommitdiff
path: root/private/komodo/cppdap.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-13 19:26:57 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-20 12:35:16 +0100
commita80b52daf9415f8522ea85152bf8053cae88f9b2 (patch)
tree572cee84fbd5efae69b1ad6c7df5f710945f1282 /private/komodo/cppdap.scm
parentf8ea0e9ba66b4ea82b5fe8f4fdfc654a0b3f5c43 (diff)
Implement initial definition of cppdap for cmake update
Diffstat (limited to 'private/komodo/cppdap.scm')
-rw-r--r--private/komodo/cppdap.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/private/komodo/cppdap.scm b/private/komodo/cppdap.scm
new file mode 100644
index 0000000..87f97ea
--- /dev/null
+++ b/private/komodo/cppdap.scm
@@ -0,0 +1,33 @@
+(define-module (cppdap)
+ #: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)
+ (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))))