GNU bug report logs - #58391
[PATCH] cpprestsdk: New package

Previous Next

Package: guix-patches;

Reported by: Jacob Hrbek <kreyren <at> rixotstudio.cz>

Date: Sun, 9 Oct 2022 07:29:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 58391 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58391; Package guix-patches. (Sun, 09 Oct 2022 07:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jacob Hrbek <kreyren <at> rixotstudio.cz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 09 Oct 2022 07:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] cpprestsdk: New package
Date: Sun, 09 Oct 2022 07:28:08 +0000
[Message part 1 (text/plain, inline)]
wheee
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#58391; Package guix-patches. (Sun, 09 Oct 2022 07:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 58391 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58391 <at> debbugs.gnu.org
Cc: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Subject: [PATCH] cpprestsdk: New package
Date: Sun, 09 Oct 2022 07:30:14 +0000
---
 gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..027b1ed2af 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2022 muradm <mail <at> muradm.net>
 ;;; Copyright © 2022 Attila Lendvai <attila <at> lendvai.name>
 ;;; Copyright © 2022 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2022 Jacob 'Kreyren' Hrbek <kreyren <at> rixotstudio.cz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -885,6 +886,36 @@ (define-public cpplint
 and make @code{cpplint} usable in wider contexts.")
     (license license:bsd-3)))

+(define-public cpprestsdk
+  (package
+    (name "cpprestsdk")
+    (home-page "https://github.com/microsoft/cpprestsdk")
+    (version "2.10.18")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))
+                    (recursive? #t)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "07qyip57wyzpmlgyz1fri4ljmla7ar3isddvfkm8hzv6q35bx2rn"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f ;4 tests fail
+       #:phases (modify-phases %standard-phases
+                  ;; Microsoft doesn't know how to write a code without errors
+                  (add-after 'unpack 'disable-Werror
+                    (lambda _
+                      (substitute* "Release/CMakeLists.txt"
+                        (("WERROR ON CACHE")
+                         "WERROR OFF CACHE")) #t)))))
+    (native-inputs (list boost openssl zlib))
+    (synopsis "API for cloud-based client-server communication")
+    (description "C++ REST API to connect and interact with servers")
+    (license license:expat)))
+
 (define-public reproc
   (package
     (name "reproc")
--
2.37.3






This bug report was last modified 1 year and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.