/
cardano-node.scm
76 lines (72 loc) · 2.52 KB
/
cardano-node.scm
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
(define-module (cardano-node)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system copy)
#:use-module (guix licenses))
;; To download new file and get sha256sum on base32
;; guix download URL
;; to install
;; guix package -L /this dir path/ -i cardano-wallet
;;
(define-public cardano-wallet
(package
(name "cardano-wallet")
(version "v2024-03-01")
(source (origin
(method url-fetch)
(uri
(string-append
"https://github.com/cardano-foundation/cardano-wallet/releases/download/"
version "/cardano-wallet-" version "-linux64.tar.gz"))
(sha256
(base32
"0z17fg87z6mpavc71fwjhwrzmpi0ya54r4hqbfkz3pdvg0f045vk"))))
(build-system copy-build-system)
(arguments
'(#:install-plan
'(("." "bin/" #:include-regexp ("cardano-" "bech32")))))
(synopsis "cardano node, cli, address, bech32 and wallet")
(description
"The cardano node and wallet from iohk")
(home-page "https://github.com/input-output-hk/cardano-wallet")
(license asl2.0)))
(define-public cardano-node
(package
(name "cardano-node")
(version "1.35.4")
(source (origin
(method url-fetch)
(uri "https://hydra.iohk.io/build/21343721/download/1/cardano-node-1.35.4-linux.tar.gz")
(sha256
(base32
"0csnsg75fal3h6vll02sjigm7yxv5dbjkhpr1ancc3flfkg0p7iz"))))
(build-system copy-build-system)
(arguments
'(#:install-plan
'((".." "bin/" #:include ("ledger-state" "chain-sync")))))
(synopsis "cardano node, cli, address, bech32 and wallet")
(description
"The cardano node and wallet from iohk")
(home-page "https://github.com/input-output-hk/cardano-wallet")
(license asl2.0)))
(define-public cardano-db-sync
(package
(name "cardano-db-sync")
(version "13.0.5")
(source (origin
(method url-fetch)
(uri "https://hydra.iohk.io/build/19105782/download/1/cardano-db-sync-13.0.5-linux.tar.gz")
(sha256
(base32
"0labymh2dnkj44s0hc47qxcg4wvhw92g45498bjgh6kx0cmwxq88"))))
(build-system copy-build-system)
(arguments
'(#:install-plan
'(("." "bin/" #:include ("cardano-db-sync")))))
(inputs (list cardano-wallet))
(synopsis "cardano node, cli, address, bech32 and wallet")
(description
"The cardano node and wallet from iohk")
(home-page "https://github.com/input-output-hk/cardano-wallet")
(license asl2.0)))