summaryrefslogtreecommitdiff
path: root/packages/komodo/wally.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-25 21:16:44 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-25 21:16:44 +0100
commit6834546f09fa6d23d618318edc6e590a42e8a90b (patch)
tree9afdf87de0858e6f43a699cfa3d964136df41408 /packages/komodo/wally.scm
parent7a81d2bcb36a9bba761d50423706d4b991d26e23 (diff)
wally: transfer the package definition to a separate module: maintenance
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)))