tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.watchfiles: cleanup
Gaetan Lepage
1 year ago
c1c20176
8fb36574
+20
-502
3 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
watchfiles
Cargo.lock
default.nix
top-level
python-packages.nix
-468
pkgs/development/python-modules/watchfiles/Cargo.lock
reviewed
···
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 = "autocfg"
7
7
-
version = "1.3.0"
8
8
-
source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
-
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
10
10
-
11
11
-
[[package]]
12
12
-
name = "bitflags"
13
13
-
version = "1.3.2"
14
14
-
source = "registry+https://github.com/rust-lang/crates.io-index"
15
15
-
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
16
16
-
17
17
-
[[package]]
18
18
-
name = "bitflags"
19
19
-
version = "2.6.0"
20
20
-
source = "registry+https://github.com/rust-lang/crates.io-index"
21
21
-
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
22
22
-
23
23
-
[[package]]
24
24
-
name = "cc"
25
25
-
version = "1.0.96"
26
26
-
source = "registry+https://github.com/rust-lang/crates.io-index"
27
27
-
checksum = "065a29261d53ba54260972629f9ca6bffa69bac13cd1fed61420f7fa68b9f8bd"
28
28
-
29
29
-
[[package]]
30
30
-
name = "cfg-if"
31
31
-
version = "1.0.0"
32
32
-
source = "registry+https://github.com/rust-lang/crates.io-index"
33
33
-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
34
34
-
35
35
-
[[package]]
36
36
-
name = "crossbeam-channel"
37
37
-
version = "0.5.12"
38
38
-
source = "registry+https://github.com/rust-lang/crates.io-index"
39
39
-
checksum = "ab3db02a9c5b5121e1e42fbdb1aeb65f5e02624cc58c43f2884c6ccac0b82f95"
40
40
-
dependencies = [
41
41
-
"crossbeam-utils",
42
42
-
]
43
43
-
44
44
-
[[package]]
45
45
-
name = "crossbeam-utils"
46
46
-
version = "0.8.19"
47
47
-
source = "registry+https://github.com/rust-lang/crates.io-index"
48
48
-
checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
49
49
-
50
50
-
[[package]]
51
51
-
name = "filetime"
52
52
-
version = "0.2.24"
53
53
-
source = "registry+https://github.com/rust-lang/crates.io-index"
54
54
-
checksum = "bf401df4a4e3872c4fe8151134cf483738e74b67fc934d6532c882b3d24a4550"
55
55
-
dependencies = [
56
56
-
"cfg-if",
57
57
-
"libc",
58
58
-
"libredox",
59
59
-
"windows-sys 0.59.0",
60
60
-
]
61
61
-
62
62
-
[[package]]
63
63
-
name = "fsevent-sys"
64
64
-
version = "4.1.0"
65
65
-
source = "registry+https://github.com/rust-lang/crates.io-index"
66
66
-
checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2"
67
67
-
dependencies = [
68
68
-
"libc",
69
69
-
]
70
70
-
71
71
-
[[package]]
72
72
-
name = "heck"
73
73
-
version = "0.5.0"
74
74
-
source = "registry+https://github.com/rust-lang/crates.io-index"
75
75
-
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
76
76
-
77
77
-
[[package]]
78
78
-
name = "indoc"
79
79
-
version = "2.0.5"
80
80
-
source = "registry+https://github.com/rust-lang/crates.io-index"
81
81
-
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
82
82
-
83
83
-
[[package]]
84
84
-
name = "inotify"
85
85
-
version = "0.10.2"
86
86
-
source = "registry+https://github.com/rust-lang/crates.io-index"
87
87
-
checksum = "fdd168d97690d0b8c412d6b6c10360277f4d7ee495c5d0d5d5fe0854923255cc"
88
88
-
dependencies = [
89
89
-
"bitflags 1.3.2",
90
90
-
"inotify-sys",
91
91
-
"libc",
92
92
-
]
93
93
-
94
94
-
[[package]]
95
95
-
name = "inotify-sys"
96
96
-
version = "0.1.5"
97
97
-
source = "registry+https://github.com/rust-lang/crates.io-index"
98
98
-
checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb"
99
99
-
dependencies = [
100
100
-
"libc",
101
101
-
]
102
102
-
103
103
-
[[package]]
104
104
-
name = "instant"
105
105
-
version = "0.1.13"
106
106
-
source = "registry+https://github.com/rust-lang/crates.io-index"
107
107
-
checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
108
108
-
dependencies = [
109
109
-
"cfg-if",
110
110
-
]
111
111
-
112
112
-
[[package]]
113
113
-
name = "kqueue"
114
114
-
version = "1.0.8"
115
115
-
source = "registry+https://github.com/rust-lang/crates.io-index"
116
116
-
checksum = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c"
117
117
-
dependencies = [
118
118
-
"kqueue-sys",
119
119
-
"libc",
120
120
-
]
121
121
-
122
122
-
[[package]]
123
123
-
name = "kqueue-sys"
124
124
-
version = "1.0.4"
125
125
-
source = "registry+https://github.com/rust-lang/crates.io-index"
126
126
-
checksum = "ed9625ffda8729b85e45cf04090035ac368927b8cebc34898e7c120f52e4838b"
127
127
-
dependencies = [
128
128
-
"bitflags 1.3.2",
129
129
-
"libc",
130
130
-
]
131
131
-
132
132
-
[[package]]
133
133
-
name = "libc"
134
134
-
version = "0.2.169"
135
135
-
source = "registry+https://github.com/rust-lang/crates.io-index"
136
136
-
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
137
137
-
138
138
-
[[package]]
139
139
-
name = "libredox"
140
140
-
version = "0.1.3"
141
141
-
source = "registry+https://github.com/rust-lang/crates.io-index"
142
142
-
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
143
143
-
dependencies = [
144
144
-
"bitflags 2.6.0",
145
145
-
"libc",
146
146
-
"redox_syscall",
147
147
-
]
148
148
-
149
149
-
[[package]]
150
150
-
name = "log"
151
151
-
version = "0.4.22"
152
152
-
source = "registry+https://github.com/rust-lang/crates.io-index"
153
153
-
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
154
154
-
155
155
-
[[package]]
156
156
-
name = "memoffset"
157
157
-
version = "0.9.1"
158
158
-
source = "registry+https://github.com/rust-lang/crates.io-index"
159
159
-
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
160
160
-
dependencies = [
161
161
-
"autocfg",
162
162
-
]
163
163
-
164
164
-
[[package]]
165
165
-
name = "mio"
166
166
-
version = "1.0.3"
167
167
-
source = "registry+https://github.com/rust-lang/crates.io-index"
168
168
-
checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
169
169
-
dependencies = [
170
170
-
"libc",
171
171
-
"log",
172
172
-
"wasi",
173
173
-
"windows-sys 0.52.0",
174
174
-
]
175
175
-
176
176
-
[[package]]
177
177
-
name = "notify"
178
178
-
version = "7.0.0"
179
179
-
source = "registry+https://github.com/rust-lang/crates.io-index"
180
180
-
checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009"
181
181
-
dependencies = [
182
182
-
"bitflags 2.6.0",
183
183
-
"filetime",
184
184
-
"fsevent-sys",
185
185
-
"inotify",
186
186
-
"kqueue",
187
187
-
"libc",
188
188
-
"log",
189
189
-
"mio",
190
190
-
"notify-types",
191
191
-
"walkdir",
192
192
-
"windows-sys 0.52.0",
193
193
-
]
194
194
-
195
195
-
[[package]]
196
196
-
name = "notify-types"
197
197
-
version = "1.0.1"
198
198
-
source = "registry+https://github.com/rust-lang/crates.io-index"
199
199
-
checksum = "585d3cb5e12e01aed9e8a1f70d5c6b5e86fe2a6e48fc8cd0b3e0b8df6f6eb174"
200
200
-
dependencies = [
201
201
-
"instant",
202
202
-
]
203
203
-
204
204
-
[[package]]
205
205
-
name = "once_cell"
206
206
-
version = "1.19.0"
207
207
-
source = "registry+https://github.com/rust-lang/crates.io-index"
208
208
-
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
209
209
-
210
210
-
[[package]]
211
211
-
name = "portable-atomic"
212
212
-
version = "1.6.0"
213
213
-
source = "registry+https://github.com/rust-lang/crates.io-index"
214
214
-
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
215
215
-
216
216
-
[[package]]
217
217
-
name = "proc-macro2"
218
218
-
version = "1.0.81"
219
219
-
source = "registry+https://github.com/rust-lang/crates.io-index"
220
220
-
checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba"
221
221
-
dependencies = [
222
222
-
"unicode-ident",
223
223
-
]
224
224
-
225
225
-
[[package]]
226
226
-
name = "pyo3"
227
227
-
version = "0.23.3"
228
228
-
source = "registry+https://github.com/rust-lang/crates.io-index"
229
229
-
checksum = "e484fd2c8b4cb67ab05a318f1fd6fa8f199fcc30819f08f07d200809dba26c15"
230
230
-
dependencies = [
231
231
-
"cfg-if",
232
232
-
"indoc",
233
233
-
"libc",
234
234
-
"memoffset",
235
235
-
"once_cell",
236
236
-
"portable-atomic",
237
237
-
"pyo3-build-config",
238
238
-
"pyo3-ffi",
239
239
-
"pyo3-macros",
240
240
-
"unindent",
241
241
-
]
242
242
-
243
243
-
[[package]]
244
244
-
name = "pyo3-build-config"
245
245
-
version = "0.23.3"
246
246
-
source = "registry+https://github.com/rust-lang/crates.io-index"
247
247
-
checksum = "dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b"
248
248
-
dependencies = [
249
249
-
"once_cell",
250
250
-
"python3-dll-a",
251
251
-
"target-lexicon",
252
252
-
]
253
253
-
254
254
-
[[package]]
255
255
-
name = "pyo3-ffi"
256
256
-
version = "0.23.3"
257
257
-
source = "registry+https://github.com/rust-lang/crates.io-index"
258
258
-
checksum = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d"
259
259
-
dependencies = [
260
260
-
"libc",
261
261
-
"pyo3-build-config",
262
262
-
]
263
263
-
264
264
-
[[package]]
265
265
-
name = "pyo3-macros"
266
266
-
version = "0.23.3"
267
267
-
source = "registry+https://github.com/rust-lang/crates.io-index"
268
268
-
checksum = "fdb6da8ec6fa5cedd1626c886fc8749bdcbb09424a86461eb8cdf096b7c33257"
269
269
-
dependencies = [
270
270
-
"proc-macro2",
271
271
-
"pyo3-macros-backend",
272
272
-
"quote",
273
273
-
"syn",
274
274
-
]
275
275
-
276
276
-
[[package]]
277
277
-
name = "pyo3-macros-backend"
278
278
-
version = "0.23.3"
279
279
-
source = "registry+https://github.com/rust-lang/crates.io-index"
280
280
-
checksum = "38a385202ff5a92791168b1136afae5059d3ac118457bb7bc304c197c2d33e7d"
281
281
-
dependencies = [
282
282
-
"heck",
283
283
-
"proc-macro2",
284
284
-
"pyo3-build-config",
285
285
-
"quote",
286
286
-
"syn",
287
287
-
]
288
288
-
289
289
-
[[package]]
290
290
-
name = "python3-dll-a"
291
291
-
version = "0.2.11"
292
292
-
source = "registry+https://github.com/rust-lang/crates.io-index"
293
293
-
checksum = "9b9e268ee1be609e93a13eb06839f68f67e5fe0fb4049834d261c2d5091c1b6d"
294
294
-
dependencies = [
295
295
-
"cc",
296
296
-
]
297
297
-
298
298
-
[[package]]
299
299
-
name = "quote"
300
300
-
version = "1.0.36"
301
301
-
source = "registry+https://github.com/rust-lang/crates.io-index"
302
302
-
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
303
303
-
dependencies = [
304
304
-
"proc-macro2",
305
305
-
]
306
306
-
307
307
-
[[package]]
308
308
-
name = "redox_syscall"
309
309
-
version = "0.5.3"
310
310
-
source = "registry+https://github.com/rust-lang/crates.io-index"
311
311
-
checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
312
312
-
dependencies = [
313
313
-
"bitflags 2.6.0",
314
314
-
]
315
315
-
316
316
-
[[package]]
317
317
-
name = "same-file"
318
318
-
version = "1.0.6"
319
319
-
source = "registry+https://github.com/rust-lang/crates.io-index"
320
320
-
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
321
321
-
dependencies = [
322
322
-
"winapi-util",
323
323
-
]
324
324
-
325
325
-
[[package]]
326
326
-
name = "syn"
327
327
-
version = "2.0.60"
328
328
-
source = "registry+https://github.com/rust-lang/crates.io-index"
329
329
-
checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3"
330
330
-
dependencies = [
331
331
-
"proc-macro2",
332
332
-
"quote",
333
333
-
"unicode-ident",
334
334
-
]
335
335
-
336
336
-
[[package]]
337
337
-
name = "target-lexicon"
338
338
-
version = "0.12.14"
339
339
-
source = "registry+https://github.com/rust-lang/crates.io-index"
340
340
-
checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
341
341
-
342
342
-
[[package]]
343
343
-
name = "unicode-ident"
344
344
-
version = "1.0.12"
345
345
-
source = "registry+https://github.com/rust-lang/crates.io-index"
346
346
-
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
347
347
-
348
348
-
[[package]]
349
349
-
name = "unindent"
350
350
-
version = "0.2.3"
351
351
-
source = "registry+https://github.com/rust-lang/crates.io-index"
352
352
-
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
353
353
-
354
354
-
[[package]]
355
355
-
name = "walkdir"
356
356
-
version = "2.5.0"
357
357
-
source = "registry+https://github.com/rust-lang/crates.io-index"
358
358
-
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
359
359
-
dependencies = [
360
360
-
"same-file",
361
361
-
"winapi-util",
362
362
-
]
363
363
-
364
364
-
[[package]]
365
365
-
name = "wasi"
366
366
-
version = "0.11.0+wasi-snapshot-preview1"
367
367
-
source = "registry+https://github.com/rust-lang/crates.io-index"
368
368
-
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
369
369
-
370
370
-
[[package]]
371
371
-
name = "watchfiles_rust_notify"
372
372
-
version = "1.0.4"
373
373
-
dependencies = [
374
374
-
"crossbeam-channel",
375
375
-
"notify",
376
376
-
"pyo3",
377
377
-
]
378
378
-
379
379
-
[[package]]
380
380
-
name = "winapi-util"
381
381
-
version = "0.1.9"
382
382
-
source = "registry+https://github.com/rust-lang/crates.io-index"
383
383
-
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
384
384
-
dependencies = [
385
385
-
"windows-sys 0.59.0",
386
386
-
]
387
387
-
388
388
-
[[package]]
389
389
-
name = "windows-sys"
390
390
-
version = "0.52.0"
391
391
-
source = "registry+https://github.com/rust-lang/crates.io-index"
392
392
-
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
393
393
-
dependencies = [
394
394
-
"windows-targets",
395
395
-
]
396
396
-
397
397
-
[[package]]
398
398
-
name = "windows-sys"
399
399
-
version = "0.59.0"
400
400
-
source = "registry+https://github.com/rust-lang/crates.io-index"
401
401
-
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
402
402
-
dependencies = [
403
403
-
"windows-targets",
404
404
-
]
405
405
-
406
406
-
[[package]]
407
407
-
name = "windows-targets"
408
408
-
version = "0.52.6"
409
409
-
source = "registry+https://github.com/rust-lang/crates.io-index"
410
410
-
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
411
411
-
dependencies = [
412
412
-
"windows_aarch64_gnullvm",
413
413
-
"windows_aarch64_msvc",
414
414
-
"windows_i686_gnu",
415
415
-
"windows_i686_gnullvm",
416
416
-
"windows_i686_msvc",
417
417
-
"windows_x86_64_gnu",
418
418
-
"windows_x86_64_gnullvm",
419
419
-
"windows_x86_64_msvc",
420
420
-
]
421
421
-
422
422
-
[[package]]
423
423
-
name = "windows_aarch64_gnullvm"
424
424
-
version = "0.52.6"
425
425
-
source = "registry+https://github.com/rust-lang/crates.io-index"
426
426
-
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
427
427
-
428
428
-
[[package]]
429
429
-
name = "windows_aarch64_msvc"
430
430
-
version = "0.52.6"
431
431
-
source = "registry+https://github.com/rust-lang/crates.io-index"
432
432
-
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
433
433
-
434
434
-
[[package]]
435
435
-
name = "windows_i686_gnu"
436
436
-
version = "0.52.6"
437
437
-
source = "registry+https://github.com/rust-lang/crates.io-index"
438
438
-
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
439
439
-
440
440
-
[[package]]
441
441
-
name = "windows_i686_gnullvm"
442
442
-
version = "0.52.6"
443
443
-
source = "registry+https://github.com/rust-lang/crates.io-index"
444
444
-
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
445
445
-
446
446
-
[[package]]
447
447
-
name = "windows_i686_msvc"
448
448
-
version = "0.52.6"
449
449
-
source = "registry+https://github.com/rust-lang/crates.io-index"
450
450
-
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
451
451
-
452
452
-
[[package]]
453
453
-
name = "windows_x86_64_gnu"
454
454
-
version = "0.52.6"
455
455
-
source = "registry+https://github.com/rust-lang/crates.io-index"
456
456
-
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
457
457
-
458
458
-
[[package]]
459
459
-
name = "windows_x86_64_gnullvm"
460
460
-
version = "0.52.6"
461
461
-
source = "registry+https://github.com/rust-lang/crates.io-index"
462
462
-
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
463
463
-
464
464
-
[[package]]
465
465
-
name = "windows_x86_64_msvc"
466
466
-
version = "0.52.6"
467
467
-
source = "registry+https://github.com/rust-lang/crates.io-index"
468
468
-
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+19
-31
pkgs/development/python-modules/watchfiles/default.nix
reviewed
···
1
1
{
2
2
lib,
3
3
-
stdenv,
4
4
-
anyio,
5
3
buildPythonPackage,
6
6
-
cargo,
7
4
fetchFromGitHub,
8
5
rustPlatform,
9
9
-
rustc,
10
10
-
pythonOlder,
6
6
+
anyio,
7
7
+
8
8
+
# tests
11
9
dirty-equals,
12
10
pytest-mock,
13
11
pytest-timeout,
14
12
pytestCheckHook,
15
15
-
typing-extensions,
16
16
-
CoreServices,
17
17
-
libiconv,
13
13
+
versionCheckHook,
18
14
}:
19
15
20
16
buildPythonPackage rec {
···
22
18
version = "1.0.4";
23
19
pyproject = true;
24
20
25
25
-
disabled = pythonOlder "3.9";
26
26
-
27
21
src = fetchFromGitHub {
28
22
owner = "samuelcolvin";
29
29
-
repo = pname;
23
23
+
repo = "watchfiles";
30
24
tag = "v${version}";
31
25
hash = "sha256-0JBnUi/aRM9UFTkb8OkP9UkJV+BF2EieZptymRvAXc0=";
32
26
};
33
27
34
34
-
cargoDeps = rustPlatform.importCargoLock {
35
35
-
lockFile = ./Cargo.lock;
28
28
+
cargoDeps = rustPlatform.fetchCargoVendor {
29
29
+
inherit pname src version;
30
30
+
hash = "sha256-5iJmtMnZKHAl/SkIjXlXkRA4ZME/ozpqFfxXKCAABoQ=";
36
31
};
37
32
38
38
-
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
39
39
-
CoreServices
40
40
-
libiconv
41
41
-
];
42
42
-
43
33
nativeBuildInputs = [
44
34
rustPlatform.cargoSetupHook
45
45
-
cargo
46
46
-
rustc
35
35
+
rustPlatform.maturinBuildHook
47
36
];
48
37
49
49
-
build-system = [ rustPlatform.maturinBuildHook ];
50
50
-
51
51
-
dependencies = [ anyio ];
38
38
+
dependencies = [
39
39
+
anyio
40
40
+
];
52
41
53
42
# Tests need these permissions in order to use the FSEvents API on macOS.
54
43
sandboxProfile = ''
···
60
49
pytest-mock
61
50
pytest-timeout
62
51
pytestCheckHook
52
52
+
versionCheckHook
63
53
];
64
64
-
65
65
-
postPatch = ''
66
66
-
sed -i "/^requires-python =.*/a version = '${version}'" pyproject.toml
67
67
-
'';
54
54
+
versionCheckProgramArg = "--version";
68
55
69
56
preCheck = ''
70
57
rm -rf watchfiles
···
77
64
78
65
pythonImportsCheck = [ "watchfiles" ];
79
66
80
80
-
meta = with lib; {
67
67
+
meta = {
81
68
description = "File watching and code reload";
69
69
+
homepage = "https://watchfiles.helpmanual.io/";
70
70
+
changelog = "https://github.com/samuelcolvin/watchfiles/releases/tag/v${version}";
71
71
+
license = lib.licenses.mit;
72
72
+
maintainers = with lib.maintainers; [ fab ];
82
73
mainProgram = "watchfiles";
83
83
-
homepage = "https://watchfiles.helpmanual.io/";
84
84
-
license = licenses.mit;
85
85
-
maintainers = with maintainers; [ fab ];
86
74
};
87
75
}
+1
-3
pkgs/top-level/python-packages.nix
reviewed
···
18707
18707
18708
18708
watchdog-gevent = callPackage ../development/python-modules/watchdog-gevent { };
18709
18709
18710
18710
-
watchfiles = callPackage ../development/python-modules/watchfiles {
18711
18711
-
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
18712
18712
-
};
18710
18710
+
watchfiles = callPackage ../development/python-modules/watchfiles { };
18713
18711
18714
18712
watchgod = callPackage ../development/python-modules/watchgod { };
18715
18713