summaryrefslogtreecommitdiff
path: root/packages/komodo/wally.scm
blob: 50ffb060100007c3c28d1a7ed0a45449f35e073b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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)))