summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-16 22:38:34 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-17 12:59:56 +0100
commit1fe01205d792a821027039b2ccfb3644b4ecbb09 (patch)
treea9a607b2b769f0291bcb7985975230ee7e839787
parent6dee9e23fd80d07bcb932dbcf4acd7f0fbc788d1 (diff)
Provision mm2 sources to komodo-wallet
-rw-r--r--private/komodo/komodo.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/private/komodo/komodo.scm b/private/komodo/komodo.scm
index e6a3cd6d14..557ed5a7be 100644
--- a/private/komodo/komodo.scm
+++ b/private/komodo/komodo.scm
@@ -46,6 +46,7 @@
(define-public komodo-wallet
(let ((build-path-expected "../build/_deps/expected-src")
(build-path-jl777-coins "../build/_deps/jl777-coins-src")
+ (build-path-mm2 "../build/_deps/mm2-src")
(version "0.7.0-beta"))
(package
(name "komodo-wallet")
@@ -77,6 +78,7 @@
(string-append
"\nfile(MAKE_DIRECTORY \"" #+ build-path-expected "\")\n"
"file(MAKE_DIRECTORY \"" #+ build-path-jl777-coins "\")\n"
+ "file(MAKE_DIRECTORY \"" #+ build-path-mm2 "\")\n"
"file(COPY "
#+ (origin
(uri
@@ -104,7 +106,16 @@
"02nsggdpksi0fwhp6arzjlaay8zvkl1hwnkg67nm7yl4vimb5s25")))
" DESTINATION " #+ build-path-jl777-coins " )\n"
"file(COPY " #+ build-path-jl777-coins "/coins-master/ "
- "DESTINATION " #+ build-path-jl777-coins ")\n"))))))
+ "DESTINATION " #+ build-path-jl777-coins ")\n"
+ "file(ARCHIVE_EXTRACT INPUT "
+ #+ (origin
+ (uri
+ "https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-linux-x86-64.zip")
+ (method url-fetch)
+ (hash
+ (content-hash
+ "1bn2sjcrp9ih44h3p96prnwg74aids7fgzcnlv3c68nan6y2lysi")))
+ " DESTINATION " #+ build-path-mm2 " )\n"))))))
#:configure-flags
#~ (list "-Wno-dev" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON")))
(native-inputs