gnu: tectonic: Update to 0.7.1.
[jackhill/guix/guix.git] / gnu / packages / rust-apps.scm
CommitLineData
9e225670 1;;; GNU Guix --- Functional package management for GNU
e29315b2 2;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
d76f073a 3;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
16ffc3b6 4;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
9eed0a74 5;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
ca4b5588 6;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
cc2849bc 7;;; Copyright © 2020 Mark H Weaver <mhw@netris.org>
0a2e80c3 8;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
700ee27f 9;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
4d047d19 10;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
fb51912d 11;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
453f18db 12;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
c1ee055c 13;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
62b1c471 14;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
9e225670
JS
15;;;
16;;; This file is part of GNU Guix.
17;;;
18;;; GNU Guix is free software; you can redistribute it and/or modify it
19;;; under the terms of the GNU General Public License as published by
20;;; the Free Software Foundation; either version 3 of the License, or (at
21;;; your option) any later version.
22;;;
23;;; GNU Guix is distributed in the hope that it will be useful, but
24;;; WITHOUT ANY WARRANTY; without even the implied warranty of
25;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26;;; GNU General Public License for more details.
27;;;
28;;; You should have received a copy of the GNU General Public License
29;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30
31(define-module (gnu packages rust-apps)
32 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix build-system cargo)
34 #:use-module (guix download)
7b739959 35 #:use-module (guix git-download)
9e225670 36 #:use-module (guix packages)
c40e3d0b
EF
37 #:use-module (gnu packages compression)
38 #:use-module (gnu packages crates-io)
9f86a6da 39 #:use-module (gnu packages crates-graphics)
62b1c471 40 #:use-module (gnu packages curl)
6e18b41e 41 #:use-module (gnu packages documentation)
baa47f0b
NG
42 #:use-module (gnu packages fontutils)
43 #:use-module (gnu packages gtk)
0f7720d1 44 #:use-module (gnu packages jemalloc)
62b1c471 45 #:use-module (gnu packages ssh)
d883e791 46 #:use-module (gnu packages pcre)
c40e3d0b 47 #:use-module (gnu packages pkg-config)
72926ce5 48 #:use-module (gnu packages python-xyz)
62b1c471 49 #:use-module (gnu packages rust)
c40e3d0b
EF
50 #:use-module (gnu packages tls)
51 #:use-module (gnu packages version-control))
9e225670 52
c1ee055c
ASM
53(define-public agate
54 (package
55 (name "agate")
56 (version "2.5.2")
57 (source
58 (origin
59 (method url-fetch)
60 (uri (crate-uri "agate" version))
61 (file-name (string-append name "-" version ".tar.gz"))
62 (sha256
63 (base32 "1mhrl4j5r6wzsnwpqsbgzny5vqschyjm3gnk4y88har7skk7j19v"))))
64 (build-system cargo-build-system)
65 (arguments
66 `(#:cargo-inputs
67 (("rust-configparser" ,rust-configparser-2)
68 ("rust-env-logger" ,rust-env-logger-0.8)
69 ("rust-getopts" ,rust-getopts-0.2)
70 ("rust-glob" ,rust-glob-0.3)
71 ("rust-log" ,rust-log-0.4)
72 ("rust-mime-guess" ,rust-mime-guess-2)
73 ("rust-once-cell" ,rust-once-cell-1)
74 ("rust-percent-encoding" ,rust-percent-encoding-2)
75 ("rust-rustls" ,rust-rustls-0.19)
76 ("rust-tokio" ,rust-tokio-1)
77 ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
78 ("rust-url" ,rust-url-2))))
79 (home-page "https://github.com/mbrubeck/agate")
80 (synopsis "Very simple server for the Gemini hypertext protocol")
81 (description
82 "Agate is a server for the Gemini network protocol, built with the Rust
83programming language. It has very few features, and can only serve static
84files. It uses async I/O, and should be quite efficient even when running on
85low-end hardware and serving many concurrent requests.")
86 (license (list license:expat license:asl2.0))))
87
4e811f56
NG
88(define-public bat
89 (package
90 (name "bat")
bb325c56 91 (version "0.18.1")
4e811f56
NG
92 (source
93 (origin
94 (method url-fetch)
95 (uri (crate-uri "bat" version))
96 (file-name (string-append name "-" version ".tar.gz"))
97 (sha256
bb325c56 98 (base32 "0nvqkddpjxsmd27gqn8czql07faad50mihin5ivb9sxxnni28wnc"))))
4e811f56
NG
99 (build-system cargo-build-system)
100 (arguments
101 `(#:cargo-inputs
102 (("rust-ansi-colours" ,rust-ansi-colours-1)
103 ("rust-ansi-term" ,rust-ansi-term-0.12)
104 ("rust-atty" ,rust-atty-0.2)
bb325c56
NG
105 ("rust-bugreport" ,rust-bugreport-0.4)
106 ("rust-clap" ,rust-clap-2)
4e811f56 107 ("rust-clap" ,rust-clap-2)
3ce7c1f3
NG
108 ("rust-clircle" ,rust-clircle-0.3)
109 ("rust-console" ,rust-console-0.14)
4e811f56 110 ("rust-content-inspector" ,rust-content-inspector-0.2)
3ce7c1f3 111 ("rust-dirs-next" ,rust-dirs-next-2)
4e811f56
NG
112 ("rust-encoding" ,rust-encoding-0.2)
113 ("rust-error-chain" ,rust-error-chain-0.12)
114 ("rust-git2" ,rust-git2-0.13)
115 ("rust-globset" ,rust-globset-0.4)
116 ("rust-lazy-static" ,rust-lazy-static-1)
117 ("rust-path-abs" ,rust-path-abs-0.5)
118 ("rust-semver" ,rust-semver-0.11)
119 ("rust-serde" ,rust-serde-1)
120 ("rust-serde-yaml" ,rust-serde-yaml-0.8)
121 ("rust-shell-words" ,rust-shell-words-1)
122 ("rust-syntect" ,rust-syntect-4)
123 ("rust-unicode-width" ,rust-unicode-width-0.1)
124 ("rust-wild" ,rust-wild-2))
125 #:cargo-development-inputs
126 (("rust-assert-cmd" ,rust-assert-cmd-1)
bb325c56 127 ("rust-nix" ,rust-nix-0.20)
4e811f56 128 ("rust-predicates" ,rust-predicates-1)
3ce7c1f3
NG
129 ("rust-serial-test" ,rust-serial-test-0.5)
130 ("rust-tempfile" ,rust-tempfile-3)
131 ("rust-wait-timeout" ,rust-wait-timeout-0.2))))
ee00b7c3
NG
132 (native-inputs
133 `(("pkg-config" ,pkg-config)))
4e811f56 134 (inputs
ee00b7c3
NG
135 `(("libgit2" ,libgit2)
136 ("zlib" ,zlib)))
4e811f56
NG
137 (home-page "https://github.com/sharkdp/bat")
138 (synopsis "@command{cat} clone with syntax highlighting and git integration")
139 (description
140 "@command{bat} is a drop-in @command{cat} replacement featuring syntax
141highlighting for a large number of languages, git integration, and automatic
142paging.")
143 (license (list license:expat license:asl2.0))))
144
fb51912d
SH
145(define-public drill
146 (package
147 (name "drill")
148 (version "0.7.1")
149 (source
150 (origin
151 (method url-fetch)
152 (uri (crate-uri "drill" version))
153 (file-name (string-append name "-" version ".tar.gz"))
154 (sha256
155 (base32 "1m73d7rzi0p5c1hn0081d2235kcyapdza7h0vqf5jhnirpnjn793"))))
156 (build-system cargo-build-system)
157 (arguments
158 `(#:cargo-inputs
159 (("rust-async-trait" ,rust-async-trait-0.1)
160 ("rust-clap" ,rust-clap-2)
161 ("rust-colored" ,rust-colored-1)
162 ("rust-csv" ,rust-csv-1)
163 ("rust-futures" ,rust-futures-0.3)
164 ("rust-lazy-static" ,rust-lazy-static-1)
165 ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
166 ("rust-num-cpus" ,rust-num-cpus-1)
167 ("rust-rand" ,rust-rand-0.7)
168 ("rust-regex" ,rust-regex-1)
169 ("rust-reqwest" ,rust-reqwest-0.10)
170 ("rust-serde" ,rust-serde-1)
171 ("rust-serde-json" ,rust-serde-json-1)
172 ("rust-tokio" ,rust-tokio-0.2)
173 ("rust-url" ,rust-url-2)
174 ("rust-yaml-rust" ,rust-yaml-rust-0.4))))
175 (native-inputs
176 `(("pkg-config" ,pkg-config)))
177 (inputs
178 `(("openssl" ,openssl)))
179 (home-page "https://github.com/fcsonline/drill")
180 (synopsis "HTTP load testing application")
181 (description
182 "Drill is a HTTP load testing application written in Rust inspired by
183Ansible syntax. Benchmark files can be written in YAML.")
184 (license license:gpl3)))
185
d42cbbba
JS
186(define-public exa
187 (package
188 (name "exa")
189 (version "0.9.0")
190 (source
191 (origin
192 (method url-fetch)
193 (uri (crate-uri "exa" version))
194 (file-name
195 (string-append name "-" version ".tar.gz"))
196 (sha256
197 (base32
198 "1s902xgplz1167k0r7x235p914lprpsqy2if0kpa1mlb0fswqqq4"))))
199 (build-system cargo-build-system)
200 (arguments
201 `(#:cargo-inputs
202 (("rust-ansi-term" ,rust-ansi-term-0.12)
203 ("rust-datetime" ,rust-datetime-0.4)
204 ("rust-env-logger" ,rust-env-logger-0.6)
205 ("rust-git2" ,rust-git2-0.9)
206 ("rust-glob" ,rust-glob-0.3)
21c8ec75 207 ("rust-lazy-static" ,rust-lazy-static-1)
d42cbbba
JS
208 ("rust-libc" ,rust-libc-0.2)
209 ("rust-locale" ,rust-locale-0.2)
210 ("rust-log" ,rust-log-0.4)
405bd79a 211 ("rust-natord" ,rust-natord-1)
c5e879cd 212 ("rust-num-cpus" ,rust-num-cpus-1)
d42cbbba
JS
213 ("rust-number-prefix" ,rust-number-prefix-0.3)
214 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
215 ("rust-term-grid" ,rust-term-grid-0.1)
216 ("rust-term-size" ,rust-term-size-0.3)
217 ("rust-unicode-width" ,rust-unicode-width-0.1)
218 ("rust-users" ,rust-users-0.9)
219 ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.4))
220 #:cargo-development-inputs
221 (("rust-datetime" ,rust-datetime-0.4))
79caf46a 222 #:phases
d42cbbba 223 (modify-phases %standard-phases
d42cbbba
JS
224 ;; Ignoring failing tests.
225 ;; Reported in https://github.com/ogham/exa/issues/318
226 (add-before 'check 'disable-failing-tests
227 (lambda _
228 (substitute* "src/options/mod.rs"
229 (("^.*fn oneline_across.*" oneline-across)
230 (string-append "#[ignore]\n" oneline-across)))
231
232 (substitute* "src/options/view.rs"
233 (("test!\\(across:.*") "")
e827f404 234 (("test!\\(cr:.*") "")
d42cbbba
JS
235 (("test!\\(empty:.*") "")
236 (("test!\\(gracross:.*") "")
237 (("test!\\(grid:.*") "")
238 (("test!\\(icons:.*") "")
239 (("test!\\(just_binary:.*") "")
240 (("test!\\(just_blocks:.*") "")
241 (("test!\\(just_bytes:.*") "")
242 (("test!\\(just_git:.*") "")
243 (("test!\\(just_group:.*") "")
244 (("test!\\(just_header:.*") "")
245 (("test!\\(just_inode:.*") "")
246 (("test!\\(just_links:.*") "")
247 (("test!\\(leg:.*") "")
248 (("test!\\(lid:.*") "")
249 (("test!\\(original_g:.*") ""))
b76473ec
EF
250 #t))
251 (add-after 'install 'install-extras
252 (lambda* (#:key outputs #:allow-other-keys)
253 (let* ((out (assoc-ref outputs "out"))
254 (share (string-append out "/share"))
255 (man1 (string-append share "/man/man1")))
256 (install-file "contrib/man/exa.1" man1)
257 (mkdir-p (string-append out "/etc/bash_completion.d"))
258 (mkdir-p (string-append share "/fish/vendor_completions.d"))
259 (mkdir-p (string-append share "/zsh/site-functions"))
260 (copy-file "contrib/completions.bash"
261 (string-append out "/etc/bash_completion.d/exa"))
262 (copy-file "contrib/completions.fish"
263 (string-append share "/fish/vendor_completions.d/exa.fish"))
264 (copy-file "contrib/completions.zsh"
265 (string-append share "/zsh/site-functions/_exa"))
266 #t))))))
d42cbbba
JS
267 (inputs
268 `(("libgit2" ,libgit2)
269 ("zlib" ,zlib)))
270 (native-inputs
271 `(("pkg-config" ,pkg-config)))
272 (home-page "https://the.exa.website/")
273 (synopsis "Modern replacement for ls")
274 (description "@code{exa} is a modern replacement for the command-line
275program @code{ls}. It uses colours to distinguish file types and metadata. It
276also knows about symlinks, extended attributes, and Git.")
277 (license license:expat)))
278
0f7720d1
JS
279(define-public fd
280 (package
281 (name "fd")
bf2ab0a0 282 (version "8.1.1")
0f7720d1
JS
283 (source
284 (origin
285 (method url-fetch)
286 (uri (crate-uri "fd-find" version))
287 (file-name
288 (string-append name "-" version ".tar.gz"))
289 (sha256
290 (base32
bf2ab0a0 291 "124a5r8hpk2phs1288jybh34d48yxy44wr7gv5ggchs272gs2jam"))))
0f7720d1
JS
292 (build-system cargo-build-system)
293 (arguments
294 `(#:cargo-inputs
295 (("rust-ansi-term" ,rust-ansi-term-0.12)
d76f073a 296 ("rust-anyhow" ,rust-anyhow-1)
0f7720d1
JS
297 ("rust-atty" ,rust-atty-0.2)
298 ("rust-clap" ,rust-clap-2)
ec0d943c 299 ("rust-ctrlc" ,rust-ctrlc-3)
880e6334 300 ("rust-dirs" ,rust-dirs-2)
0f7720d1 301 ("rust-globset" ,rust-globset-0.4)
bf2ab0a0 302 ("rust-humantime" ,rust-humantime-2)
0f7720d1
JS
303 ("rust-ignore" ,rust-ignore-0.4)
304 ("rust-jemallocator" ,rust-jemallocator-0.3)
21c8ec75 305 ("rust-lazy-static" ,rust-lazy-static-1)
0f7720d1 306 ("rust-libc" ,rust-libc-0.2)
bf2ab0a0 307 ("rust-lscolors" ,rust-lscolors-0.7)
c5e879cd 308 ("rust-num-cpus" ,rust-num-cpus-1)
6cd7b355 309 ("rust-regex" ,rust-regex-1)
0f7720d1 310 ("rust-regex-syntax" ,rust-regex-syntax-0.6)
bf2ab0a0 311 ("rust-users" ,rust-users-0.10)
0f7720d1
JS
312 ("rust-version-check" ,rust-version-check-0.9))
313 #:cargo-development-inputs
314 (("rust-diff" ,rust-diff-0.1)
315 ("rust-filetime" ,rust-filetime-0.2)
316 ("rust-tempdir" ,rust-tempdir-0.3))
317 #:phases
318 (modify-phases %standard-phases
319 (add-after 'unpack 'override-jemalloc
320 (lambda* (#:key inputs #:allow-other-keys)
321 (let ((jemalloc (assoc-ref inputs "jemalloc")))
322 (setenv "JEMALLOC_OVERRIDE"
323 (string-append jemalloc "/lib/libjemalloc.so")))
324 #t))
325 (add-after 'install 'install-extra
326 (lambda* (#:key outputs #:allow-other-keys)
327 (let* ((out (assoc-ref outputs "out"))
328 (install-completion
329 (lambda (completion out-dir)
330 (for-each
331 (lambda (f)
332 (install-file f (string-append out out-dir)))
333 (find-files "target/release/build/" completion)))))
334 ;; Manpages
335 (install-file "doc/fd.1" (string-append out "/share/man/man1"))
336 ;; Completions
9eed0a74 337 (install-completion "^fd.bash$" "/etc/bash_completion.d")
0f7720d1
JS
338 (install-completion "^fd.fish$" "/share/fish/vendor_completions.d")
339 (install-completion "^_fd$" "/share/zsh/site-functions")
9eed0a74
MR
340 (rename-file (string-append out "/etc/bash_completion.d/fd.bash")
341 (string-append out "/etc/bash_completion.d/fd"))
0f7720d1
JS
342 #t))))))
343 (inputs `(("jemalloc" ,jemalloc)))
344 (home-page "https://github.com/sharkdp/fd")
345 (synopsis "Simple, fast and user-friendly alternative to find")
346 (description
347 "@code{fd} is a simple, fast and user-friendly alternative to @code{find}.
348While it does not seek to mirror all of find's powerful functionality, it
349provides defaults for 80% of the use cases.")
350 (license (list license:expat license:asl2.0))))
351
0a2e80c3
GA
352(define-public hexyl
353 (package
354 (name "hexyl")
355 (version "0.8.0")
356 (source
357 (origin
358 (method url-fetch)
359 (uri (crate-uri "hexyl" version))
360 (file-name
361 (string-append name "-" version ".tar.gz"))
362 (sha256
363 (base32
364 "0sipag77196467idbznbk5q5lwhqz85zw7y1pwg9b27jxqyk04rp"))))
365 (build-system cargo-build-system)
366 (arguments
367 `(#:cargo-inputs
368 (("rust-ansi-term" ,rust-ansi-term-0.12)
369 ("rust-atty" ,rust-atty-0.2)
370 ("rust-clap" ,rust-clap-2)
371 ("rust-libc" ,rust-libc-0.2))))
372 (home-page "https://github.com/sharkdp/hexyl")
373 (synopsis "Command-line hex viewer")
374 (description
375 "This package provides a command line hex viewer. It uses a colored output
376for distinguishing different kinds of bytes such as NULL bytes, printable ASCII
377characters, ASCII whitespace characters, other ASCII characters and non-ASCII.")
378 (license (list license:expat license:asl2.0))))
379
9e225670
JS
380(define-public ripgrep
381 (package
382 (name "ripgrep")
992987bf 383 (version "13.0.0")
9e225670
JS
384 (source
385 (origin
386 (method url-fetch)
387 (uri (crate-uri "ripgrep" version))
388 (file-name
389 (string-append name "-" version ".tar.gz"))
390 (sha256
391 (base32
992987bf 392 "1gv4imhjgxmyxaa996yshcjlakmrjw9pf4rycp90pq675cn9sz7k"))))
9e225670
JS
393 (build-system cargo-build-system)
394 (arguments
13e011d8 395 `(#:cargo-inputs
16ffc3b6 396 (("rust-bstr" ,rust-bstr-0.2)
9e225670
JS
397 ("rust-clap" ,rust-clap-2)
398 ("rust-grep" ,rust-grep-0.2)
399 ("rust-ignore" ,rust-ignore-0.4)
16ffc3b6 400 ("rust-jemallocator" ,rust-jemallocator-0.3)
21c8ec75 401 ("rust-lazy-static" ,rust-lazy-static-1)
9e225670 402 ("rust-log" ,rust-log-0.4)
c5e879cd 403 ("rust-num-cpus" ,rust-num-cpus-1)
6cd7b355 404 ("rust-regex" ,rust-regex-1)
40908e02 405 ("rust-serde-json" ,rust-serde-json-1)
c5e879cd 406 ("rust-termcolor" ,rust-termcolor-1))
9e225670 407 #:cargo-development-inputs
271161db 408 (("rust-serde" ,rust-serde-1)
992987bf
NG
409 ("rust-serde-derive" ,rust-serde-derive-1)
410 ("rust-walkdir" ,rust-walkdir-2))
6e18b41e
JK
411 #:modules ((ice-9 match)
412 (guix build cargo-build-system)
413 (guix build utils))
414 #:phases
415 (modify-phases %standard-phases
416 (add-after 'build 'install-manpage
417 ;; NOTE: This is done before 'check so that there's only one output
418 ;; directory with the man page.
419 (lambda* (#:key outputs #:allow-other-keys)
420 (match (find-files "target" "^rg\\.1$")
421 ((manpage)
422 (install-file manpage (string-append
992987bf
NG
423 (assoc-ref outputs "out")
424 "/share/man/man1"))))
927c2518
JK
425 #t)))
426 #:features '("pcre2")))
6e18b41e 427 (native-inputs
d883e791
JK
428 `(("asciidoc" ,asciidoc)
429 ("pcre2" ,pcre2)
430 ("pkg-config" ,pkg-config)))
9e225670
JS
431 (home-page "https://github.com/BurntSushi/ripgrep")
432 (synopsis "Line-oriented search tool")
433 (description
434 "ripgrep is a line-oriented search tool that recursively searches
435your current directory for a regex pattern while respecting your
436gitignore rules.")
437 (license (list license:unlicense license:expat))))
c5c48761
EF
438
439(define-public rust-cbindgen
440 (package
441 (name "rust-cbindgen")
3a963cdd 442 (version "0.13.2")
c5c48761
EF
443 (source
444 (origin
445 (method url-fetch)
446 (uri (crate-uri "cbindgen" version))
447 (file-name (string-append name "-" version ".crate"))
448 (sha256
449 (base32
3a963cdd 450 "0673pq96hs7waavkv58v2pakpxpsfyjvbraa5kyl2b44phgdzcid"))))
c5c48761
EF
451 (build-system cargo-build-system)
452 (arguments
453 `(#:cargo-inputs
454 (("clap" ,rust-clap-2)
455 ("log" ,rust-log-0.4)
0a568bbc 456 ("proc-macro2" ,rust-proc-macro2-1)
d0faf9c2 457 ("quote" ,rust-quote-1)
271161db 458 ("serde" ,rust-serde-1)
40908e02 459 ("serde-json" ,rust-serde-json-1)
12c6b558 460 ("syn" ,rust-syn-1)
7c6948c7 461 ("tempfile" ,rust-tempfile-3)
ef3827da 462 ("toml" ,rust-toml-0.5))))
c5c48761
EF
463 (home-page "https://github.com/eqrion/cbindgen/")
464 (synopsis "Tool for generating C bindings to Rust code")
465 (description
466 "This package provides a tool for generating C/C++ bindings to Rust code.")
467 (license license:mpl2.0)))
e29315b2 468
776a21a0 469(define-public rust-cbindgen-0.19
72926ce5 470 (package
471 (inherit rust-cbindgen)
472 (name "rust-cbindgen")
776a21a0 473 (version "0.19.0")
72926ce5 474 (source
475 (origin
476 (method url-fetch)
477 (uri (crate-uri "cbindgen" version))
478 (file-name
479 (string-append name "-" version ".tar.gz"))
480 (sha256
481 (base32
776a21a0 482 "1yld9fni9g9mzg4r42zfk79aq9mzm2sfzzjrrx4vir4lp4qqqwiq"))))
72926ce5 483 (arguments
484 `(#:cargo-inputs
485 (("rust-clap" ,rust-clap-2)
486 ("rust-heck" ,rust-heck-0.3)
487 ("rust-indexmap" ,rust-indexmap-1)
488 ("rust-log" ,rust-log-0.4)
489 ("rust-proc-macro2" ,rust-proc-macro2-1)
490 ("rust-quote" ,rust-quote-1)
491 ("rust-serde" ,rust-serde-1)
492 ("rust-serde-json" ,rust-serde-json-1)
493 ("rust-syn" ,rust-syn-1)
494 ("rust-tempfile" ,rust-tempfile-3)
495 ("rust-toml" ,rust-toml-0.5))
496 #:cargo-development-inputs
497 (("rust-serial-test" ,rust-serial-test-0.5))))
498 (native-inputs
499 `(("python-cython" ,python-cython)))))
500
700ee27f
NG
501(define-public rust-cbindgen-0.16
502 (package
503 (inherit rust-cbindgen)
504 (name "rust-cbindgen")
505 (version "0.16.0")
506 (source
507 (origin
508 (method url-fetch)
509 (uri (crate-uri "cbindgen" version))
510 (file-name (string-append name "-" version ".tar.gz"))
511 (sha256
512 (base32 "049cai626nzw0km03parx4sxwaxgbr7i5ifjbjwnfxkqkj5k2i4k"))))
513 (arguments
514 `(#:tests? #false ;missing files
515 #:cargo-inputs
516 (("rust-clap" ,rust-clap-2)
517 ("rust-heck" ,rust-heck-0.3)
518 ("rust-indexmap" ,rust-indexmap-1)
519 ("rust-log" ,rust-log-0.4)
520 ("rust-proc-macro2" ,rust-proc-macro2-1)
521 ("rust-quote" ,rust-quote-1)
522 ("rust-serde" ,rust-serde-1)
523 ("rust-serde-json" ,rust-serde-json-1)
524 ("rust-syn" ,rust-syn-1)
525 ("rust-tempfile" ,rust-tempfile-3)
526 ("rust-toml" ,rust-toml-0.5))
527 #:cargo-development-inputs
528 (("rust-serial-test" ,rust-serial-test-0.5))))))
529
319e4879
NG
530(define-public rust-cbindgen-0.15
531 (package
532 (inherit rust-cbindgen)
533 (name "rust-cbindgen")
534 (version "0.15.0")
535 (source
536 (origin
537 (method url-fetch)
538 (uri (crate-uri "cbindgen" version))
539 (file-name (string-append name "-" version ".tar.gz"))
540 (sha256
541 (base32 "0dgf49zij9rxnf0lv4k5gcmx1mxcz16czkk6q63anz0xp8ds3xhx"))))
542 (arguments
543 `(#:tests? #false ;missing files
544 #:cargo-inputs
545 (("rust-clap" ,rust-clap-2)
546 ("rust-heck" ,rust-heck-0.3)
547 ("rust-indexmap" ,rust-indexmap-1)
548 ("rust-log" ,rust-log-0.4)
549 ("rust-proc-macro2" ,rust-proc-macro2-1)
550 ("rust-quote" ,rust-quote-1)
551 ("rust-serde" ,rust-serde-1)
552 ("rust-serde-json" ,rust-serde-json-1)
553 ("rust-syn" ,rust-syn-1)
554 ("rust-tempfile" ,rust-tempfile-3)
555 ("rust-toml" ,rust-toml-0.5))))))
556
cc2849bc
MW
557(define-public rust-cbindgen-0.14
558 (package
559 (inherit rust-cbindgen)
560 (name "rust-cbindgen")
561 (version "0.14.1")
562 (source
563 (origin
564 (method url-fetch)
565 (uri (crate-uri "cbindgen" version))
566 (file-name
567 (string-append name "-" version ".tar.gz"))
568 (sha256
569 (base32
570 "1ppwqbzydxlg9a24lynzfk60xrvqw4k31mpz1wrk6lbf88zf8nxi"))))))
571
ca4b5588
LF
572(define-public rust-cbindgen-0.12
573 (package
574 (inherit rust-cbindgen)
575 (name "rust-cbindgen")
576 (version "0.12.2")
577 (source
578 (origin
579 (method url-fetch)
580 (uri (crate-uri "cbindgen" version))
581 (file-name
582 (string-append name "-" version ".tar.gz"))
583 (sha256
584 (base32
585 "13jzbmjz1bmmfr0i80hw6ar484mgabx3hbpb2ynhk0ddqi0yr58m"))))))
586
baa47f0b
NG
587(define-public tectonic
588 (package
589 (name "tectonic")
555b9086 590 (version "0.7.1")
baa47f0b
NG
591 (source
592 (origin
593 (method url-fetch)
594 (uri (crate-uri "tectonic" version))
595 (file-name (string-append name "-" version ".tar.gz"))
596 (sha256
555b9086 597 (base32 "0rjkfmbam81anpdqs2qafcmd5bf7y898c8a7iqqqwkbl1hfw4sqs"))))
baa47f0b
NG
598 (build-system cargo-build-system)
599 (arguments
b7f1f9c6 600 `(#:rust ,rust-1.52
2c54668d 601 #:cargo-build-flags '("--release" "--features" "external-harfbuzz")
b7f1f9c6 602 #:cargo-inputs
dc5f1d9d 603 (("rust-atty" ,rust-atty-0.2)
baa47f0b 604 ("rust-byte-unit" ,rust-byte-unit-4)
baa47f0b
NG
605 ("rust-cfg-if" ,rust-cfg-if-1)
606 ("rust-error-chain" ,rust-error-chain-0.12)
607 ("rust-flate2" ,rust-flate2-1)
608 ("rust-fs2" ,rust-fs2-0.4)
baa47f0b
NG
609 ("rust-lazy-static" ,rust-lazy-static-1)
610 ("rust-libc" ,rust-libc-0.2)
611 ("rust-md-5" ,rust-md-5-0.9)
b7f1f9c6 612 ("rust-open" ,rust-open-1)
555b9086 613 ("rust-quick-xml" ,rust-quick-xml-0.22)
baa47f0b
NG
614 ("rust-serde" ,rust-serde-1)
615 ("rust-sha2" ,rust-sha2-0.9)
616 ("rust-structopt" ,rust-structopt-0.3)
dc5f1d9d
NG
617 ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.2)
618 ("rust-tectonic-bundles" ,rust-tectonic-bundles-0.1)
619 ("rust-tectonic-docmodel" ,rust-tectonic-docmodel-0.1)
b7f1f9c6
NG
620 ("rust-tectonic-engine-bibtex" ,rust-tectonic-engine-bibtex-0.1)
621 ("rust-tectonic-engine-xdvipdfmx" ,rust-tectonic-engine-xdvipdfmx-0.1)
622 ("rust-tectonic-engine-xetex" ,rust-tectonic-engine-xetex-0.1)
623 ("rust-tectonic-errors" ,rust-tectonic-errors-0.2)
624 ("rust-tectonic-geturl" ,rust-tectonic-geturl-0.2)
dc5f1d9d
NG
625 ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.3)
626 ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2)
baa47f0b 627 ("rust-tectonic-xdv" ,rust-tectonic-xdv-0.1)
b7f1f9c6 628 ("rust-tectonic-xetex-layout" ,rust-tectonic-xetex-layout-0.1)
baa47f0b
NG
629 ("rust-tempfile" ,rust-tempfile-3)
630 ("rust-termcolor" ,rust-termcolor-1)
631 ("rust-toml" ,rust-toml-0.5)
b7f1f9c6
NG
632 ("rust-url" ,rust-url-2)
633 ("rust-watchexec" ,rust-watchexec-1)
baa47f0b
NG
634 ("rust-zip" ,rust-zip-0.5))
635 #:cargo-development-inputs
636 (("rust-filetime" ,rust-filetime-0.2)
637 ("rust-futures" ,rust-futures-0.1)
638 ("rust-headers" ,rust-headers-0.2)
639 ("rust-hyper" ,rust-hyper-0.12)
640 ("rust-tempfile" ,rust-tempfile-3)
641 ("rust-tokio" ,rust-tokio-0.1))
642 #:phases
643 (modify-phases %standard-phases
644 (add-after 'install 'install-doc
645 (lambda* (#:key outputs #:allow-other-keys)
646 (let* ((out (assoc-ref outputs "out"))
647 (doc (string-append out "/share/doc/" ,name "-" ,version)))
b7f1f9c6 648 (copy-recursively "docs/src" doc)))))))
baa47f0b
NG
649 (native-inputs
650 `(("pkg-config" ,pkg-config)))
651 (inputs
652 `(("fontconfig" ,fontconfig)
653 ("harfbuzz" ,harfbuzz)
654 ("openssl" ,openssl)
655 ("zlib" ,zlib)))
656 (home-page "https://tectonic-typesetting.github.io/")
657 (synopsis "Complete, embeddable TeX/LaTeX engine")
658 (description
659 "This package provides a modernized, complete, embeddable
660TeX/LaTeX engine. Tectonic is forked from the XeTeX extension to the
661classic Web2C implementation of TeX and uses the TeXLive distribution
662of support files.")
663 (license license:expat)))
664
e29315b2
JS
665(define-public tokei
666 (package
667 (name "tokei")
d94f7530 668 (version "12.1.2")
e29315b2 669 (source
d94f7530
NG
670 (origin
671 (method url-fetch)
672 (uri (crate-uri "tokei" version))
673 (file-name (string-append name "-" version ".tar.gz"))
674 (sha256
675 (base32 "000w549v1bpw7r57xw656p40ywf1gimvxxx5cjnri2js0xg927x4"))))
e29315b2
JS
676 (build-system cargo-build-system)
677 (arguments
678 `(#:cargo-inputs
d94f7530
NG
679 (("rust-aho-corasick" ,rust-aho-corasick-0.7)
680 ("rust-clap" ,rust-clap-2)
681 ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
682 ("rust-dashmap" ,rust-dashmap-4)
683 ("rust-dirs" ,rust-dirs-3)
e29315b2 684 ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1)
d94f7530 685 ("rust-env-logger" ,rust-env-logger-0.8)
e29315b2
JS
686 ("rust-grep-searcher" ,rust-grep-searcher-0.1)
687 ("rust-hex" ,rust-hex-0.4)
688 ("rust-ignore" ,rust-ignore-0.4)
689 ("rust-log" ,rust-log-0.4)
d94f7530
NG
690 ("rust-num-format" ,rust-num-format-0.4)
691 ("rust-once-cell" ,rust-once-cell-1)
692 ("rust-parking-lot" ,rust-parking-lot-0.11)
a5630553 693 ("rust-rayon" ,rust-rayon-1)
d94f7530 694 ("rust-regex" ,rust-regex-1)
271161db 695 ("rust-serde" ,rust-serde-1)
d94f7530
NG
696 ("rust-serde-cbor" ,rust-serde-cbor-0.11)
697 ("rust-serde-json" ,rust-serde-json-1)
e29315b2 698 ("rust-serde-yaml" ,rust-serde-yaml-0.8)
d94f7530 699 ("rust-tera" ,rust-tera-1)
e29315b2 700 ("rust-term-size" ,rust-term-size-0.3)
c40e3d0b 701 ("rust-toml" ,rust-toml-0.5))
e29315b2 702 #:cargo-development-inputs
d94f7530 703 (("rust-git2" ,rust-git2-0.13)
6cd7b355 704 ("rust-regex" ,rust-regex-1)
3dbf3a7f 705 ("rust-tempfile" ,rust-tempfile-3))))
c40e3d0b 706 (native-inputs
3dbf3a7f
EF
707 `(("pkg-config" ,pkg-config)))
708 (inputs
c40e3d0b
EF
709 `(("libgit2" ,libgit2)
710 ("openssl" ,openssl)
c40e3d0b 711 ("zlib" ,zlib)))
e29315b2
JS
712 (home-page "https://tokei.rs")
713 (synopsis "Count code, quickly")
714 (description
715 "Tokei is a program that displays statistics about your code. Tokei will
716show number of files, total lines within those files and code, comments, and
717blanks grouped by language.")
718 (license (list license:expat license:asl2.0))))
ca4b5588 719
b958e4be
JK
720(define-public watchexec
721 (package
722 (name "watchexec")
1a22a11d 723 (version "1.16.1")
b958e4be
JK
724 (source
725 (origin
726 (method url-fetch)
1a22a11d
NG
727 (uri (crate-uri "watchexec-cli" version))
728 (file-name (string-append name "-" version ".tar.gz"))
b958e4be 729 (sha256
1a22a11d 730 (base32 "1wp424gzw1zmax5yy5gya15knl24rjx8gi9c7palvq807q3cnj65"))))
b958e4be
JK
731 (build-system cargo-build-system)
732 (arguments
733 `(#:phases
734 (modify-phases %standard-phases
735 (add-after 'install 'install-completions
736 (lambda* (#:key outputs #:allow-other-keys)
737 (let* ((out (assoc-ref outputs "out"))
738 (zsh (string-append out "/share/zsh/site-functions/_watchexec"))
739 (doc (string-append out "/share/doc/watchexec-" ,version)))
740 (mkdir-p (dirname zsh))
1a22a11d
NG
741 ;; FIXME: The crates.io source does not provide zsh
742 ;; completions. But the GitHub source does not compile.
743 ;;
744 ;; (copy-file "completions/zsh" zsh)
745 (install-file "README.md" doc)))))
b958e4be 746 #:cargo-inputs
1a22a11d
NG
747 (("rust-clap" ,rust-clap-2)
748 ("rust-embed-resource" ,rust-embed-resource-1)
749 ("rust-env-logger" ,rust-env-logger-0.8)
b958e4be 750 ("rust-log" ,rust-log-0.4)
1a22a11d
NG
751 ("rust-watchexec" ,rust-watchexec-1))
752 #:cargo-development-inputs
753 (("rust-assert-cmd" ,rust-assert-cmd-1)
754 ("rust-insta" ,rust-insta-1))))
b958e4be
JK
755 (home-page "https://github.com/watchexec/watchexec")
756 (synopsis "Executes commands in response to file modifications")
757 (description
1a22a11d
NG
758 "@command{watchexec} is a simple, standalone tool that watches a path and
759runs a command whenever it detects modifications.")
b958e4be
JK
760 (license license:asl2.0)))
761
7b739959
Z
762(define-public rust-analyzer
763 (package
764 (name "rust-analyzer")
765 (version "2021-06-07")
766 (source
767 (origin
768 ;; The crate at "crates.io" is empty.
769 (method git-fetch)
770 (uri (git-reference
771 (url "https://github.com/rust-analyzer/rust-analyzer")
772 (commit version)))
773 (file-name (git-file-name name version))
774 (sha256
775 (base32
776 "06bc3s5kjwpyr2cq79p0306a9bqp3xp928d750ybby9npq2dvj3z"))))
777 (build-system cargo-build-system)
778 (arguments
779 `(#:rust ,rust-1.52
780 #:install-source? #f ; virtual manifest
781 #:cargo-test-flags
782 '("--release" "--"
783 "--skip=tests::test_version_check" ;; It need rustc's version
784 ;; FIXME: Guix's rust not install source in %out/lib/rustlib/src/rust
785 ;; so "can't load standard library from sysroot"
786 "--skip=tests::test_loading_rust_analyzer"
787 "--skip=tidy::cargo_files_are_tidy" ;; Not need
788 "--skip=tidy::check_licenses" ;; It run cargo metadata.
789 "--skip=tidy::check_merge_commits" ;; It run git rev-list.
790 "--skip=tidy::check_code_formatting" ;; Need rustfmt as cargo fmt
791 "--skip=tidy::generate_grammar" ;; Same
792 "--skip=tidy::generate_assists_tests") ;; Same
793 #:cargo-inputs
794 (("rust-always-assert" ,rust-always-assert-0.1)
795 ("rust-anyhow" ,rust-anyhow-1)
796 ("rust-anymap" ,rust-anymap-0.12)
797 ("rust-arrayvec" ,rust-arrayvec-0.7)
798 ("rust-backtrace" ,rust-backtrace-0.3)
799 ("rust-cargo-metadata" ,rust-cargo-metadata-0.13)
800 ("rust-cfg-if" ,rust-cfg-if-1)
801 ("rust-chalk-ir" ,rust-chalk-ir-0.68)
802 ("rust-chalk-recursive" ,rust-chalk-recursive-0.68)
803 ("rust-chalk-solve" ,rust-chalk-solve-0.68)
804 ("rust-countme" ,rust-countme-2)
805 ("rust-cov-mark" ,rust-cov-mark-1)
806 ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
807 ("rust-dashmap" ,rust-dashmap-4)
808 ("rust-dissimilar" ,rust-dissimilar-1)
809 ("rust-dot" ,rust-dot-0.1)
810 ("rust-drop-bomb" ,rust-drop-bomb-0.1)
811 ("rust-either" ,rust-either-1)
812 ("rust-ena" ,rust-ena-0.14)
813 ("rust-env-logger" ,rust-env-logger-0.8)
814 ("rust-expect-test" ,rust-expect-test-1)
815 ("rust-flate2" ,rust-flate2-1)
816 ("rust-fst" ,rust-fst-0.4)
817 ("rust-home" ,rust-home-0.5)
818 ("rust-indexmap" ,rust-indexmap-1)
819 ("rust-itertools" ,rust-itertools-0.10)
820 ("rust-jod-thread" ,rust-jod-thread-0.1)
821 ("rust-libc" ,rust-libc-0.2)
822 ("rust-libloading" ,rust-libloading-0.7)
823 ("rust-log" ,rust-log-0.4)
824 ("rust-lsp-server" ,rust-lsp-server-0.5)
825 ("rust-lsp-types" ,rust-lsp-types-0.89)
826 ("rust-memmap2" ,rust-memmap2-0.2)
827 ("rust-mimalloc" ,rust-mimalloc-0.1)
828 ("rust-miow" ,rust-miow-0.3)
829 ("rust-notify" ,rust-notify-5)
830 ("rust-object" ,rust-object-0.24)
831 ("rust-once-cell" ,rust-once-cell-1)
832 ("rust-oorandom" ,rust-oorandom-11.1)
833 ("rust-parking-lot" ,rust-parking-lot-0.11)
834 ("rust-perf-event" ,rust-perf-event-0.4)
835 ("rust-proc-macro2" ,rust-proc-macro2-1)
836 ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)
837 ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-6)
838 ("rust-quote" ,rust-quote-1)
839 ("rust-rayon" ,rust-rayon-1)
840 ("rust-rowan" ,rust-rowan-0.13)
841 ("rust-rustc-ap-rustc-lexer" ,rust-rustc-ap-rustc-lexer-721)
842 ("rust-rustc-hash" ,rust-rustc-hash-1)
843 ("rust-salsa" ,rust-salsa-0.17)
844 ("rust-scoped-tls" ,rust-scoped-tls-1)
845 ("rust-serde" ,rust-serde-1)
846 ("rust-serde-json" ,rust-serde-json-1)
847 ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
848 ("rust-smallvec" ,rust-smallvec-1)
849 ("rust-smol-str" ,rust-smol-str-0.1)
850 ("rust-snap" ,rust-snap-1)
851 ("rust-text-size" ,rust-text-size-1)
852 ("rust-threadpool" ,rust-threadpool-1)
853 ("rust-tikv-jemalloc-ctl" ,rust-tikv-jemalloc-ctl-0.4)
854 ("rust-tikv-jemallocator" ,rust-tikv-jemallocator-0.4)
855 ("rust-tracing" ,rust-tracing-0.1)
856 ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)
857 ("rust-tracing-tree" ,rust-tracing-tree-0.1)
858 ("rust-ungrammar" ,rust-ungrammar-1)
859 ("rust-url" ,rust-url-2)
860 ("rust-walkdir" ,rust-walkdir-2)
861 ("rust-winapi" ,rust-winapi-0.3)
862 ("rust-write-json" ,rust-write-json-0.1)
863 ("rust-xflags" ,rust-xflags-0.2)
864 ("rust-xshell" ,rust-xshell-0.1))
865 #:phases
866 (modify-phases %standard-phases
867 (add-after 'unpack 'patch-build-failures
868 (lambda _
869 (chmod ".cargo/config" 420)
870 #t))
871 (add-before 'check 'fix-tests
872 (lambda* (#:key inputs #:allow-other-keys)
873 (let ((bash (string-append "#!" (which "bash"))))
874 (with-directory-excursion "crates/syntax/test_data/lexer/ok"
875 (substitute* "0010_single_line_comments.txt"
876 (("SHEBANG 19")
877 (string-append "SHEBANG "
878 (number->string (string-length bash))))
879 (("#!/usr/bin/env bash") bash))))))
880 (replace 'install
881 (lambda* (#:key outputs #:allow-other-keys)
882 (install-file "target/release/rust-analyzer"
883 (string-append (assoc-ref outputs "out")
884 "/bin")))))))
885 (home-page "https://rust-analyzer.github.io/")
886 (synopsis "Experimental Rust compiler front-end for IDEs")
887 (description "Rust-analyzer is a modular compiler frontend for the Rust
888language. It is a part of a larger rls-2.0 effort to create excellent IDE
889support for Rust.")
890 (license (list license:expat license:asl2.0))))
891
ca4b5588
LF
892(define-public rust-cargo-c
893 (package
894 (name "rust-cargo-c")
62b1c471 895 (version "0.8.1+cargo-0.53")
ca4b5588
LF
896 (source
897 (origin
898 (method url-fetch)
899 (uri (crate-uri "cargo-c" version))
900 (file-name
901 (string-append name "-" version ".tar.gz"))
902 (sha256
903 (base32
62b1c471 904 "0fwdxhdj2963xr6xfqr56i7hikhsdv562vgxq2dj3h2mi3dil1k6"))))
ca4b5588
LF
905 (build-system cargo-build-system)
906 (arguments
62b1c471
MC
907 `(#:rust ,rust-1.52 ;inherited from rust-cargo
908 #:cargo-inputs
909 (("rust-cbindgen" ,rust-cbindgen-0.19)
910 ("rust-cargo" ,rust-cargo-0.53) ;
911 ("rust-anyhow" ,rust-anyhow-1)
366a23f8 912 ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)
ca4b5588
LF
913 ("rust-structopt" ,rust-structopt-0.3)
914 ("rust-log" ,rust-log-0.4)
915 ("rust-toml" ,rust-toml-0.5)
916 ("rust-cargo-metadata" ,rust-cargo-metadata-0.9)
62b1c471 917 ("rust-semver" ,rust-semver-0.10)
271161db 918 ("rust-serde" ,rust-serde-1)
ef1f71e0 919 ("rust-serde-derive" ,rust-serde-derive-1)
62b1c471 920 ("rust-serde-json" ,rust-serde-json-1)
6cd7b355 921 ("rust-regex" ,rust-regex-1))))
62b1c471
MC
922 (native-inputs
923 `(("pkg-config" ,pkg-config)))
924 (inputs
925 `(("curl" ,curl)
926 ("libssh2" ,libssh2)
927 ("openssl" ,openssl)
928 ("zlib" ,zlib)))
ca4b5588
LF
929 (home-page "https://github.com/lu-zero/cargo-c")
930 (synopsis "Build and install C-compatible libraries")
931 (description
932 "This package produces and installs a correct pkg-config file, a static
933library and a dynamic library, and a C header to be used by any C (and
934C-compatible) software.")
935 (license license:expat)))
efff3fd8
Z
936
937(define-public zoxide
938 (package
939 (name "zoxide")
940 (version "0.6.0")
941 (source
942 (origin
943 (method url-fetch)
944 (uri (crate-uri "zoxide" version))
945 (file-name (string-append name "-" version ".tar.gz"))
946 (sha256
947 (base32 "1ih01l3xp8plicxhmyxjkq12ncpdb8954jcj3dh3lwvkhvw29nkk"))))
948 (build-system cargo-build-system)
949 (arguments
950 `(#:cargo-inputs
951 (("rust-anyhow" ,rust-anyhow-1)
952 ("rust-askama" ,rust-askama-0.10)
953 ("rust-bincode" ,rust-bincode-1)
954 ("rust-clap" ,rust-clap-3)
955 ("rust-dirs-next" ,rust-dirs-next-2)
956 ("rust-dunce" ,rust-dunce-1)
957 ("rust-glob" ,rust-glob-0.3)
958 ("rust-once-cell" ,rust-once-cell-1)
959 ("rust-ordered-float" ,rust-ordered-float-2)
960 ("rust-rand" ,rust-rand-0.7)
961 ("rust-serde" ,rust-serde-1)
962 ("rust-tempfile" ,rust-tempfile-3))
963 #:cargo-development-inputs
964 (("rust-assert-cmd" ,rust-assert-cmd-1)
965 ("rust-seq-macro" ,rust-seq-macro-0.2))))
966 (home-page "https://github.com/ajeetdsouza/zoxide/")
836f5fc4 967 (synopsis "Fast way to navigate your file system")
efff3fd8 968 (description
2aa622ca 969 "Zoxide is a fast replacement for your @command{cd} command. It keeps
efff3fd8
Z
970track of the directories you use most frequently, and uses a ranking algorithm
971to navigate to the best match.")
972 (license license:expat)))