summaryrefslogtreecommitdiff
path: root/private/komodo/cpprestsdk.scm
blob: 230c560b76e27cb6d5d88f077a0ab6a7d4230c5b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(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 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)
   (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")))