summaryrefslogtreecommitdiff
path: root/packages/komodo/cpprestsdk.scm
blob: 1c9e6b81710f60c835dfe1398ec7a825b8937b2f (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
38
39
40
41
42
(define-module (packages komodo 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")))