From e11991d56d53f2df27d7c266ddd0c891b79859d5 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sat, 16 Mar 2024 22:21:07 +0100 Subject: Provision coins-master sources to komodo-wallet --- private/komodo/komodo.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/private/komodo/komodo.scm b/private/komodo/komodo.scm index 709a2f71d9..e243333ace 100644 --- a/private/komodo/komodo.scm +++ b/private/komodo/komodo.scm @@ -45,6 +45,7 @@ (define-public komodo-wallet (let ((build-path-expected "../build/_deps/expected-src") + (build-path-jl777-coins "../build/_deps/jl777-coins-src") (version "0.7.0-beta")) (package (name "komodo-wallet") @@ -75,6 +76,7 @@ (("include\\(vcpkg_prerequisites\\)") (string-append "\nfile(MAKE_DIRECTORY \"" #+ build-path-expected "\")\n" + "file(MAKE_DIRECTORY \"" #+ build-path-jl777-coins "\")\n" "file(COPY " #+ (origin (uri @@ -92,7 +94,17 @@ (search-patches "libexpected-use-provided-catch2.patch"))) "/ " " DESTINATION " #+ build-path-expected " FILES_MATCHING PATTERN \"*\"" - " FOLLOW_SYMLINK_CHAIN)\n")))))) + " FOLLOW_SYMLINK_CHAIN)\n" + "file(ARCHIVE_EXTRACT INPUT " + #+ (origin + (uri "https://github.com/KomodoPlatform/coins/archive/master.zip") + (method url-fetch) + (hash + (content-hash + "02nsggdpksi0fwhp6arzjlaay8zvkl1hwnkg67nm7yl4vimb5s25"))) + " DESTINATION " #+ build-path-jl777-coins " )\n" + "file(COPY " #+ build-path-jl777-coins "/coins-master/ " + "DESTINATION " #+ build-path-jl777-coins ")\n")))))) #:configure-flags #~ (list "-Wno-dev" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON"))) (native-inputs -- cgit v1.2.3