tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lndconnect: init at 0.2.0
David Terry
5 years ago
4a340120
9dd4ddac
+156
3 changed files
expand all
collapse all
unified
split
pkgs
applications
blockchains
lndconnect
default.nix
deps.nix
top-level
all-packages.nix
+25
pkgs/applications/blockchains/lndconnect/default.nix
···
1
1
+
{ lib, buildGoPackage, fetchFromGitHub }:
2
2
+
buildGoPackage rec {
3
3
+
pname = "lndconnect";
4
4
+
version = "0.2.0";
5
5
+
6
6
+
goPackagePath = "github.com/LN-Zap/lndconnect";
7
7
+
8
8
+
src = fetchFromGitHub {
9
9
+
owner = "LN-Zap";
10
10
+
repo = pname;
11
11
+
rev = "v${version}";
12
12
+
sha256 = "0zp23vp4i4csc6x1b6z39rqcmknxd508x6clr8ckdj2fwjwkyf5a";
13
13
+
};
14
14
+
15
15
+
goDeps = ./deps.nix;
16
16
+
17
17
+
meta = with lib; {
18
18
+
description = "Generate QRCode to connect apps to lnd Resources";
19
19
+
license = licenses.mit;
20
20
+
homepage = "https://github.com/LN-Zap/lndconnect";
21
21
+
maintainers = [ maintainers.xwvvvvwx ];
22
22
+
platforms = platforms.linux;
23
23
+
};
24
24
+
}
25
25
+
+129
pkgs/applications/blockchains/lndconnect/deps.nix
···
1
1
+
[
2
2
+
{
3
3
+
goPackagePath = "github.com/Baozisoftware/qrcode-terminal-go";
4
4
+
fetch = {
5
5
+
type = "git";
6
6
+
url = "https://github.com/Baozisoftware/qrcode-terminal-go";
7
7
+
rev = "c0650d8dff0f053901ff16185217b950d5e7743c";
8
8
+
sha256 = "166h9zy9y7ygayhybg7d080hpdcf1mvkf3rwnq5lqg8i3cg71s7b";
9
9
+
};
10
10
+
}
11
11
+
{
12
12
+
goPackagePath = "github.com/btcsuite/btcd";
13
13
+
fetch = {
14
14
+
type = "git";
15
15
+
url = "https://github.com/btcsuite/btcd";
16
16
+
rev = "e9a51e8dcd673c563a549676ebd4384b0318a9b7";
17
17
+
sha256 = "053pdhhycls7cpygg4rhc0y2p937ni4cgxylgxd1zpwffqdjsxrs";
18
18
+
};
19
19
+
}
20
20
+
{
21
21
+
goPackagePath = "github.com/btcsuite/btclog";
22
22
+
fetch = {
23
23
+
type = "git";
24
24
+
url = "https://github.com/btcsuite/btclog";
25
25
+
rev = "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a";
26
26
+
sha256 = "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk";
27
27
+
};
28
28
+
}
29
29
+
{
30
30
+
goPackagePath = "github.com/btcsuite/btcutil";
31
31
+
fetch = {
32
32
+
type = "git";
33
33
+
url = "https://github.com/btcsuite/btcutil";
34
34
+
rev = "063c4115b3a9a7201e82447875383890698abcb6";
35
35
+
sha256 = "12dpy5ipmd751xb71hcmrl9xyl89r5rflnrvypnz1irairfqwjwm";
36
36
+
};
37
37
+
}
38
38
+
{
39
39
+
goPackagePath = "github.com/glendc/go-external-ip";
40
40
+
fetch = {
41
41
+
type = "git";
42
42
+
url = "https://github.com/glendc/go-external-ip";
43
43
+
rev = "c872357d968e33d5d9c47ea2c603f3b411150ecc";
44
44
+
sha256 = "1h9cdhab4fapa2p1r8sgl1pxv4qi1zskw8x0pj93a81y03zzr2l1";
45
45
+
};
46
46
+
}
47
47
+
{
48
48
+
goPackagePath = "github.com/jessevdk/go-flags";
49
49
+
fetch = {
50
50
+
type = "git";
51
51
+
url = "https://github.com/jessevdk/go-flags";
52
52
+
rev = "c17162fe8fd74f119ff938c5c67af63e3bac5ded";
53
53
+
sha256 = "0byp3f79b0399n7g6nm59afb6gj9cknfqgfqadvpppv7lvnd34jf";
54
54
+
};
55
55
+
}
56
56
+
{
57
57
+
goPackagePath = "github.com/lightningnetwork/lnd";
58
58
+
fetch = {
59
59
+
type = "git";
60
60
+
url = "https://github.com/lightningnetwork/lnd";
61
61
+
rev = "fd962d322ae2a913cc357dbb63382f22a9a0a6ce";
62
62
+
sha256 = "0yj2vqb9qg5v0rbchkpwhhw51rp31z76zchhhbc837sz8l8lryra";
63
63
+
};
64
64
+
}
65
65
+
{
66
66
+
goPackagePath = "github.com/mattn/go-colorable";
67
67
+
fetch = {
68
68
+
type = "git";
69
69
+
url = "https://github.com/mattn/go-colorable";
70
70
+
rev = "f6c00982823144337e56cdb71c712eaac151d29c";
71
71
+
sha256 = "08y5c01bvyqxraj3wc0di80gbp87178rsshb74x0p3m7wwfv82l3";
72
72
+
};
73
73
+
}
74
74
+
{
75
75
+
goPackagePath = "github.com/mattn/go-isatty";
76
76
+
fetch = {
77
77
+
type = "git";
78
78
+
url = "https://github.com/mattn/go-isatty";
79
79
+
rev = "cb30d6282491c185f77d9bec5d25de1bb61a06bc";
80
80
+
sha256 = "0v59mv94acd2m72q8adhigxkx1vn38l5h0d8hp0nxga2v9f3v8kd";
81
81
+
};
82
82
+
}
83
83
+
{
84
84
+
goPackagePath = "github.com/miekg/dns";
85
85
+
fetch = {
86
86
+
type = "git";
87
87
+
url = "https://github.com/miekg/dns";
88
88
+
rev = "7a5f1127f7f4e461b7400d6a9df1bc523e7448fd";
89
89
+
sha256 = "1xwg6zwlxwkm1x121b3idir76h7wr9wmcdmg4vgj9hma903s63md";
90
90
+
};
91
91
+
}
92
92
+
{
93
93
+
goPackagePath = "github.com/skip2/go-qrcode";
94
94
+
fetch = {
95
95
+
type = "git";
96
96
+
url = "https://github.com/skip2/go-qrcode";
97
97
+
rev = "da1b6568686e89143e94f980a98bc2dbd5537f13";
98
98
+
sha256 = "0pghd6y2x8a5fqy4rjn4d8j5jcslb236naycdza5an7vyvinsgs9";
99
99
+
};
100
100
+
}
101
101
+
{
102
102
+
goPackagePath = "golang.org/x/crypto";
103
103
+
fetch = {
104
104
+
type = "git";
105
105
+
url = "https://go.googlesource.com/crypto";
106
106
+
rev = "5c72a883971a4325f8c62bf07b6d38c20ea47a6a";
107
107
+
sha256 = "1cimmqpajys001x6yq8ycklc4w34y7iwrksv7ayv7m7fgzhcjn3d";
108
108
+
};
109
109
+
}
110
110
+
{
111
111
+
goPackagePath = "golang.org/x/net";
112
112
+
fetch = {
113
113
+
type = "git";
114
114
+
url = "https://go.googlesource.com/net";
115
115
+
rev = "05aa5d4ee32165add31ddef9d5d3946713e5dc5e";
116
116
+
sha256 = "1v532mdb32h2gan6lc9ssya2v1lk6nzyzqvxn5nkbxij9x4v1jkl";
117
117
+
};
118
118
+
}
119
119
+
{
120
120
+
goPackagePath = "golang.org/x/sys";
121
121
+
fetch = {
122
122
+
type = "git";
123
123
+
url = "https://go.googlesource.com/sys";
124
124
+
rev = "9d91bd62050c7b3011b7df0d2a4daa0042684420";
125
125
+
sha256 = "0d2jjd7r0zwakd1d2g2qm59w6jc6sgg0sal5gc626i8nn9adj2jg";
126
126
+
};
127
127
+
}
128
128
+
]
129
129
+
+2
pkgs/top-level/all-packages.nix
···
25680
25680
25681
25681
lnd = callPackage ../applications/blockchains/lnd.nix { };
25682
25682
25683
25683
+
lndconnect = callPackage ../applications/blockchains/lndconnect { };
25684
25684
+
25683
25685
monero = callPackage ../applications/blockchains/monero {
25684
25686
inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC;
25685
25687
boost = boost17x;