summaryrefslogtreecommitdiff
path: root/packages/komodo/wally.scm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/komodo/wally.scm')
-rw-r--r--packages/komodo/wally.scm61
1 files changed, 61 insertions, 0 deletions
diff --git a/packages/komodo/wally.scm b/packages/komodo/wally.scm
new file mode 100644
index 0000000..50ffb06
--- /dev/null
+++ b/packages/komodo/wally.scm
@@ -0,0 +1,61 @@
+(define-module (wally)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages python)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses)
+ #:prefix license:)
+ #:use-module (guix packages))
+
+;; DATA LAYER
+
+(define description
+ (string-append "Wally is a cross-platform, cross-language collection of "
+ "useful primitives for cryptocurrency wallets."))
+
+(define hash
+ (base32 "1c3w3qdg4l30wvijzi1rf4p0jynwdpb99x717h4v2i6fw140sz7f"))
+
+(define home-page
+ "https://github.com/ElementsProject/libwally-core")
+
+(define name
+ "wally")
+
+(define synopsis
+ "Useful primitives for wallets")
+
+(define url
+ "https://github.com/KomodoPlatform/libwally-core.git")
+
+(define version
+ "release_0.7.7")
+
+;; ABSTRACTION LAYER -1
+
+(define uri
+ (git-reference (url url)
+ (commit version)))
+
+;; ABSTRACTION LAYER -0
+
+(define inputs
+ (list autoconf automake libtool python python-2))
+
+(define source
+ (origin (uri uri)
+ (method git-fetch)
+ (sha256 hash)))
+
+;; SURFACE LAYER
+
+(define-public wally
+ (package (name name)
+ (version version)
+ (source source)
+ (build-system gnu-build-system)
+ (inputs inputs)
+ (synopsis synopsis)
+ (description description)
+ (license license:expat)
+ (home-page home-page)))