tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.py-rust-stemmers: init at 0.1.5
Gaetan Lepage
1 year ago
e5ac19d5
bfc2a5b1
+421
3 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
py-rust-stemmers
Cargo.lock
default.nix
top-level
python-packages.nix
+374
pkgs/development/python-modules/py-rust-stemmers/Cargo.lock
···
1
1
+
# This file is automatically @generated by Cargo.
2
2
+
# It is not intended for manual editing.
3
3
+
version = 4
4
4
+
5
5
+
[[package]]
6
6
+
name = "autocfg"
7
7
+
version = "1.4.0"
8
8
+
source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
10
10
+
11
11
+
[[package]]
12
12
+
name = "bitflags"
13
13
+
version = "2.8.0"
14
14
+
source = "registry+https://github.com/rust-lang/crates.io-index"
15
15
+
checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
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 = "crossbeam-deque"
25
25
+
version = "0.8.6"
26
26
+
source = "registry+https://github.com/rust-lang/crates.io-index"
27
27
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
28
28
+
dependencies = [
29
29
+
"crossbeam-epoch",
30
30
+
"crossbeam-utils",
31
31
+
]
32
32
+
33
33
+
[[package]]
34
34
+
name = "crossbeam-epoch"
35
35
+
version = "0.9.18"
36
36
+
source = "registry+https://github.com/rust-lang/crates.io-index"
37
37
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
38
38
+
dependencies = [
39
39
+
"crossbeam-utils",
40
40
+
]
41
41
+
42
42
+
[[package]]
43
43
+
name = "crossbeam-utils"
44
44
+
version = "0.8.21"
45
45
+
source = "registry+https://github.com/rust-lang/crates.io-index"
46
46
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
47
47
+
48
48
+
[[package]]
49
49
+
name = "either"
50
50
+
version = "1.13.0"
51
51
+
source = "registry+https://github.com/rust-lang/crates.io-index"
52
52
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
53
53
+
54
54
+
[[package]]
55
55
+
name = "indoc"
56
56
+
version = "1.0.9"
57
57
+
source = "registry+https://github.com/rust-lang/crates.io-index"
58
58
+
checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
59
59
+
60
60
+
[[package]]
61
61
+
name = "libc"
62
62
+
version = "0.2.169"
63
63
+
source = "registry+https://github.com/rust-lang/crates.io-index"
64
64
+
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
65
65
+
66
66
+
[[package]]
67
67
+
name = "lock_api"
68
68
+
version = "0.4.12"
69
69
+
source = "registry+https://github.com/rust-lang/crates.io-index"
70
70
+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
71
71
+
dependencies = [
72
72
+
"autocfg",
73
73
+
"scopeguard",
74
74
+
]
75
75
+
76
76
+
[[package]]
77
77
+
name = "memoffset"
78
78
+
version = "0.8.0"
79
79
+
source = "registry+https://github.com/rust-lang/crates.io-index"
80
80
+
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
81
81
+
dependencies = [
82
82
+
"autocfg",
83
83
+
]
84
84
+
85
85
+
[[package]]
86
86
+
name = "once_cell"
87
87
+
version = "1.20.3"
88
88
+
source = "registry+https://github.com/rust-lang/crates.io-index"
89
89
+
checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
90
90
+
91
91
+
[[package]]
92
92
+
name = "parking_lot"
93
93
+
version = "0.12.3"
94
94
+
source = "registry+https://github.com/rust-lang/crates.io-index"
95
95
+
checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
96
96
+
dependencies = [
97
97
+
"lock_api",
98
98
+
"parking_lot_core",
99
99
+
]
100
100
+
101
101
+
[[package]]
102
102
+
name = "parking_lot_core"
103
103
+
version = "0.9.10"
104
104
+
source = "registry+https://github.com/rust-lang/crates.io-index"
105
105
+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
106
106
+
dependencies = [
107
107
+
"cfg-if",
108
108
+
"libc",
109
109
+
"redox_syscall",
110
110
+
"smallvec",
111
111
+
"windows-targets",
112
112
+
]
113
113
+
114
114
+
[[package]]
115
115
+
name = "proc-macro2"
116
116
+
version = "1.0.93"
117
117
+
source = "registry+https://github.com/rust-lang/crates.io-index"
118
118
+
checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
119
119
+
dependencies = [
120
120
+
"unicode-ident",
121
121
+
]
122
122
+
123
123
+
[[package]]
124
124
+
name = "py_rust_stemmers"
125
125
+
version = "0.1.5"
126
126
+
dependencies = [
127
127
+
"pyo3",
128
128
+
"rayon",
129
129
+
"rust-stemmers",
130
130
+
]
131
131
+
132
132
+
[[package]]
133
133
+
name = "pyo3"
134
134
+
version = "0.18.3"
135
135
+
source = "registry+https://github.com/rust-lang/crates.io-index"
136
136
+
checksum = "e3b1ac5b3731ba34fdaa9785f8d74d17448cd18f30cf19e0c7e7b1fdb5272109"
137
137
+
dependencies = [
138
138
+
"cfg-if",
139
139
+
"indoc",
140
140
+
"libc",
141
141
+
"memoffset",
142
142
+
"parking_lot",
143
143
+
"pyo3-build-config",
144
144
+
"pyo3-ffi",
145
145
+
"pyo3-macros",
146
146
+
"unindent",
147
147
+
]
148
148
+
149
149
+
[[package]]
150
150
+
name = "pyo3-build-config"
151
151
+
version = "0.18.3"
152
152
+
source = "registry+https://github.com/rust-lang/crates.io-index"
153
153
+
checksum = "9cb946f5ac61bb61a5014924910d936ebd2b23b705f7a4a3c40b05c720b079a3"
154
154
+
dependencies = [
155
155
+
"once_cell",
156
156
+
"target-lexicon",
157
157
+
]
158
158
+
159
159
+
[[package]]
160
160
+
name = "pyo3-ffi"
161
161
+
version = "0.18.3"
162
162
+
source = "registry+https://github.com/rust-lang/crates.io-index"
163
163
+
checksum = "fd4d7c5337821916ea2a1d21d1092e8443cf34879e53a0ac653fbb98f44ff65c"
164
164
+
dependencies = [
165
165
+
"libc",
166
166
+
"pyo3-build-config",
167
167
+
]
168
168
+
169
169
+
[[package]]
170
170
+
name = "pyo3-macros"
171
171
+
version = "0.18.3"
172
172
+
source = "registry+https://github.com/rust-lang/crates.io-index"
173
173
+
checksum = "a9d39c55dab3fc5a4b25bbd1ac10a2da452c4aca13bb450f22818a002e29648d"
174
174
+
dependencies = [
175
175
+
"proc-macro2",
176
176
+
"pyo3-macros-backend",
177
177
+
"quote",
178
178
+
"syn 1.0.109",
179
179
+
]
180
180
+
181
181
+
[[package]]
182
182
+
name = "pyo3-macros-backend"
183
183
+
version = "0.18.3"
184
184
+
source = "registry+https://github.com/rust-lang/crates.io-index"
185
185
+
checksum = "97daff08a4c48320587b5224cc98d609e3c27b6d437315bd40b605c98eeb5918"
186
186
+
dependencies = [
187
187
+
"proc-macro2",
188
188
+
"quote",
189
189
+
"syn 1.0.109",
190
190
+
]
191
191
+
192
192
+
[[package]]
193
193
+
name = "quote"
194
194
+
version = "1.0.38"
195
195
+
source = "registry+https://github.com/rust-lang/crates.io-index"
196
196
+
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
197
197
+
dependencies = [
198
198
+
"proc-macro2",
199
199
+
]
200
200
+
201
201
+
[[package]]
202
202
+
name = "rayon"
203
203
+
version = "1.10.0"
204
204
+
source = "registry+https://github.com/rust-lang/crates.io-index"
205
205
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
206
206
+
dependencies = [
207
207
+
"either",
208
208
+
"rayon-core",
209
209
+
]
210
210
+
211
211
+
[[package]]
212
212
+
name = "rayon-core"
213
213
+
version = "1.12.1"
214
214
+
source = "registry+https://github.com/rust-lang/crates.io-index"
215
215
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
216
216
+
dependencies = [
217
217
+
"crossbeam-deque",
218
218
+
"crossbeam-utils",
219
219
+
]
220
220
+
221
221
+
[[package]]
222
222
+
name = "redox_syscall"
223
223
+
version = "0.5.8"
224
224
+
source = "registry+https://github.com/rust-lang/crates.io-index"
225
225
+
checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834"
226
226
+
dependencies = [
227
227
+
"bitflags",
228
228
+
]
229
229
+
230
230
+
[[package]]
231
231
+
name = "rust-stemmers"
232
232
+
version = "1.2.0"
233
233
+
source = "registry+https://github.com/rust-lang/crates.io-index"
234
234
+
checksum = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54"
235
235
+
dependencies = [
236
236
+
"serde",
237
237
+
"serde_derive",
238
238
+
]
239
239
+
240
240
+
[[package]]
241
241
+
name = "scopeguard"
242
242
+
version = "1.2.0"
243
243
+
source = "registry+https://github.com/rust-lang/crates.io-index"
244
244
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
245
245
+
246
246
+
[[package]]
247
247
+
name = "serde"
248
248
+
version = "1.0.218"
249
249
+
source = "registry+https://github.com/rust-lang/crates.io-index"
250
250
+
checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
251
251
+
dependencies = [
252
252
+
"serde_derive",
253
253
+
]
254
254
+
255
255
+
[[package]]
256
256
+
name = "serde_derive"
257
257
+
version = "1.0.218"
258
258
+
source = "registry+https://github.com/rust-lang/crates.io-index"
259
259
+
checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
260
260
+
dependencies = [
261
261
+
"proc-macro2",
262
262
+
"quote",
263
263
+
"syn 2.0.98",
264
264
+
]
265
265
+
266
266
+
[[package]]
267
267
+
name = "smallvec"
268
268
+
version = "1.14.0"
269
269
+
source = "registry+https://github.com/rust-lang/crates.io-index"
270
270
+
checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd"
271
271
+
272
272
+
[[package]]
273
273
+
name = "syn"
274
274
+
version = "1.0.109"
275
275
+
source = "registry+https://github.com/rust-lang/crates.io-index"
276
276
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
277
277
+
dependencies = [
278
278
+
"proc-macro2",
279
279
+
"quote",
280
280
+
"unicode-ident",
281
281
+
]
282
282
+
283
283
+
[[package]]
284
284
+
name = "syn"
285
285
+
version = "2.0.98"
286
286
+
source = "registry+https://github.com/rust-lang/crates.io-index"
287
287
+
checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
288
288
+
dependencies = [
289
289
+
"proc-macro2",
290
290
+
"quote",
291
291
+
"unicode-ident",
292
292
+
]
293
293
+
294
294
+
[[package]]
295
295
+
name = "target-lexicon"
296
296
+
version = "0.12.16"
297
297
+
source = "registry+https://github.com/rust-lang/crates.io-index"
298
298
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
299
299
+
300
300
+
[[package]]
301
301
+
name = "unicode-ident"
302
302
+
version = "1.0.17"
303
303
+
source = "registry+https://github.com/rust-lang/crates.io-index"
304
304
+
checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe"
305
305
+
306
306
+
[[package]]
307
307
+
name = "unindent"
308
308
+
version = "0.1.11"
309
309
+
source = "registry+https://github.com/rust-lang/crates.io-index"
310
310
+
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
311
311
+
312
312
+
[[package]]
313
313
+
name = "windows-targets"
314
314
+
version = "0.52.6"
315
315
+
source = "registry+https://github.com/rust-lang/crates.io-index"
316
316
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
317
317
+
dependencies = [
318
318
+
"windows_aarch64_gnullvm",
319
319
+
"windows_aarch64_msvc",
320
320
+
"windows_i686_gnu",
321
321
+
"windows_i686_gnullvm",
322
322
+
"windows_i686_msvc",
323
323
+
"windows_x86_64_gnu",
324
324
+
"windows_x86_64_gnullvm",
325
325
+
"windows_x86_64_msvc",
326
326
+
]
327
327
+
328
328
+
[[package]]
329
329
+
name = "windows_aarch64_gnullvm"
330
330
+
version = "0.52.6"
331
331
+
source = "registry+https://github.com/rust-lang/crates.io-index"
332
332
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
333
333
+
334
334
+
[[package]]
335
335
+
name = "windows_aarch64_msvc"
336
336
+
version = "0.52.6"
337
337
+
source = "registry+https://github.com/rust-lang/crates.io-index"
338
338
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
339
339
+
340
340
+
[[package]]
341
341
+
name = "windows_i686_gnu"
342
342
+
version = "0.52.6"
343
343
+
source = "registry+https://github.com/rust-lang/crates.io-index"
344
344
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
345
345
+
346
346
+
[[package]]
347
347
+
name = "windows_i686_gnullvm"
348
348
+
version = "0.52.6"
349
349
+
source = "registry+https://github.com/rust-lang/crates.io-index"
350
350
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
351
351
+
352
352
+
[[package]]
353
353
+
name = "windows_i686_msvc"
354
354
+
version = "0.52.6"
355
355
+
source = "registry+https://github.com/rust-lang/crates.io-index"
356
356
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
357
357
+
358
358
+
[[package]]
359
359
+
name = "windows_x86_64_gnu"
360
360
+
version = "0.52.6"
361
361
+
source = "registry+https://github.com/rust-lang/crates.io-index"
362
362
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
363
363
+
364
364
+
[[package]]
365
365
+
name = "windows_x86_64_gnullvm"
366
366
+
version = "0.52.6"
367
367
+
source = "registry+https://github.com/rust-lang/crates.io-index"
368
368
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
369
369
+
370
370
+
[[package]]
371
371
+
name = "windows_x86_64_msvc"
372
372
+
version = "0.52.6"
373
373
+
source = "registry+https://github.com/rust-lang/crates.io-index"
374
374
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+45
pkgs/development/python-modules/py-rust-stemmers/default.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
rustPlatform,
6
6
+
7
7
+
# build-system
8
8
+
cargo,
9
9
+
rustc,
10
10
+
}:
11
11
+
12
12
+
buildPythonPackage rec {
13
13
+
pname = "py-rust-stemmers";
14
14
+
version = "0.1.5";
15
15
+
pyproject = true;
16
16
+
17
17
+
src = fetchFromGitHub {
18
18
+
owner = "qdrant";
19
19
+
repo = "py-rust-stemmers";
20
20
+
tag = "v${version}";
21
21
+
hash = "sha256-WpTbS8XoOKhyyt1/YGagulopFKiqNI0ETkhjpiX0TL8=";
22
22
+
};
23
23
+
24
24
+
cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
25
25
+
26
26
+
postPatch = ''
27
27
+
ln -s ${./Cargo.lock} Cargo.lock
28
28
+
'';
29
29
+
30
30
+
build-system = [
31
31
+
cargo
32
32
+
rustPlatform.cargoSetupHook
33
33
+
rustPlatform.maturinBuildHook
34
34
+
rustc
35
35
+
];
36
36
+
37
37
+
pythonImportsCheck = [ "py_rust_stemmers" ];
38
38
+
39
39
+
meta = {
40
40
+
description = "High-performance Python wrapper around the rust-stemmers library, utilizing the Snowball stemming algorithm";
41
41
+
homepage = "https://github.com/qdrant/py-rust-stemmers";
42
42
+
license = lib.licenses.mit;
43
43
+
maintainers = with lib.maintainers; [ GaetanLepage ];
44
44
+
};
45
45
+
}
+2
pkgs/top-level/python-packages.nix
···
9622
9622
9623
9623
py-radix-sr = callPackage ../development/python-modules/py-radix-sr { };
9624
9624
9625
9625
+
py-rust-stemmers = callPackage ../development/python-modules/py-rust-stemmers { };
9626
9626
+
9625
9627
py-sucks = callPackage ../development/python-modules/py-sucks { };
9626
9628
9627
9629
nwdiag = callPackage ../development/python-modules/nwdiag { };