-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathguix.scm
55 lines (51 loc) · 1.75 KB
/
guix.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
(use-modules (guix)
(gnu packages linux)
(gnu packages version-control)
(gnu packages emacs)
(gnu packages emacs-xyz)
(guix build-system emacs)
(guix build-system copy)
(guix git-download)
(guix licenses))
(define %source-dir (dirname (current-filename)))
(display %source-dir)
(define-public cardano-wallet
(package
(name "cardano-wallet")
(version "2022-12-14")
(source (origin
(method url-fetch)
(uri "https://github.com/input-output-hk/cardano-wallet/releases/download/v2022-12-14/cardano-wallet-v2022-12-14-linux64.tar.gz")
(sha256
(base32
"1hahkskd33s939s7ziw88g4xi9lbd9d191vdyik8l06vwydlhhik"))))
(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 cardano-el
(package
(name "cardano-el")
(version "git")
(source (local-file %source-dir
#:recursive? #t
#:select? (git-predicate %source-dir)))
(build-system emacs-build-system)
(native-inputs
(list util-linux git emacs))
(inputs
(list cardano-wallet))
(propagated-inputs
(list emacs-dash emacs-yaml-mode emacs-yaml
emacs-yasnippet emacs-helm emacs-f
emacs-emacsql))
(home-page "https://github.com/Titan-C/cardano.el")
(synopsis "An emacs interface to Cardano")
(description "Wrapping Cardano cli tools")
(license gpl3+)))
cardano-el