(define-module (packages komodo 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)))