diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-16 09:45:43 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-17 12:59:54 +0100 |
commit | 40e293cb8918fbcb3043a188ce63f21c82d2f770 (patch) | |
tree | ae2645658bb610a8b8b21fa1518ce67d670d9c6a | |
parent | 229613c7b911537d403c90adcec7f8a19b34ec86 (diff) |
Define and include cpprestsdk as dependency of komodo-wallet
-rw-r--r-- | private/komodo/cpprestsdk.scm | 33 | ||||
-rw-r--r-- | private/komodo/komodo.scm | 3 |
2 files changed, 35 insertions, 1 deletions
diff --git a/private/komodo/cpprestsdk.scm b/private/komodo/cpprestsdk.scm new file mode 100644 index 0000000000..3b9e7801f0 --- /dev/null +++ b/private/komodo/cpprestsdk.scm @@ -0,0 +1,33 @@ +(define-module (cpprestsdk) + #:use-module (guix build-system cmake) + #:use-module (guix git-download) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (guix packages)) + +(define-public cpprestsdk + (let ((cpprestsdk-github "https://github.com/microsoft/cpprestsdk") + (cpprestsdk-version "v2.10.19")) + (package + (name "cpprestsdk") + (version cpprestsdk-version) + (source + (origin + (uri + (git-reference + (url cpprestsdk-github) + (commit cpprestsdk-version))) + (method git-fetch) + (hash + (content-hash + "09pb16aqs4x6xgsvj6fpwxzqa4px11j5qigcpjsb3hbsbkvsd9nc")))) + (build-system cmake-build-system) + (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 cpprestsdk-github)))) diff --git a/private/komodo/komodo.scm b/private/komodo/komodo.scm index 51f730f7bd..21cab55d58 100644 --- a/private/komodo/komodo.scm +++ b/private/komodo/komodo.scm @@ -1,4 +1,5 @@ (define-module (komodo) + #:use-module (cpprestsdk) #:use-module (gnu packages calendar) #:use-module (gnu packages check) #:use-module (gnu packages cpp) @@ -48,7 +49,7 @@ #:configure-flags #~ (list "-DFETCHCONTENT_FULLY_DISCONNECTED=ON"))) (native-inputs - (list date doctest entt fmt git nlohmann-json range-v3 spdlog)) + (list cpprestsdk date doctest entt fmt git nlohmann-json range-v3 spdlog)) (synopsis "Komodo Wallet Desktop GUI") (description (string-append |