tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rusty-bash: init at 0.8.5
aleksana
1 year ago
d6beb223
13008b3c
+256
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
ru
rusty-bash
Cargo.lock
package.nix
+223
pkgs/by-name/ru/rusty-bash/Cargo.lock
···
1
1
+
# This file is automatically @generated by Cargo.
2
2
+
# It is not intended for manual editing.
3
3
+
version = 3
4
4
+
5
5
+
[[package]]
6
6
+
name = "bitflags"
7
7
+
version = "1.3.2"
8
8
+
source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
10
10
+
11
11
+
[[package]]
12
12
+
name = "bitflags"
13
13
+
version = "2.6.0"
14
14
+
source = "registry+https://github.com/rust-lang/crates.io-index"
15
15
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
16
16
+
17
17
+
[[package]]
18
18
+
name = "cfg-if"
19
19
+
version = "1.0.0"
20
20
+
source = "registry+https://github.com/rust-lang/crates.io-index"
21
21
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
22
22
+
23
23
+
[[package]]
24
24
+
name = "cfg_aliases"
25
25
+
version = "0.2.1"
26
26
+
source = "registry+https://github.com/rust-lang/crates.io-index"
27
27
+
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
28
28
+
29
29
+
[[package]]
30
30
+
name = "faccess"
31
31
+
version = "0.2.4"
32
32
+
source = "registry+https://github.com/rust-lang/crates.io-index"
33
33
+
checksum = "59ae66425802d6a903e268ae1a08b8c38ba143520f227a205edf4e9c7e3e26d5"
34
34
+
dependencies = [
35
35
+
"bitflags 1.3.2",
36
36
+
"libc",
37
37
+
"winapi",
38
38
+
]
39
39
+
40
40
+
[[package]]
41
41
+
name = "libc"
42
42
+
version = "0.2.161"
43
43
+
source = "registry+https://github.com/rust-lang/crates.io-index"
44
44
+
checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
45
45
+
46
46
+
[[package]]
47
47
+
name = "libredox"
48
48
+
version = "0.1.3"
49
49
+
source = "registry+https://github.com/rust-lang/crates.io-index"
50
50
+
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
51
51
+
dependencies = [
52
52
+
"bitflags 2.6.0",
53
53
+
"libc",
54
54
+
"redox_syscall",
55
55
+
]
56
56
+
57
57
+
[[package]]
58
58
+
name = "nix"
59
59
+
version = "0.29.0"
60
60
+
source = "registry+https://github.com/rust-lang/crates.io-index"
61
61
+
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
62
62
+
dependencies = [
63
63
+
"bitflags 2.6.0",
64
64
+
"cfg-if",
65
65
+
"cfg_aliases",
66
66
+
"libc",
67
67
+
]
68
68
+
69
69
+
[[package]]
70
70
+
name = "numtoa"
71
71
+
version = "0.2.4"
72
72
+
source = "registry+https://github.com/rust-lang/crates.io-index"
73
73
+
checksum = "6aa2c4e539b869820a2b82e1aef6ff40aa85e65decdd5185e83fb4b1249cd00f"
74
74
+
75
75
+
[[package]]
76
76
+
name = "proc-macro2"
77
77
+
version = "1.0.89"
78
78
+
source = "registry+https://github.com/rust-lang/crates.io-index"
79
79
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
80
80
+
dependencies = [
81
81
+
"unicode-ident",
82
82
+
]
83
83
+
84
84
+
[[package]]
85
85
+
name = "quote"
86
86
+
version = "1.0.37"
87
87
+
source = "registry+https://github.com/rust-lang/crates.io-index"
88
88
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
89
89
+
dependencies = [
90
90
+
"proc-macro2",
91
91
+
]
92
92
+
93
93
+
[[package]]
94
94
+
name = "redox_syscall"
95
95
+
version = "0.5.7"
96
96
+
source = "registry+https://github.com/rust-lang/crates.io-index"
97
97
+
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
98
98
+
dependencies = [
99
99
+
"bitflags 2.6.0",
100
100
+
]
101
101
+
102
102
+
[[package]]
103
103
+
name = "redox_termios"
104
104
+
version = "0.1.3"
105
105
+
source = "registry+https://github.com/rust-lang/crates.io-index"
106
106
+
checksum = "20145670ba436b55d91fc92d25e71160fbfbdd57831631c8d7d36377a476f1cb"
107
107
+
108
108
+
[[package]]
109
109
+
name = "rev_lines"
110
110
+
version = "0.3.0"
111
111
+
source = "registry+https://github.com/rust-lang/crates.io-index"
112
112
+
checksum = "ed62916ac7a5ccbf13fa5e1d303029ff015600fee841756dfc134a1ac62bf05f"
113
113
+
dependencies = [
114
114
+
"thiserror",
115
115
+
]
116
116
+
117
117
+
[[package]]
118
118
+
name = "signal-hook"
119
119
+
version = "0.3.17"
120
120
+
source = "registry+https://github.com/rust-lang/crates.io-index"
121
121
+
checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801"
122
122
+
dependencies = [
123
123
+
"libc",
124
124
+
"signal-hook-registry",
125
125
+
]
126
126
+
127
127
+
[[package]]
128
128
+
name = "signal-hook-registry"
129
129
+
version = "1.4.2"
130
130
+
source = "registry+https://github.com/rust-lang/crates.io-index"
131
131
+
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
132
132
+
dependencies = [
133
133
+
"libc",
134
134
+
]
135
135
+
136
136
+
[[package]]
137
137
+
name = "sush"
138
138
+
version = "0.8.5"
139
139
+
dependencies = [
140
140
+
"faccess",
141
141
+
"nix",
142
142
+
"rev_lines",
143
143
+
"signal-hook",
144
144
+
"termion",
145
145
+
"unicode-width",
146
146
+
]
147
147
+
148
148
+
[[package]]
149
149
+
name = "syn"
150
150
+
version = "2.0.85"
151
151
+
source = "registry+https://github.com/rust-lang/crates.io-index"
152
152
+
checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
153
153
+
dependencies = [
154
154
+
"proc-macro2",
155
155
+
"quote",
156
156
+
"unicode-ident",
157
157
+
]
158
158
+
159
159
+
[[package]]
160
160
+
name = "termion"
161
161
+
version = "4.0.3"
162
162
+
source = "registry+https://github.com/rust-lang/crates.io-index"
163
163
+
checksum = "7eaa98560e51a2cf4f0bb884d8b2098a9ea11ecf3b7078e9c68242c74cc923a7"
164
164
+
dependencies = [
165
165
+
"libc",
166
166
+
"libredox",
167
167
+
"numtoa",
168
168
+
"redox_termios",
169
169
+
]
170
170
+
171
171
+
[[package]]
172
172
+
name = "thiserror"
173
173
+
version = "1.0.65"
174
174
+
source = "registry+https://github.com/rust-lang/crates.io-index"
175
175
+
checksum = "5d11abd9594d9b38965ef50805c5e469ca9cc6f197f883f717e0269a3057b3d5"
176
176
+
dependencies = [
177
177
+
"thiserror-impl",
178
178
+
]
179
179
+
180
180
+
[[package]]
181
181
+
name = "thiserror-impl"
182
182
+
version = "1.0.65"
183
183
+
source = "registry+https://github.com/rust-lang/crates.io-index"
184
184
+
checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
185
185
+
dependencies = [
186
186
+
"proc-macro2",
187
187
+
"quote",
188
188
+
"syn",
189
189
+
]
190
190
+
191
191
+
[[package]]
192
192
+
name = "unicode-ident"
193
193
+
version = "1.0.13"
194
194
+
source = "registry+https://github.com/rust-lang/crates.io-index"
195
195
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
196
196
+
197
197
+
[[package]]
198
198
+
name = "unicode-width"
199
199
+
version = "0.1.14"
200
200
+
source = "registry+https://github.com/rust-lang/crates.io-index"
201
201
+
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
202
202
+
203
203
+
[[package]]
204
204
+
name = "winapi"
205
205
+
version = "0.3.9"
206
206
+
source = "registry+https://github.com/rust-lang/crates.io-index"
207
207
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
208
208
+
dependencies = [
209
209
+
"winapi-i686-pc-windows-gnu",
210
210
+
"winapi-x86_64-pc-windows-gnu",
211
211
+
]
212
212
+
213
213
+
[[package]]
214
214
+
name = "winapi-i686-pc-windows-gnu"
215
215
+
version = "0.4.0"
216
216
+
source = "registry+https://github.com/rust-lang/crates.io-index"
217
217
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
218
218
+
219
219
+
[[package]]
220
220
+
name = "winapi-x86_64-pc-windows-gnu"
221
221
+
version = "0.4.0"
222
222
+
source = "registry+https://github.com/rust-lang/crates.io-index"
223
223
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+33
pkgs/by-name/ru/rusty-bash/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
rustPlatform,
4
4
+
fetchFromGitHub,
5
5
+
}:
6
6
+
7
7
+
rustPlatform.buildRustPackage rec {
8
8
+
pname = "rusty-bash";
9
9
+
version = "0.8.5";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "shellgei";
13
13
+
repo = "rusty_bash";
14
14
+
rev = "refs/tags/v${version}";
15
15
+
hash = "sha256-hUMkgsWlGSqOnYdFhDGBWbc13oAssklbuJAg8NkY398=";
16
16
+
};
17
17
+
18
18
+
postPatch = ''
19
19
+
cp ${./Cargo.lock} ./Cargo.lock
20
20
+
'';
21
21
+
22
22
+
cargoLock.lockFile = ./Cargo.lock;
23
23
+
24
24
+
passthru.shellPath = "/bin/sush";
25
25
+
26
26
+
meta = {
27
27
+
description = "Bash written with Rust, a.k.a. sushi shell";
28
28
+
homepage = "https://github.com/shellgei/rusty_bash";
29
29
+
license = lib.licenses.bsd3;
30
30
+
mainProgram = "sush";
31
31
+
maintainers = with lib.maintainers; [ aleksana ];
32
32
+
};
33
33
+
}