summaryrefslogtreecommitdiff
path: root/packages/komodo/cpprestsdk.scm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/komodo/cpprestsdk.scm')
-rw-r--r--packages/komodo/cpprestsdk.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/komodo/cpprestsdk.scm b/packages/komodo/cpprestsdk.scm
new file mode 100644
index 0000000..a558b25
--- /dev/null
+++ b/packages/komodo/cpprestsdk.scm
@@ -0,0 +1,42 @@
+(define-module (cpprestsdk)
+ #:use-module (gnu packages boost)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages web)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses)
+ #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public cpprestsdk
+ (package
+ (name "cpprestsdk")
+ (version "v2.10.16")
+ (source
+ (origin
+ (uri
+ (git-reference
+ ;; This fork includes a fix to an out-of-bounds error.
+ (url "https://github.com/priv-kweihmann/cpprestsdk")
+ (commit "gcc10-64bit")))
+ (method git-fetch)
+ (hash
+ (content-hash
+ "03cd0p0fjvfi94avqvf00g89a9qqkj2r7skm4xnvr4p7hihw1ikd"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases
+ #~ (modify-phases %standard-phases (delete 'check))))
+ (native-inputs (list boost openssl websocketpp zlib))
+ (synopsis "The Microsoft C++ REST SDK")
+ (description
+ (string-append
+ "The C++ REST SDK is a Microsoft project for cloud-based client-server "
+ "communication in native code using a modern asynchronous C++ API "
+ "design. This project aims to help C++ developers connect to and "
+ "interact with services."))
+ (license license:expat)
+ (home-page "https://github.com/microsoft/cpprestsdk")))